:root {
    /* Color Palette */
    --color-ink-black: #1a1a1a;
    --color-gold-brown: #b8860b;
    --color-pale-blue: #e8f4f8;
    --color-bengal-red: #a0522d;
    --color-white: #ffffff;
    --color-gray: #f5f5f5;
    --color-footer-bg: #111111;

    /* Typography */
    --font-family-jp: "Shippori Mincho", "Noto Serif JP", serif;
    --font-family-en: "Montserrat", sans-serif;
    --font-family-ui: "Noto Serif JP", serif;
    /* For UI elements if needed, or keep same */

    --font-size-base: 16px;
    --font-size-h1: 28px;
    --font-size-h2: 24px;
    --font-size-h3: 18px;

    /* Spacing */
    --spacing-unit: 8px;
    --container-width: 1200px;
}

@media (min-width: 768px) {
    :root {
        --font-size-base: 16px;
        --font-size-h1: 36px;
        --font-size-h2: 28px;
        --font-size-h3: 20px;
    }
}

@media (min-width: 1200px) {
    :root {
        --font-size-base: 16px;
        --font-size-h1: 48px;
        --font-size-h2: 32px;
        --font-size-h3: 24px;
    }
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-jp);
    font-size: var(--font-size-base);
    line-height: 2.0;
    /* Increased for better readability with Serif */
    color: var(--color-ink-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-jp);
    /* Use Shippori Mincho for headings */
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

a {
    color: var(--color-ink-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold-brown);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-main {
    padding: 60px 0;
}

.site-footer {
    background-color: var(--color-gray);
    padding: 60px 0;
    margin-top: 60px;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

/* Utility Classes */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Header */
.site-header {
    background-color: var(--color-white);
    border-bottom: none;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    text-align: left;
    margin-bottom: 0;
    flex-shrink: 0;
}

.site-title {
    font-family: var(--font-family-en);
    font-size: 24px;
    letter-spacing: 0.1em;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.site-title a {
    color: var(--color-ink-black);
}

.site-description {
    display: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation a {
    font-family: var(--font-family-en);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--color-ink-black);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
}

.lang-switch {
    font-family: var(--font-family-en);
    font-size: 13px;
    font-weight: 600;
    color: #999;
}

.lang-switch span.active {
    color: var(--color-ink-black);
}

.btn-header-cta {
    background-color: var(--color-gold-brown);
    color: var(--color-white);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0;
    /* Sharp edges as per design */
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.btn-header-cta:hover {
    opacity: 0.9;
    color: var(--color-white);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 80px;
    background-color: #333;
    /* Fallback */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    /* Placeholder */
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.7;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    background-color: var(--color-gold-brown);
    color: var(--color-white);
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-cta:hover {
    background-color: #a0750a;
    color: var(--color-white);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold-brown);
}

/* Latest News Grid */
.latest-news {
    margin-bottom: 100px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-item {
    background: var(--color-white);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item .post-thumbnail img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.entry-body {
    padding: 15px 0;
}

.entry-meta-top {
    margin-bottom: 10px;
}

.cat-badge {
    background-color: #f0f0f0;
    color: #666;
    font-size: 11px;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.cat-badge.gold {
    /* Example for specific category styling if needed */
    background-color: var(--color-gold-brown);
    color: white;
}

.grid-item .entry-title {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    min-height: 3em;
    /* Align titles */
}

.entry-meta-bottom {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    font-family: var(--font-family-en);
}

.grid-item .entry-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Navigation */
.category-nav-section {
    margin-bottom: 100px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-item {
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-image {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #eee;
    margin-bottom: 15px;
    transition: opacity 0.3s;
}

.category-item:hover .category-image {
    opacity: 0.8;
}

.category-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-ink-black);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--color-pale-blue);
    padding: 80px 0;
    margin-bottom: 100px;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content p {
    margin-bottom: 30px;
    color: #555;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 0;
}

.newsletter-form button {
    border-radius: 0;
    padding: 15px 40px;
    background-color: var(--color-gold-brown);
}

/* About Section */
.about-section {
    margin-bottom: 100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    color: var(--color-ink-black);
    border-bottom: 1px solid var(--color-ink-black);
    padding-bottom: 2px;
}

/* Single Post */
.single .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.single .entry-title {
    font-size: var(--font-size-h1);
    margin-bottom: 20px;
}

.single .post-thumbnail {
    margin-bottom: 40px;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 2;
}

.entry-content p {
    margin-bottom: 2em;
}

.entry-content h2 {
    margin-top: 3em;
    border-bottom: 1px solid var(--color-gold-brown);
    padding-bottom: 10px;
    display: inline-block;
}

/* Breadcrumbs */
.breadcrumb {
    margin-bottom: 40px;
    font-size: 13px;
    color: #888;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #ccc;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: var(--color-ink-black);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--color-gold-brown);
    color: var(--color-white);
}

/* Footer */
.site-footer {
    background-color: var(--color-footer-bg);
    color: #999;
    padding: 80px 0 40px;
    margin-top: 0;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.footer-logo {
    font-size: 24px;
    color: var(--color-white);
    font-family: var(--font-family-en);
    margin-bottom: 20px;
    display: block;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.footer-heading {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #999;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-family: var(--font-family-en);
    font-size: 11px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-branding {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.toggled {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.toggled ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .site-branding {
        margin-bottom: 0;
        text-align: left;
    }
}