/* Site 032 - Fashion Magazine Theme */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #FFFFFF;
    --color-primary: #000000;
    --color-secondary: #78716C;
    --color-accent: #F472B6;
    --color-light: #FAFAFA;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans KR', sans-serif;
    --tracking-wide: 8px;
    --tracking-medium: 4px;
    --tracking-small: 2px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 80px; }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    padding: 2rem 0 1.5rem;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    padding: 1rem 0 0.8rem;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: var(--color-primary);
}

.site-logo span {
    font-weight: 600;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: var(--tracking-medium);
    text-transform: uppercase;
    color: var(--color-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--color-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: var(--tracking-medium);
    text-transform: uppercase;
    color: var(--color-primary);
}

.mobile-nav a:hover {
    color: var(--color-accent);
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 300;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-accent-line {
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto 2.5rem;
    animation: expandWidth 0.8s ease 0.6s forwards;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-secondary);
    letter-spacing: var(--tracking-small);
    margin-bottom: 4rem;
    max-width: 480px;
    line-height: 1.8;
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

.hero-cta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: var(--tracking-medium);
    text-transform: uppercase;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
    animation: fadeIn 1s ease 1.4s forwards;
    opacity: 0;
}

.hero-cta:hover {
    color: var(--color-accent);
    border-color: transparent;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s ease 2s forwards;
    opacity: 0;
}

.hero-scroll-indicator span {
    font-size: 0.6rem;
    letter-spacing: var(--tracking-medium);
    text-transform: uppercase;
    color: var(--color-secondary);
}

.hero-scroll-indicator .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-secondary), transparent);
}

/* Section Labels */
.section-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: var(--tracking-small);
    margin-bottom: 4rem;
    line-height: 1.2;
}

/* Features Section */
.features-section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 2rem;
}

.feature-card {
    position: relative;
    padding: 3rem;
    background-color: var(--color-light);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card--large {
    grid-row: span 2;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.feature-image-placeholder {
    width: 100%;
    height: 240px;
    background-color: #E8E4E0;
    margin-bottom: 2rem;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-accent);
    opacity: 0.6;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.feature-card--large .feature-number {
    font-size: 5rem;
}

.feature-accent-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card--large .feature-title {
    font-size: 2.4rem;
}

.feature-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-secondary);
    line-height: 1.8;
}

.feature-link {
    display: inline-block;
    margin-top: 2rem;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: var(--tracking-small);
    text-transform: uppercase;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: var(--color-accent);
}

/* Board Section */
.board-section {
    padding: 8rem 2rem;
    background-color: var(--color-light);
}

.board-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.board-widget-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.board-widget-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.board-widget-more {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: var(--tracking-small);
    text-transform: uppercase;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.board-widget-more:hover {
    color: var(--color-accent);
}

.board-post-list {
    display: flex;
    flex-direction: column;
}

.board-post-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: padding-left 0.3s ease;
}

.board-post-item:hover {
    padding-left: 8px;
}

.board-post-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-primary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.board-post-item:hover .board-post-title {
    color: var(--color-accent);
}

.board-post-date {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--color-secondary);
    white-space: nowrap;
}

/* Stats Section */
.stats-section {
    padding: 10rem 2rem;
    text-align: center;
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-item {
    padding: 2rem 4rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-secondary);
}

.stat-separator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent);
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--color-primary);
    padding: 10rem 2rem;
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--color-bg);
    letter-spacing: var(--tracking-small);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.cta-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: var(--tracking-medium);
    text-transform: uppercase;
    color: var(--color-bg);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.cta-link:hover {
    color: var(--color-accent);
    border-color: transparent;
}

/* Footer */
.site-footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: var(--tracking-medium);
    text-transform: uppercase;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.footer-copy {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: var(--tracking-small);
    color: var(--color-secondary);
}

.footer-masthead {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-masthead-text {
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: var(--tracking-medium);
    text-transform: uppercase;
    color: rgba(120, 113, 108, 0.6);
}

/* Responsive */
@media (max-width: 359px) {
    html { font-size: 14px; }
    .hero-title { letter-spacing: var(--tracking-small); }
    .site-logo { font-size: 1.2rem; letter-spacing: var(--tracking-medium); }
    .stat-item { padding: 1rem; }
}

@media (min-width: 360px) and (max-width: 767px) {
    html { font-size: 15px; }
    .site-header { padding: 1.5rem 0 1rem; }
    .site-logo { font-size: 1.4rem; margin-bottom: 0; }
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav { display: flex; }
    .header-inner { padding: 0 1.5rem; }
    .hero-section { padding: 6rem 1.5rem 4rem; min-height: 90vh; }
    .hero-title { letter-spacing: var(--tracking-medium); }
    .features-section { padding: 5rem 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 2rem; }
    .feature-card--large { padding: 2.5rem; grid-row: span 1; min-height: auto; }
    .board-section { padding: 5rem 1.5rem; }
    .board-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .stats-section { padding: 6rem 1.5rem; }
    .stats-grid { flex-direction: column; gap: 1rem; }
    .stat-separator { display: none; }
    .stat-item { padding: 1.5rem 2rem; }
    .cta-section { padding: 6rem 1.5rem; }
    .site-footer { padding: 3rem 1.5rem; }
    .footer-nav { gap: 1.2rem; }
    .section-title { margin-bottom: 3rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .board-grid { grid-template-columns: 1fr; gap: 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card--large { min-height: auto; grid-row: span 1; }
    .stats-grid { flex-direction: column; gap: 1rem; }
    .stat-separator { display: none; }
    .stat-item { padding: 1.5rem 2rem; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
    .feature-card--large { grid-row: span 1; min-height: auto; }
    .stat-item { padding: 2rem 3rem; }
}

@media (min-width: 1280px) and (max-width: 1919px) {
    html { font-size: 16px; }
}

@media (min-width: 1920px) and (max-width: 2559px) {
    html { font-size: 17px; }
}

@media (min-width: 2560px) and (max-width: 3839px) {
    html { font-size: 19px; }
}

@media (min-width: 3840px) {
    html { font-size: 22px; }
}
