/* =============================================
   RESET & CUSTOM PROPERTIES
============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary:        #4A7C59;
    --primary-dark:   #3a6347;
    --primary-light:  #e8f2ec;
    --secondary:      #D98371;
    --secondary-dark: #c06c5b;
    --accent:         #F2C078;
    --accent-dark:    #d9a355;
    --bg:             #FBF7F2;
    --bg-warm:        #F5EDE3;
    --text:           #2D312E;
    --text-muted:     #7a706a;
    --white:          #ffffff;
    --border:         #ddd4c8;
    --border-dark:    #b5a898;

    /* neo-flat shadow: offset hard shadow */
    --shadow:         3px 3px 0 var(--border-dark);
    --shadow-hover:   5px 5px 0 var(--secondary);

    --radius:         0px;
    --radius-sm:      0px;
    --transition:     all 0.22s ease;
    --font-heading:   Georgia, 'Times New Roman', serif;
    --font-body:      'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --max-width:      1060px;
    --header-h:       120px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: var(--secondary-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--text); }
p { margin-bottom: 1.15rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.45rem; }

/* =============================================
   LAYOUT
============================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}
.main-content { flex: 1; padding: 60px 0 88px; }

/* =============================================
   HEADER — dark two-row, centered
============================================= */
.site-header {
    background: #2a211b;
    border-bottom: 4px solid var(--secondary);
    position: sticky;
    top: 0;
    z-index: 200;
}

/* Row 1: brand */
.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px 10px;
    gap: 14px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.header-logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; transition: var(--transition); }
.header-brand:hover .header-logo { opacity: 1; }

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: var(--transition);
}

.header-brand:hover .brand-name { color: var(--accent); }

/* Row 2: nav */
.header-nav-row {
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list a {
    display: block;
    padding: 10px 28px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    position: relative;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: -1px;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-list a:hover { color: var(--white); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-list a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    padding: 8px 10px;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    transition: var(--transition);
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); }

/* =============================================
   HERO — split layout, warm cream left + accent right
============================================= */
.hero {
    background: var(--bg-warm);
    border-bottom: 3px solid var(--border);
    overflow: hidden;
    position: relative;
    margin-bottom: 72px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0;
    min-height: 320px;
}

.hero-content {
    padding: 64px 52px 64px 0;
}

.hero-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary-dark);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 4px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text);
    margin-bottom: 18px;
    max-width: 560px;
}

.hero h1 em {
    font-style: normal;
    color: var(--primary);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-accent-block {
    background: var(--secondary);
    width: 260px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 28px;
    flex-shrink: 0;
}

.hero-quote {
    color: var(--white);
    text-align: center;
}

.hero-quote .big-quote {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    opacity: 0.35;
    display: block;
    margin-bottom: -10px;
}

.hero-quote p {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    opacity: 0.92;
}

/* =============================================
   PAGE HEADER — inner pages, left-aligned with large number
============================================= */
.page-header {
    background: var(--bg-warm);
    border-bottom: 3px solid var(--border);
    padding: 48px 0;
    margin-bottom: 56px;
    overflow: hidden;
    position: relative;
}

.page-header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
}

.page-header-line {
    width: 5px;
    height: 72px;
    background: var(--secondary);
    flex-shrink: 0;
}

.page-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--text);
    margin-bottom: 6px;
}

.page-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

/* =============================================
   ARTICLE BODY
============================================= */
.article-body {
    max-width: 720px;
    margin: 0 auto;
}

.article-body p { font-size: 1.05rem; line-height: 1.88; }

.article-body img {
    margin: 32px 0;
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    max-height: 420px;
    border: 1px solid var(--border);
}

.article-body h3 {
    font-size: 1.22rem;
    margin: 2rem 0 0.7rem;
    padding-left: 16px;
    border-left: 3px solid var(--secondary);
}

.article-body strong { color: var(--primary-dark); }

/* Breadcrumb */
.breadcrumb {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--secondary-dark); font-weight: 600; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border-dark); }

/* =============================================
   ADDING SECTION
============================================= */
.adding-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent-dark);
    box-shadow: var(--shadow);
    padding: 32px 40px;
    margin: 52px auto;
    max-width: 720px;
}

.adding-section h3 {
    color: var(--text);
    font-size: 1.15rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.adding-section ul { list-style: none; padding: 0; margin: 0; }

.adding-section ul li {
    padding: 10px 0 10px 32px;
    position: relative;
    border-bottom: 1px dashed var(--border);
    font-size: 0.99rem;
    line-height: 1.65;
}

.adding-section ul li:last-child { border-bottom: none; }

.adding-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--secondary-dark);
    font-weight: 700;
}

/* =============================================
   IMAGE SLIDER — warm bg section
============================================= */
.image-slider {
    background: var(--bg-warm);
    border-top: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
    margin: 60px -28px;
    padding: 44px 28px;
    overflow: hidden;
}

.image-slider h3 {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.slider-track-wrap {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slider-track img {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    max-height: none;
    box-shadow: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2a211b;
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover { background: var(--secondary-dark); transform: translateY(-50%); }
.slider-btn-prev { left: 0; }
.slider-btn-next { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.slider-dot {
    width: 24px;
    height: 3px;
    background: var(--border-dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active { background: var(--secondary-dark); width: 36px; }

/* =============================================
   ARTICLES — horizontal card list
============================================= */
.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-card {
    background: var(--white);
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: stretch;
    border: 1px solid var(--border);
    border-top: none;
    transition: var(--transition);
    position: relative;
}

.article-card:first-child { border-top: 1px solid var(--border); }

.article-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: var(--transition);
}

.article-card:hover::before { background: var(--secondary); }
.article-card:hover { background: #fefcfa; box-shadow: var(--shadow-hover); z-index: 1; }

.article-card-img-wrap {
    overflow: hidden;
    height: 200px;
}

.article-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease;
    filter: saturate(0.85);
}

.article-card:hover .article-card-img {
    transform: scale(1.05);
    filter: saturate(1);
}

.article-card-body {
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border);
}

.article-card-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--border);
    line-height: 1;
    margin-bottom: 6px;
    font-weight: 700;
    transition: var(--transition);
}

.article-card:hover .article-card-num { color: var(--secondary); }

.article-card-title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.35;
    transition: var(--transition);
}

.article-card:hover .article-card-title { color: var(--primary); }

.article-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.65;
    flex: 1;
}

