/* ============================================
   woodblock.digital — Landing Page
   ============================================ */

:root {
    --bg:           #0b0b0d;
    --bg-raised:    #111114;
    --bg-card:      #161619;
    --bg-card-top:  #1c1c20;

    --border:       rgba(255,255,255,0.07);
    --border-light: rgba(255,255,255,0.04);
    --border-gold:  rgba(212,165,116,0.35);

    --text:         #efefed;
    --text-muted:   #888;
    --text-dim:     #444;

    --gold:         #d4a574;
    --gold-light:   #e8c9a0;
    --gold-dark:    #b8895d;
    --gold-glow:    rgba(212,165,116,0.12);
    --green:        #7a9e7e;
    --green-glow:   rgba(122,158,126,0.15);

    --font-sans:    'Inter', system-ui, sans-serif;
    --font-serif:   'Instrument Serif', Georgia, serif;

    --r:            10px;
    --r-sm:         7px;
    --r-lg:         16px;
}

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

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Ambient background ───────────────────────────────────── */
.bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 40% at 70% 0%, rgba(212,165,116,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 0% 80%, rgba(122,158,126,0.04) 0%, transparent 60%);
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(11,11,13,0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo-mark {
    color: var(--gold);
    font-size: 20px;
    line-height: 1;
}

.logo-dot { color: var(--text-dim); font-weight: 400; }

.nav-email {
    font-size: 13px;
    color: var(--text-muted);
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.2s;
}

.nav-email:hover {
    color: var(--gold);
    border-color: var(--border-gold);
    background: var(--gold-glow);
}

/* ── Layout ───────────────────────────────────────────────── */
.layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    padding: 48px 40px 64px;
    align-items: start;
    flex: 1;
}

/* ── Pitch (left) ─────────────────────────────────────────── */
.pitch {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--green);
    background: var(--green-glow);
    border: 1px solid rgba(122,158,126,0.2);
    padding: 5px 13px;
    border-radius: 100px;
    width: fit-content;
    letter-spacing: 0.01em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.8); }
}

h1 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
}

h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 460px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gold);
    width: fit-content;
    transition: all 0.2s;
    padding: 9px 18px;
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    background: var(--gold-glow);
}

.hero-cta svg { width: 13px; height: 13px; transition: transform 0.2s; }

.hero-cta:hover {
    background: rgba(212,165,116,0.18);
    gap: 11px;
}

.hero-cta:hover svg { transform: translateX(2px); }

/* Value bar */
.proof-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
}

.proof-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    flex: 1;
    justify-content: center;
    transition: background 0.2s;
}

.proof-stat:hover { background: rgba(255,255,255,0.02); }

.proof-stat + .proof-stat { border-left: 1px solid var(--border); }

.proof-svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
    flex-shrink: 0;
}

.proof-stat span {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.proof-divider { display: none; }

/* Section eyebrow */
.section-eyebrow {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: -24px;
}

/* Services */
.services {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    transition: all 0.2s;
    cursor: default;
}

.service:hover {
    background: var(--bg-raised);
    border-color: var(--border);
}

.service:hover .service-arrow { opacity: 1; transform: translateX(0); }

.service-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-glow);
    border: 1px solid rgba(212,165,116,0.12);
    border-radius: 9px;
    color: var(--gold);
}

.service-icon svg { width: 17px; height: 17px; }

.service-body { flex: 1; min-width: 0; }

.service h3 {
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text);
}

.service p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.45;
}

.service-arrow {
    font-size: 16px;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
    flex-shrink: 0;
}

/* Why us */
.why-us {
    display: flex;
    flex-direction: column;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.why-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    transition: border-color 0.25s, background 0.25s;
}

.why-item:hover {
    background: var(--bg-card);
    border-color: rgba(212,165,116,0.18);
}

.why-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-glow);
    border-radius: 7px;
    color: var(--gold);
    margin-top: 1px;
}

.why-icon svg { width: 13px; height: 13px; }

.why-item strong {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text);
    line-height: 1.3;
}

.why-item p {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── Form panel (right) ───────────────────────────────────── */
.form-panel {
    position: sticky;
    top: 76px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    /* Layered shadow for lifted feel */
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 0 0 1px rgba(255,255,255,0.02),
        0 8px 16px rgba(0,0,0,0.3),
        0 32px 64px rgba(0,0,0,0.4);
    /* Subtle top highlight */
    background: linear-gradient(160deg, var(--bg-card-top) 0%, var(--bg-card) 60%);
}

.form-header { margin-bottom: 20px; }

.form-header h2 {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 7px;
    color: var(--text);
}

.form-header p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* NativeForms embed — height is adjusted by main.js (form_dimension_change) */
.nativeforms-wrap {
    position: relative;
    width: 100%;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--bg-raised);
    overflow: hidden;
    min-height: 420px;
    transition: min-height 0.28s ease;
}

.nativeforms-iframe {
    display: block;
    width: 100%;
    height: 520px;
    border: 0;
    background: transparent;
    transition: height 0.28s ease;
}

.nativeforms-note {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-dim);
    margin-top: 12px;
    line-height: 1.45;
}

.nativeforms-fallback {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-dim);
    margin-top: 6px;
}

.nativeforms-fallback a {
    color: var(--gold);
    transition: color 0.2s;
}

.nativeforms-fallback a:hover { color: var(--gold-light); }

/* Reassurance strip below form */
.form-reassurance {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--r);
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-dim);
    flex: 1;
    justify-content: center;
}

.reassurance-item svg {
    width: 12px;
    height: 12px;
    color: var(--gold);
    flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-dim);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
}

.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--gold); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 920px) {
    .layout {
        grid-template-columns: 1fr;
        padding: 36px 28px 56px;
        gap: 44px;
    }

    .form-panel { position: static; }

    h1 { font-size: 28px; }

    .footer { padding: 14px 28px; }
    .nav { padding: 14px 28px; }
}

@media (max-width: 600px) {
    .nav { padding: 14px 20px; }
    .nav-email { display: none; }

    .layout { padding: 28px 20px 48px; gap: 36px; }

    .nativeforms-wrap { min-height: 380px; }
    .nativeforms-iframe { height: 460px; }

    .proof-bar { flex-direction: column; gap: 0; }
    .proof-stat { justify-content: flex-start; border-left: none !important; border-top: 1px solid var(--border); padding: 12px 16px; }
    .proof-stat:first-child { border-top: none; }

    .why-grid { grid-template-columns: 1fr; }

    .form-card { padding: 20px; }

    .form-reassurance { flex-direction: column; gap: 8px; }
    .reassurance-item { justify-content: flex-start; }

    .footer { flex-direction: column; gap: 6px; text-align: center; padding: 14px 20px; }
    .footer-logo { justify-content: center; }
}
