*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #C8A84B; --gold-light: #E8D18A; --gold-dim: #8A7030;
  --navy: #0D1E3A; --navy-mid: #1A3260; --navy-light: #2A4B8C;
  --cream: #F9F5EE; --cream-dark: #EDE8DF;
  --text: #1A1A1A; --text-muted: #5A5A5A; --text-subtle: #8A8A8A;
  --border: rgba(0,0,0,0.1);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --max: 1140px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: #FAFAF7; color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.page { display: none; }
.page.active { display: block; }
/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(250,250,247,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 2rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; }
.nav-logo-mark { width: 42px; height: 42px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-mark span { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--gold); letter-spacing: 0.02em; }
.nav-logo-img { width: 28px; height: 28px; object-fit: contain; display: block; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text strong { font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--navy); }
.nav-logo-text small { font-size: 11px; font-weight: 300; color: var(--text-subtle); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 400; color: var(--text-muted); transition: color 0.2s; cursor: pointer; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { background: var(--navy) !important; color: white !important; padding: 8px 18px; border-radius: 6px; font-weight: 500 !important; font-size: 13px !important; }
/* HERO */
.hero { background: var(--navy); color: white; position: relative; overflow: hidden; padding: 90px 2rem 80px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% 40%, rgba(200,168,75,0.12) 0%, transparent 70%), radial-gradient(ellipse 50% 80% at 10% 80%, rgba(26,50,96,0.6) 0%, transparent 60%); pointer-events: none; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: end; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 700; line-height: 1.12; color: white; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-desc { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.72); max-width: 480px; line-height: 1.75; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-gold { background: var(--gold); color: var(--navy); padding: 12px 24px; border-radius: 6px; font-weight: 500; font-size: 14px; text-decoration: none; transition: background 0.2s, transform 0.15s; cursor: pointer; border: none; display: inline-block; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(255,255,255,0.25); color: white; padding: 12px 24px; border-radius: 6px; font-weight: 400; font-size: 14px; text-decoration: none; transition: border-color 0.2s, background 0.2s; cursor: pointer; }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.hero-stat-label { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.55); letter-spacing: 0.05em; text-transform: uppercase; }
.hero-portrait-card { border-radius: 16px 16px 0 0; overflow: visible; display: flex; align-items: flex-end; justify-content: center; margin-bottom: -80px; }
.hero-portrait-img { width: 100%; max-height: 640px; object-fit: contain; object-position: bottom center; display: block; filter: drop-shadow(0 8px 40px rgba(0,0,0,0.5)); }
/* TICKER */
.ticker { background: var(--gold); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 30s linear infinite; }
.ticker-track span { font-size: 12px; font-weight: 500; color: var(--navy); letter-spacing: 0.08em; text-transform: uppercase; padding: 0 32px; }
.ticker-track span::before { content: '◆'; margin-right: 12px; opacity: 0.5; font-size: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* SECTIONS */
section { padding: 80px 2rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 16px; }
.section-label::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--gold-dim); }
.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 12px; }
.section-sub { font-size: 16px; font-weight: 300; color: var(--text-muted); max-width: 560px; line-height: 1.75; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 20px; flex-wrap: wrap; }
.see-all { font-size: 13px; font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 2px; transition: opacity 0.2s; white-space: nowrap; flex-shrink: 0; cursor: pointer; }
.see-all:hover { opacity: 0.6; }
/* FEATURED */
.featured-section { background: white; border-bottom: 1px solid var(--border); }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.featured-main { background: var(--navy); padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; position: relative; cursor: pointer; transition: opacity 0.2s; }
.featured-main:hover { opacity: 0.92; }
.featured-main::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,30,58,0.9) 0%, transparent 60%); }
.featured-content { position: relative; z-index: 1; }
.post-tag { display: inline-block; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; margin-bottom: 16px; }
.featured-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: white; line-height: 1.25; margin-bottom: 12px; }
.featured-excerpt { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 20px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 300; }
.post-meta-dot { opacity: 0.4; }
.featured-side { display: flex; flex-direction: column; }
.featured-side-post { padding: 28px 32px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.15s; flex: 1; }
.featured-side-post:last-child { border-bottom: none; }
.featured-side-post:hover { background: var(--cream); }
.side-tag { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 10px; }
.side-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 8px; }
.side-meta { font-size: 12px; color: var(--text-subtle); font-weight: 300; }
/* NEWS CARDS */
.news-section { background: var(--cream); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(13,30,58,0.1); }
.news-card-img { height: 180px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 3rem; font-weight: 700; color: rgba(200,168,75,0.25); position: relative; overflow: hidden; }
.news-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,50,96,0.8) 0%, rgba(13,30,58,0.3) 100%); }
.news-card-img-label { position: relative; z-index: 1; }
.news-card-body { padding: 20px; }
.news-card-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 8px; }
.news-card-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.news-card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; font-weight: 300; }
.news-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-subtle); padding-top: 14px; border-top: 1px solid var(--border); font-weight: 300; }
/* IMAGE UPLOAD */
.img-upload-zone { border: 2px dashed rgba(0,0,0,0.15); border-radius: 10px; padding: 32px; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.15s; background: #fafaf7; }
.img-upload-zone:hover, .img-upload-zone.drag-over { border-color: var(--navy); background: var(--cream); }
.img-upload-zone-text { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; font-weight: 400; }
.img-upload-zone-hint { font-size: 11px; color: var(--text-subtle); }
.img-preview-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.img-preview-wrap img { width: 100%; height: 220px; object-fit: cover; display: block; }
.img-preview-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #f9f9f7; border-top: 1px solid var(--border); }
.img-preview-info { font-size: 11px; color: var(--text-subtle); }
.img-remove-btn { font-size: 12px; color: #e74c3c; background: none; border: none; cursor: pointer; font-weight: 500; padding: 0; }
#post-detail-img-wrap { margin-bottom: 48px; }
.post-banner-img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
/* INSTAGRAM */
.instagram-section { background: white; }
.instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.insta-embed-wrap { width: 100%; min-width: 0; }
.insta-empty { grid-column: 1/-1; text-align: center; padding: 4rem 2rem; }
.insta-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.insta-empty-text { font-size: 15px; color: var(--text-subtle); margin-bottom: 8px; }
.insta-empty-sub { font-size: 13px; color: var(--text-subtle); font-weight: 300; }
.insta-url-row { display: flex; align-items: center; gap: 10px; }
.insta-url-num { font-size: 12px; font-weight: 600; color: var(--text-subtle); width: 20px; flex-shrink: 0; text-align: right; }
@media (max-width: 900px) { .instagram-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .instagram-grid { grid-template-columns: 1fr; } }
/* ABOUT */
.about-section { background: var(--navy); color: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.about-label::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--gold); }
.about-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: white; line-height: 1.2; margin-bottom: 20px; }
.about-title em { font-style: italic; color: var(--gold-light); }
.about-body { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 32px; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 20px; }
.pillar-icon { width: 36px; height: 36px; background: rgba(200,168,75,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.pillar-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar-title { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: white; margin-bottom: 6px; }
.pillar-body { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.6; }
.about-card-main { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 48px; text-align: center; position: relative; overflow: hidden; }
.about-card-main::before { content: '"'; position: absolute; top: -10px; left: 20px; font-family: var(--serif); font-size: 12rem; color: rgba(200,168,75,0.08); line-height: 1; pointer-events: none; }
.about-quote { font-family: var(--serif); font-size: 1.3rem; font-style: italic; font-weight: 400; color: rgba(255,255,255,0.9); line-height: 1.6; margin-bottom: 24px; position: relative; z-index: 1; }
.about-quote-attr { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
/* NEWSLETTER */
.newsletter-strip { background: var(--cream-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 60px 2rem; }
.newsletter-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.newsletter-sub { font-size: 15px; font-weight: 300; color: var(--text-muted); margin-bottom: 28px; line-height: 1.65; }
.newsletter-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--sans); font-size: 14px; background: white; color: var(--text); outline: none; transition: border-color 0.2s; }
.newsletter-form input:focus { border-color: var(--navy); }
.newsletter-form button { background: var(--navy); color: white; border: none; padding: 12px 20px; border-radius: 6px; font-family: var(--sans); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.newsletter-form button:hover { background: var(--navy-mid); }
/* FOOTER */
footer { background: var(--navy); color: white; padding: 60px 2rem 32px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-mark { width: 40px; height: 40px; background: rgba(200,168,75,0.15); border: 1px solid rgba(200,168,75,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-logo-mark span { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--gold); }
.footer-logo-img { width: 26px; height: 26px; object-fit: contain; display: block; }
.footer-brand-name { font-family: var(--serif); font-size: 16px; font-weight: 600; color: white; }
.footer-tagline { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; text-decoration: none; color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 500; }
.social-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,168,75,0.08); }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.35); font-weight: 300; flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 20px; align-items: center; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
/* POST DETAIL */
.post-page { background: #FAFAF7; min-height: 100vh; }
.post-hero { background: var(--navy); padding: 60px 2rem 50px; position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(200,168,75,0.1) 0%, transparent 70%); }
.post-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 32px; cursor: pointer; transition: color 0.2s; border: none; background: none; }
.post-back:hover { color: var(--gold); }
.post-back::before { content: '←'; }
.post-hero-tag { display: inline-block; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; margin-bottom: 20px; }
.post-hero-title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: white; line-height: 1.2; margin-bottom: 20px; }
.post-hero-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 300; flex-wrap: wrap; }
.post-hero-meta-dot { opacity: 0.3; }
.post-body-wrap { max-width: 820px; margin: 0 auto; padding: 60px 2rem; }
.post-body { font-size: 17px; line-height: 1.85; color: var(--text); font-weight: 300; }
.post-body p { margin-bottom: 1.5rem; }
.post-body h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 2.5rem 0 1rem; line-height: 1.3; }
.post-body h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: 2rem 0 0.8rem; }
.post-body blockquote { border-left: 3px solid var(--gold); padding-left: 24px; margin: 2rem 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--navy-mid); line-height: 1.7; }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-divider { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
.post-author-card { background: var(--cream); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; gap: 20px; align-items: center; margin-top: 3rem; }
.post-author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--gold); }
.post-author-name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.post-author-role { font-size: 13px; color: var(--text-subtle); font-weight: 300; }
/* ALL POSTS */
.all-posts-header { background: var(--navy); padding: 60px 2rem; }
.all-posts-header-inner { max-width: var(--max); margin: 0 auto; }
.all-posts-grid { max-width: var(--max); margin: 0 auto; padding: 60px 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* ADMIN LOGIN */
.admin-login-wrap { min-height: 100vh; background: var(--navy); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.admin-login-card { background: white; border-radius: 16px; padding: 48px; width: 100%; max-width: 420px; }
.admin-login-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.admin-login-logo-mark { width: 48px; height: 48px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.admin-login-logo-mark span { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--gold); }
.admin-login-logo-img { width: 30px; height: 30px; object-fit: contain; display: block; }
.admin-login-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.admin-login-sub { font-size: 13px; color: var(--text-subtle); font-weight: 300; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; }
.form-input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--sans); font-size: 14px; color: var(--text); background: white; outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--navy); }
.form-error { color: #c0392b; font-size: 12px; margin-top: 10px; font-weight: 400; display: none; }
.form-error.show { display: block; }
.btn-navy { width: 100%; background: var(--navy); color: white; border: none; padding: 13px; border-radius: 8px; font-family: var(--sans); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s; margin-top: 8px; }
.btn-navy:hover { background: var(--navy-mid); }
/* ADMIN PANEL */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: #f0f0ec; }
.admin-sidebar { background: var(--navy); display: flex; flex-direction: column; }
.admin-sidebar-header { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar-logo { display: flex; align-items: center; gap: 10px; }
.admin-sidebar-logo-mark { width: 36px; height: 36px; background: rgba(200,168,75,0.15); border: 1px solid rgba(200,168,75,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.admin-sidebar-logo-mark span { font-family: var(--serif); font-weight: 700; font-size: 14px; color: var(--gold); }
.admin-sidebar-logo-img { width: 22px; height: 22px; object-fit: contain; display: block; }
.admin-sidebar-brand { font-family: var(--serif); font-size: 14px; font-weight: 600; color: white; line-height: 1.2; }
.admin-sidebar-subbrand { font-size: 10px; font-weight: 300; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-section { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); padding: 0 8px; margin: 16px 0 8px; }
.admin-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 400; transition: background 0.15s, color 0.15s; margin-bottom: 2px; }
.admin-nav-item:hover { background: rgba(255,255,255,0.07); color: white; }
.admin-nav-item.active { background: rgba(200,168,75,0.15); color: var(--gold); }
.admin-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.admin-sidebar-footer { padding: 16px 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.admin-logout-btn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; color: rgba(255,255,255,0.4); font-size: 13px; font-weight: 400; transition: color 0.15s, background 0.15s; width: 100%; border: none; background: none; }
.admin-logout-btn:hover { background: rgba(255,0,0,0.1); color: #e74c3c; }
.admin-logout-btn svg { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.admin-main { overflow: auto; }
.admin-topbar { background: white; border-bottom: 1px solid var(--border); padding: 0 32px; height: 60px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; gap: 12px; }
.admin-menu-btn { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; border: none; background: none; cursor: pointer; border-radius: 8px; padding: 6px; flex-shrink: 0; }
.admin-menu-btn:hover { background: var(--cream); }
.admin-menu-btn svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; }
.admin-topbar-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.admin-content { padding: 32px; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.admin-stat-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.admin-stat-label { font-size: 12px; font-weight: 500; color: var(--text-subtle); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.admin-stat-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.admin-stat-sub { font-size: 12px; color: var(--text-subtle); margin-top: 4px; font-weight: 300; }
.admin-card { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.admin-card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-card-title { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--navy); }
.btn-sm { padding: 8px 16px; border-radius: 6px; font-family: var(--sans); font-size: 13px; font-weight: 500; cursor: pointer; border: none; transition: background 0.2s; }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-mid); }
.btn-danger { background: #fee2e2; color: #c0392b; }
.btn-danger:hover { background: #fca5a5; }
.btn-edit { background: var(--cream); color: var(--navy); border: 1px solid var(--border) !important; }
.btn-edit:hover { background: var(--cream-dark); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 12px 24px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); background: #f9f9f7; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 16px 24px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f9f9f7; }
.admin-post-title-cell { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 14px; max-width: 260px; line-height: 1.3; }
.admin-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; }
.badge-published { background: #d1fae5; color: #065f46; }
.badge-draft { background: #fef3c7; color: #92400e; }
.admin-actions { display: flex; gap: 8px; }
.admin-form-wrap { max-width: 800px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-group { margin-bottom: 20px; }
.admin-form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; }
.admin-form-hint { font-size: 11px; color: var(--text-subtle); font-weight: 300; margin-left: 6px; }
.admin-form-input { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--sans); font-size: 14px; color: var(--text); outline: none; transition: border-color 0.2s; background: white; }
.admin-form-input:focus { border-color: var(--navy); }
.admin-form-textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--sans); font-size: 14px; color: var(--text); outline: none; transition: border-color 0.2s; background: white; resize: vertical; min-height: 120px; line-height: 1.6; }
.admin-form-textarea:focus { border-color: var(--navy); }
.admin-form-select { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--sans); font-size: 14px; color: var(--text); outline: none; background: white; cursor: pointer; }
.admin-form-select:focus { border-color: var(--navy); }
.admin-form-actions { display: flex; gap: 12px; align-items: center; padding-top: 8px; }
.admin-success { background: #d1fae5; color: #065f46; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; display: none; border: 1px solid #a7f3d0; }
.admin-success.show { display: block; }
/* FEATURED TOGGLE */
.featured-toggle { display: block; cursor: pointer; }
.featured-toggle input { display: none; }
.featured-toggle-ui { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 2px solid var(--border); border-radius: 10px; background: white; transition: border-color 0.2s, background 0.2s; }
.featured-toggle input:checked ~ .featured-toggle-ui { border-color: var(--gold); background: rgba(200,168,75,0.06); }
.featured-toggle-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--cream); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: background 0.2s, border-color 0.2s; }
.featured-toggle input:checked ~ .featured-toggle-ui .featured-toggle-icon { background: rgba(200,168,75,0.15); border-color: var(--gold); }
.featured-toggle-title { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.featured-toggle-sub { font-size: 12px; color: var(--text-subtle); font-weight: 300; }
.featured-toggle-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); background: white; margin-left: auto; flex-shrink: 0; transition: background 0.2s, border-color 0.2s; display: flex; align-items: center; justify-content: center; }
.featured-toggle input:checked ~ .featured-toggle-ui .featured-toggle-check { background: var(--gold); border-color: var(--gold); }
.featured-toggle input:checked ~ .featured-toggle-ui .featured-toggle-check::after { content: '✓'; font-size: 11px; color: white; font-weight: 700; }
/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait-card { order: -1; margin-bottom: 0; max-height: 300px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
  .hero-portrait-img { max-height: 300px; width: auto; object-fit: contain; object-position: bottom center; }
  .news-grid, .all-posts-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .featured-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: flex; position: fixed; top: 0; left: 0; bottom: 0; width: 260px; z-index: 200; transform: translateX(-100%); transition: transform 0.28s cubic-bezier(0.4,0,0.2,1); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 199; }
  .admin-sidebar-backdrop.open { display: block; }
  .admin-menu-btn { display: flex !important; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}
/* HAMBURGER */
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; cursor: pointer; border: none; background: none; border-radius: 8px; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* MOBILE NAV DROPDOWN */
.nav-mobile { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(250,250,247,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 99; padding: 8px 0 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; }
.nav-mobile ul li a, .nav-mobile ul li span { display: block; padding: 13px 2rem; font-size: 15px; font-weight: 400; color: var(--text-muted); cursor: pointer; text-decoration: none; transition: color 0.15s, background 0.15s; }
.nav-mobile ul li a:hover, .nav-mobile ul li span:hover { color: var(--navy); background: var(--cream); }
.nav-mobile .nav-cta-mobile { margin: 8px 2rem 0; display: block; background: var(--navy); color: white !important; padding: 12px 18px; border-radius: 8px; font-weight: 500; font-size: 14px; text-align: center; text-decoration: none; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .news-grid, .all-posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .about-pillars { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: 1fr; }
  /* TABLE → CARD on mobile */
  .admin-table thead { display: none; }
  .admin-table tbody tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .admin-table tbody tr:hover td { background: none; }
  .admin-table tbody td { display: block; padding: 3px 0; border: none; font-size: 13px; }
  .admin-table tbody td::before { content: attr(data-label); display: block; font-size: 10px; font-weight: 600; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 2px; }
  .admin-table tbody td[data-label="Aksi"] { margin-top: 12px; }
  .admin-table tbody td[data-label="Aksi"]::before { display: none; }
  .admin-post-title-cell { max-width: 100%; font-size: 14px; }
  .agenda-item { grid-template-columns: 60px 1fr; }
  .agenda-time { display: none; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeUp 0.6s ease both; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
