/* --- Base Settings --- */
* {
    box-sizing: border-box;
}

:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-color: #666666;
    --font-main: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    --font-gothic: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 2.4;
    letter-spacing: 0.15em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a:hover {
    opacity: 0.6;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-weight: normal;
    margin: 0;
}

.text-center {
    text-align: center;
}

.text-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin: 0 auto;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* --- Animation (Fade In) --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Section --- */
.hero {
    height: 80vh;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 2.2;
    letter-spacing: 0.25em;
    height: auto;
}

/* --- Components --- */
.btn {
    display: inline-block;
    border: 1px solid var(--text-color);
    padding: 15px 50px;
    font-size: 0.9rem;
    background: transparent;
    font-family: var(--font-gothic);
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--text-color);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--bg-color);
}

.btn:hover::after {
    width: 100%;
}

/* --- Footer --- */
footer {
    background: #f9f9f9;
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

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

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    font-family: var(--font-gothic);
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .nav-menu {
        display: none;
    }

    /* Simple hide for now, could add hamburger later */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.8;
    }

    .section {
        padding: 80px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}