
/* --- RUGBY MAGAZINE STYLE (Editorial & Traditional) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&display=swap');

:root {
    --primary: #ffffff;
    --primary-hover: #ebebeb;
    --primary-soft: rgba(255, 255, 255, 0.08);
    
    --bg-main: #faf9f6; /* Off-white paper color */
    --bg-alt: #f5f5f0;
    --bg-card: #ffffff;
    
    --text-main: #1a1a1a;
    --text-muted: #4a4a4a;
    --text-dim: #707070;
    
    --accent: #c9a227; /* Gold accent */
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --site-width: 1200px;
    
    --border-style: 1px solid rgba(0,0,0,0.1);
}

* { box-sizing: border-box; scroll-behavior: smooth; margin: 0; padding: 0; }
html, body { 
    width: 100%; 
    overflow-x: hidden; 
    background-color: var(--bg-main); 
    color: var(--text-main); 
    font-family: var(--font-body); 
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-display); 
    font-weight: 700; 
    line-height: 1.2;
    margin-bottom: 0.5em;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; filter: sepia(0.1); }

.container { max-width: var(--site-width); margin: 0 auto; padding: 0 24px; width: 100%; }

/* --- NAVIGATION --- */
.site-header { 
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(250, 249, 246, 0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary);
    padding: 10px 0;
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-box { 
    width: 45px; height: 45px; border: 2px solid var(--primary);
    display: flex; align-items: center; justify-content: center; 
    font-family: var(--font-display); font-weight: 900; color: var(--primary);
    font-size: 24px;
}
.logo-text { 
    font-family: var(--font-display); font-size: 28px; font-weight: 900; 
    letter-spacing: -0.5px; color: var(--text-main); 
}
.logo-tagline { 
    font-size: 10px; text-transform: uppercase; letter-spacing: 3px; 
    color: var(--text-dim); display: block; margin-top: -5px;
}

.nav-list { display: flex; gap: 35px; list-style: none; }
.nav-link { 
    font-size: 13px; font-weight: 700; color: var(--text-main); 
    text-transform: uppercase; letter-spacing: 1.5px;
}
.nav-link:hover { color: var(--primary); }

/* --- HERO --- */
.hero-section { 
    position: relative; min-height: 85vh; display: flex; align-items: center; 
    background-color: var(--bg-alt); overflow: hidden;
    padding: 120px 0 80px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.hero-section::before {
    content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%;
    background: var(--primary-soft); clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}
.hero-section .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }

.hero-badge { 
    display: inline-block; border-bottom: 2px solid var(--accent);
    font-family: var(--font-body); font-weight: 800;
    font-size: 12px; padding: 4px 0; margin-bottom: 30px;
    text-transform: uppercase; letter-spacing: 3px; color: var(--primary);
}
.site-title { 
    font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.05; margin-bottom: 30px; 
    color: var(--text-main); font-weight: 900;
}
.site-title em { font-style: italic; color: var(--primary); font-weight: 400; }

.site-tagline { 
    font-size: 19px; color: var(--text-muted); max-width: 550px; margin-bottom: 45px; 
    font-weight: 400; line-height: 1.6;
}

.hero-btns { display: flex; gap: 20px; }
.btn-primary { 
    background: var(--primary); color: #fff; padding: 15px 40px; 
    font-family: var(--font-body); font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer;
    transition: var(--transition);
}
.btn-primary:hover { background: var(--text-main); transform: translateY(-3px); }

.btn-secondary { 
    background: transparent; border: 1px solid var(--text-main); color: var(--text-main); 
    padding: 14px 39px; font-family: var(--font-body); font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: var(--transition);
}
.btn-secondary:hover { background: var(--text-main); color: #fff; }

.hero-image-container { position: relative; }
.hero-image { 
    width: 100%; height: 500px; object-fit: cover; 
    box-shadow: 30px 30px 0px var(--accent);
}

/* --- MAGAZINE GRID --- */
.section-header { 
    margin-bottom: 60px; text-align: center; border-bottom: 1px solid rgba(0,0,0,0.1); 
    padding-bottom: 30px;
}
.section-subtitle { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 15px; }
.section-title-big { font-size: 45px; font-weight: 900; color: var(--text-main); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }

.article-card { 
    background: transparent; transition: var(--transition); 
    display: flex; flex-direction: column; border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 30px;
}
.article-card:hover { transform: translateY(-5px); }

.card-img-wrapper { position: relative; overflow: hidden; height: 260px; margin-bottom: 25px; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: 1s ease; }
.article-card:hover .card-img { transform: scale(1.08); filter: sepia(0); }

.card-body { flex: 1; display: flex; flex-direction: column; }
.card-meta { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 2px; margin-bottom: 15px; text-transform: uppercase; }
.card-title-link { font-family: var(--font-display); font-size: 26px; line-height: 1.25; margin-bottom: 18px; display: block; font-weight: 700; }
.card-excerpt { color: var(--text-muted); font-size: 15px; margin-bottom: 25px; line-height: 1.6; }
.card-read-more { 
    margin-top: auto; font-size: 12px; font-weight: 800; color: var(--text-main); 
    text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 10px;
}
.card-read-more::after { content: ''; width: 30px; height: 1px; background: var(--accent); transition: var(--transition); }
.article-card:hover .card-read-more::after { width: 50px; background: var(--primary); }

/* --- EDITORIAL ELEMENTS --- */
.drop-cap::first-letter {
    float: left; font-size: 4.5rem; line-height: 0.7; margin: 0.1em 0.1em 0 0;
    font-family: var(--font-display); font-weight: 900; color: var(--primary);
}

.pull-quote {
    font-family: var(--font-display); font-style: italic; font-size: 24px;
    border-left: 3px solid var(--accent); padding-left: 30px; margin: 40px 0;
    color: var(--primary); font-weight: 600; line-height: 1.4;
}

/* --- SQUAD / STATS --- */
.bg-dark-section { padding: 100px 0; background: #1a1a1a; color: #fff; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.squad-card { text-align: center; }
.squad-img-container { 
    width: 100%; aspect-ratio: 1; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1); padding: 15px;
}
.squad-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.squad-card:hover .squad-img { filter: grayscale(0); }
.squad-name { font-family: var(--font-display); font-size: 24px; margin-bottom: 5px; }
.squad-role { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); font-weight: 700; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(0,0,0,0.1); margin-top: 80px; }
.stat-item { background: var(--bg-main); padding: 40px 20px; text-align: center; }
.stat-value { font-family: var(--font-display); font-size: 48px; font-weight: 900; color: var(--primary); margin-bottom: 10px; }
.stat-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); }

/* --- FOOTER --- */
.site-footer { padding: 100px 0 50px; background: var(--bg-alt); border-top: 1px solid rgba(0,0,0,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 80px; }
.footer-logo { font-family: var(--font-display); font-size: 32px; font-weight: 900; margin-bottom: 25px; }
.footer-title { font-family: var(--font-body); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 30px; color: var(--primary); }
.footer-links li { list-style: none; margin-bottom: 15px; }
.footer-link { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.footer-link:hover { color: var(--primary); }

@media (max-width: 992px) {
    .hero-section .container { grid-template-columns: 1fr; text-align: center; }
    .hero-section::before { width: 100%; opacity: 0.1; clip-path: none; }
    .hero-btns { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-list { display: none; }
    .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .site-title { font-size: 3.5rem; }
}