/* =============================================
   BUTTONS — flat with hard-shadow, sharp corners
============================================= */
.btn {
    display: inline-block;
    padding: 11px 28px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid;
    position: relative;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 3px 3px 0 var(--primary-dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 5px 5px 0 #1e3327;
    transform: translate(-1px, -1px);
}

.btn-accent {
    background: var(--accent);
    color: var(--text);
    border-color: var(--accent-dark);
    box-shadow: 3px 3px 0 var(--accent-dark);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    box-shadow: 5px 5px 0 #8a5f1a;
    transform: translate(-1px, -1px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-dark);
    box-shadow: 3px 3px 0 var(--border-dark);
}

.btn-outline:hover {
    background: var(--text);
    color: var(--white);
    border-color: var(--text);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
    transform: translate(-1px, -1px);
}

/* =============================================
   ABOUT — horizontal value strips
============================================= */
.about-content { max-width: 720px; margin: 0 auto; }
.about-content p { font-size: 1.05rem; line-height: 1.88; margin-bottom: 1.3rem; }

.about-features {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 52px 0;
    border: 1px solid var(--border);
}

.about-feature-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.about-feature-card:last-child { border-bottom: none; }

.about-feature-card:hover { background: #fefcfa; }

.about-feature-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 22px 0;
    background: var(--bg-warm);
    border-right: 1px solid var(--border);
    transition: var(--transition);
}

.about-feature-card:hover .about-feature-icon { background: var(--secondary); }

.about-feature-text { padding: 20px 28px; }

.about-feature-card h3 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   CTA BANNER — flat with accent border
============================================= */
.cta-banner {
    background: var(--white);
    border: 2px solid var(--border);
    border-left: 6px solid var(--accent-dark);
    box-shadow: var(--shadow);
    padding: 40px 44px;
    margin: 60px auto;
    max-width: 720px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-banner-text h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 6px;
}

.cta-banner-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 400px;
}

/* =============================================
   FOOTER — light warm, centered
============================================= */
.site-footer {
    background: var(--bg-warm);
    border-top: 3px solid var(--border);
    padding: 52px 0 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-logo {
    height: 32px;
    width: auto;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-brand:hover .footer-logo { opacity: 1; }

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    transition: var(--transition);
}

.footer-brand:hover .footer-brand-name { color: var(--secondary-dark); }

.footer-nav {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    border-right: 1px solid var(--border);
}

.footer-nav li:last-child a { border-right: none; }

.footer-nav a:hover { color: var(--secondary-dark); }

.footer-copy {
    padding: 16px 0;
    text-align: center;
    font-size: 0.76rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* =============================================
   DIVIDER
============================================= */
.section-divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-content { padding: 48px 0 0; }
    .hero-accent-block { width: 100%; padding: 28px; min-height: auto; }
    .hero-quote .big-quote { font-size: 3rem; }

    .article-card { grid-template-columns: 220px 1fr; }
    .article-card-img-wrap { height: 100%; }
}

@media (max-width: 640px) {
    :root { --header-h: auto; }

    /* Header mobile */
    .header-top { padding: 12px 20px; justify-content: space-between; }
    .header-nav-row { border-top: none; height: 0; overflow: visible; }

    .nav-toggle { display: flex; }

    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #2a211b;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        z-index: 300;
    }

    .nav-list.open { display: flex; }

    .nav-list a {
        font-size: 1.2rem;
        padding: 18px 40px;
        letter-spacing: 0.12em;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-list a::after { display: none; }
    .nav-list a.active { color: var(--accent); }

    /* Cards mobile: stack vertically */
    .article-card { grid-template-columns: 1fr; }
    .article-card-img-wrap { height: 200px; }
    .article-card-body { border-left: none; border-top: 1px solid var(--border); padding: 22px 20px; }
    .article-card-num { font-size: 1.8rem; }

    /* About features mobile */
    .about-features { margin: 36px 0; }

    /* Hero mobile */
    .hero { margin-bottom: 48px; }
    .hero-content { padding: 40px 0; }
    .hero h1 { font-size: 1.9rem; }

    /* Page header */
    .page-header { padding: 36px 0; margin-bottom: 40px; }
    .page-header-line { height: 52px; }

    /* Misc */
    .main-content { padding: 40px 0 64px; }
    .adding-section { padding: 22px 24px; }
    .cta-banner { padding: 28px 24px; flex-direction: column; }
    .image-slider { margin: 48px -28px; }

    .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .footer-nav a { padding: 6px 12px; font-size: 0.78rem; }

    .slider-track img { width: 300px; height: 225px; }

    .about-feature-card { grid-template-columns: 56px 1fr; }
    .about-feature-icon { font-size: 1.4rem; }

    .btn { padding: 10px 22px; font-size: 0.78rem; }
}

@media (max-width: 510px) {
    .brand-name { display: none; }
}

@media (max-width: 400px) {
    .articles-grid .article-card-img-wrap { height: 160px; }
}
