/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #FAF9F7;
    --bg-warm: #F4F1ED;
    --bg-dark: #1C1917;
    --text: #1C1917;
    --text-soft: #78716C;
    --accent: #A16548;
    --accent-light: #F7EDE8;
    --accent-hover: #8B5439;
    --white: #FFFFFF;
    --border: #E7E5E0;
    --gold: #C9A96E;
    --radius: 8px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --max-w: 1100px;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* === Nav === */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250,249,247,0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    font-weight: 700;
}
.logo em {
    font-style: normal;
    color: var(--accent);
}
.nav-links {
    display: flex;
    gap: 36px;
}
.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-soft);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
}

/* === Hero === */
.hero {
    padding: 100px 24px 80px;
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}
.hero-label {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 24px;
}
.hero-label::before,
.hero-label::after {
    content: '—';
    margin: 0 10px;
    color: var(--border);
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 3.8rem);
    line-height: 1.12;
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero h1 em {
    font-style: italic;
    color: var(--accent);
}
.hero-sub {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 520px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 32px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius);
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(161,101,72,0.25);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-dark {
    background: var(--bg-dark);
    color: var(--white);
}
.btn-dark:hover {
    background: #292524;
    transform: translateY(-1px);
}

/* === Divider === */
.divider {
    width: 48px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto;
    opacity: 0.5;
}

/* === Pillars / Features === */
.pillars { padding: 80px 0; }
.pillars-header {
    text-align: center;
    margin-bottom: 56px;
}
.pillars-header .label {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 12px;
}
.pillars-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pillar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}
.pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.pillar-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--accent);
    opacity: 0.35;
    margin-bottom: 16px;
    font-weight: 700;
}
.pillar h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.pillar p {
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.7;
}

/* === Band / CTA === */
.band {
    background: var(--bg-dark);
    color: var(--white);
    padding: 72px 24px;
    text-align: center;
}
.band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 14px;
    font-weight: 700;
}
.band p {
    color: rgba(255,255,255,0.6);
    max-width: 460px;
    margin: 0 auto 28px;
    font-size: 0.98rem;
}
.band .btn-primary {
    background: var(--accent);
}

/* === Page Header === */
.page-header {
    padding: 88px 24px 48px;
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}
.page-header .label {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 14px;
}
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 14px;
    font-weight: 700;
}
.page-header p {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 520px;
    margin: 0 auto;
}

/* === Content === */
.content {
    padding: 0 0 80px;
}
.content .container { max-width: 720px; }
.content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 12px;
    margin-top: 44px;
    font-weight: 700;
}
.content h2:first-child { margin-top: 0; }
.content p {
    font-size: 0.98rem;
    color: var(--text-soft);
    margin-bottom: 16px;
}

/* === Resource / Article Cards === */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
.article-card-img {
    height: 180px;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--accent);
    opacity: 0.6;
}
.article-card-body {
    padding: 28px 24px;
}
.article-card-body .tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 10px;
}
.article-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.35;
}
.article-card-body p {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.65;
}

/* === Contact === */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 40px;
}
.contact-left h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 14px;
    font-weight: 700;
}
.contact-left p {
    font-size: 0.95rem;
    color: var(--text-soft);
    margin-bottom: 28px;
}
.c-item {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}
.c-item .ic {
    font-size: 1.3rem;
    margin-top: 1px;
}
.c-item .lbl {
    font-weight: 600;
    font-size: 0.86rem;
    margin-bottom: 2px;
}
.c-item .val {
    font-size: 0.92rem;
    color: var(--text-soft);
}
.contact-right label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 18px;
}
.contact-right label:first-child { margin-top: 0; }
.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--white);
    transition: border-color 0.2s;
}
.contact-right input:focus,
.contact-right textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.contact-right textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-right .btn {
    margin-top: 20px;
    width: 100%;
}

/* === Footer === */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 56px 0 28px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-brand .logo em { color: var(--gold); }
.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    max-width: 280px;
    margin-top: 14px;
}
.footer-col h4 {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* === Mobile === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        gap: 16px;
    }
    .hero { padding: 64px 24px 56px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .contact-split { grid-template-columns: 1fr; gap: 36px; }
    .footer-inner { flex-direction: column; gap: 32px; }
}
