:root {
  --bg-white: #ffffff;
  --bg-ivory: #faf6ee;
  --color-aeon-red: #911b1e;
  --color-aeon-red-hover: #721316;
  --text-black: #111111;
  --text-dark: #222222;
  --text-muted: #666666;
  --text-subtle: #888888;
  --border-light: #e0e0e0;
  --border-subtle: #eeeeee;
  
  --cat-models: #136f63;
  --cat-minds: #0f5a7a;
  --cat-ethics: #80184c;
  --cat-tools: #b8641b;
  --logo-color: #007272;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'Space Mono', Consolas, monospace;
  --container-max: 1380px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-white); color: var(--text-black); font-family: var(--font-sans); line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header { position: relative; top: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); border-bottom: none; z-index: 50; height: 115px; padding: 0; display: flex; align-items: center; transition: transform 0.28s cubic-bezier(0.16,1,0.3,1); will-change: transform; }
.site-header.is-fixed { position: fixed; left: 0; right: 0; top: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { width: 100%; }
.header-layout { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }

.header-left { display: flex; flex-direction: column; gap: 0; justify-self: start; position: relative; align-items: flex-start; padding-bottom: 18px; }
.header-center { text-align: center; overflow: visible; display: flex; align-items: center; justify-content: center; }
.brand-logo { font-family: var(--font-serif); font-size: 48px; font-weight: 900; color: var(--color-aeon-red); letter-spacing: -0.04em; line-height: 0.88; display: inline-flex; align-items: center; cursor: pointer; overflow: visible; }
.brand-logo svg { width: auto; height: 70px; display: block; overflow: visible; }
.header-right { display: flex; flex-direction: column; gap: 0; justify-self: end; position: relative; align-items: flex-end; padding-bottom: 18px; }

.header-nav-row { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transform: translateY(-17px); }
.header-nav-btn { color: var(--text-black); font-size: 16px; font-weight: 600; letter-spacing: 0.08em; transition: color 0.15s; display: inline-flex; align-items: center; }
.header-nav-btn:hover { color: var(--color-aeon-red); }
.nav-divider { color: #cccccc; user-select: none; }
.header-utility-nav { display: flex; align-items: center; gap: 12px; transform: translateY(-17px); }
.header-action-link, .header-action-btn { font-size: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-black); transition: color 0.15s; cursor: pointer; }
.header-action-link:hover, .header-action-btn:hover { color: var(--color-aeon-red); }

/* — bottom rows share exact same Y-axis (28px from top) — */
.header-social-row { display: flex; align-items: center; justify-content: flex-start; gap: 10px; position: absolute; top: 28px; left: 0; height: 16px; white-space: nowrap; }
.header-social-row .social-link { color: var(--text-dark); transition: color 0.15s; display: inline-flex; align-items: center; justify-content: center; height: 16px; line-height: 1; }
.header-social-row .social-link:hover { color: var(--color-aeon-red); }
.header-social-row .social-link svg { width: 13px; height: 13px; fill: currentColor; display: block; }

.header-about-row { display: flex; align-items: center; justify-content: flex-end; position: absolute; top: 28px; right: 0; height: 16px; white-space: nowrap; }
.header-about-link { font-size: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-black); transition: color 0.15s; cursor: pointer; line-height: 16px; height: 16px; display: inline-flex; align-items: center; }
.header-about-link:hover { color: var(--color-aeon-red); }

/* — compact 50px setelah lewat hero-card (single-row kiri/kanan) — */
.site-header.is-fixed { height: 50px; }
.site-header.is-fixed .brand-logo svg { height: 32px; }
.site-header.is-fixed .header-left { flex-direction: row; align-items: center; padding-bottom: 0; gap: 0; }
.site-header.is-fixed .header-right { flex-direction: row; align-items: center; padding-bottom: 0; gap: 0; }
.site-header.is-fixed .header-nav-row { transform: none; }
.site-header.is-fixed .header-utility-nav { transform: none; }
.site-header.is-fixed .header-social-row { position: static; top: auto; left: auto; height: auto; margin-top: 0; }
.site-header.is-fixed .header-social-row::before { content: "/"; color: #cccccc; margin: 0 10px; font-size: 16px; font-weight: 600; }
.site-header.is-fixed .header-about-row { position: static; top: auto; right: auto; left: auto; transform: none; height: auto; }
.site-header.is-fixed .header-about-row::before { content: "/"; color: #cccccc; margin: 0 10px 0 12px; font-size: 16px; font-weight: 600; }

/* — inline search (header) — */
.inline-search-wrap { display: inline-flex; align-items: center; gap: 6px; width: 0; opacity: 0; overflow: hidden; pointer-events: none; transition: width 0.26s cubic-bezier(0.16,1,0.3,1), opacity 0.2s ease; margin-left: 2px; }
.inline-search-wrap.is-active { width: 148px; opacity: 1; pointer-events: auto; }
.inline-search-input { flex: 1; min-width: 0; border: none; background: transparent; outline: none; font-family: var(--font-sans); font-size: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-black); caret-color: var(--text-black); padding: 0; line-height: 1; }
.inline-search-input::placeholder { color: var(--text-black); opacity: 1; }
.inline-search-wrap.is-active .inline-search-input:placeholder-shown { padding-right: 2px; }
@keyframes caretBlink { 0%, 49% { border-color: var(--text-black); } 50%, 100% { border-color: transparent; } }
.inline-search-clear { display: none; align-items: center; justify-content: center; width: 18px; height: 18px; font-size: 18px; line-height: 1; color: var(--text-muted); transition: color 0.15s; flex-shrink: 0; }
.inline-search-clear:hover { color: var(--text-black); }
.inline-search-wrap.has-value .inline-search-clear { display: inline-flex; }
.inline-search-wrap.has-value .inline-search-input:placeholder-shown { border-right: none; animation: none; }

/* MEGA MENU OVERLAY */
.mega-menu-overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.45); backdrop-filter: blur(2px); z-index: 999; display: none; opacity: 0; transition: opacity 0.28s ease; }
.mega-menu-overlay.is-active { display: block; opacity: 1; }
.mega-menu-panel { background-color: var(--bg-white); width: 100%; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2); border-bottom: 1px solid var(--border-light); transform: translateY(-100%); transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
.mega-menu-overlay.is-active .mega-menu-panel { transform: translateY(0); }
.menu-inner-wrap { max-width: var(--container-max); margin: 0 auto; padding: 24px 24px 22px; display: flex; flex-direction: column; }

.menu-grid-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.menu-header-row { padding-bottom: 18px; border-bottom: 1px solid var(--border-subtle); }
.menu-close-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dark); transition: color 0.15s ease; }
.menu-close-btn:hover { color: var(--color-aeon-red); }

/* IKON MEDSOS GAYA EDITORIAL CIRCULAR BADGE */
.menu-social-icons { display: flex; align-items: center; gap: 10px; }
.social-glyph-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-light); background-color: transparent; color: var(--text-dark); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.social-glyph-link:hover { background-color: var(--color-aeon-red); border-color: var(--color-aeon-red); color: #ffffff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(145, 27, 30, 0.25); }
.social-glyph-link svg { display: block; width: 15px; height: 15px; fill: currentColor; }

.menu-body-row { align-items: start; padding: 30px 0 28px; }
.category-column { display: flex; flex-direction: column; gap: 8px; }
.category-link { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; display: inline-block; transition: transform 0.2s ease; cursor: pointer; }
.category-link:hover { transform: translateX(8px); }
.category-models { color: var(--cat-models); }
.category-minds { color: var(--cat-minds); }
.category-ethics { color: var(--cat-ethics); }
.category-tools { color: var(--cat-tools); }

.editorial-column { display: flex; flex-direction: column; gap: 22px; }
.editorial-group { display: flex; flex-direction: column; gap: 10px; }
.editorial-link { font-size: 32px; font-weight: 500; color: var(--text-black); line-height: 1.2; transition: color 0.15s ease, transform 0.15s ease; display: inline-block; cursor: pointer; }
.editorial-link:hover { color: var(--color-aeon-red); transform: translateX(6px); }

.menu-footer-row { padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.menu-footer-row > div:last-child { display: flex; align-items: center; gap: 8px; }
#btn-menu-search.is-searching span { display: none; }
.menu-footer-btn { font-size: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dark); display: inline-flex; align-items: center; gap: 8px; transition: color 0.15s ease; }
.menu-footer-btn:hover { color: var(--color-aeon-red); }

/* HERO & GRIDS */
.hero-section { padding: 0 0 44px; }
.hero-card { position: relative; width: 100%; background: #000; overflow: hidden; cursor: pointer; }
.hero-image-wrap { width: 100%; height: 520px; position: relative; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(110%); transition: transform 0.6s ease; }
.hero-card:hover .hero-image-wrap img { transform: scale(1.02); filter: grayscale(80%) contrast(115%); }
.hero-gradient-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.85) 100%); }
.hero-content-box { position: absolute; right: 5%; bottom: 12%; max-width: 600px; color: #fff; padding: 20px; text-shadow: 0 2px 14px rgba(0,0,0,0.6); z-index: 2; }
.hero-title { font-family: var(--font-serif); font-size: 54px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero-snippet { font-size: 16px; line-height: 1.5; color: #eee; }

.page-header-band { padding: 50px 0 30px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 40px; }
.page-title { font-family: var(--font-serif); font-size: 46px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.page-subtitle { font-size: 17px; color: var(--text-muted); max-width: 700px; line-height: 1.5; }

.filter-pills-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-pill { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; font-weight: 700; padding: 8px 16px; border: 1px solid var(--border-light); border-radius: 2px; color: var(--text-muted); background: #fff; transition: all 0.2s; cursor: pointer; }
.filter-pill:hover, .filter-pill.is-active { background: var(--text-black); color: #fff; border-color: var(--text-black); }

.articles-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; margin-bottom: 56px; }
.articles-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.article-item { display: flex; flex-direction: column; cursor: pointer; }
.article-thumb-wrap { position: relative; aspect-ratio: 16 / 10; background: #f2f2f2; overflow: hidden; margin-bottom: 14px; }
.article-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-item:hover .article-thumb-wrap img { transform: scale(1.04); }
.article-format-tag { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.article-headline { font-family: var(--font-serif); font-size: 26px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; transition: color 0.15s; }
.article-item:hover .article-headline { color: var(--color-aeon-red); }
.article-excerpt { font-size: 14.5px; line-height: 1.55; color: #333; margin-bottom: 16px; }
.article-byline { font-size: 13px; color: var(--text-muted); margin-top: auto; }

/* BOOKS LAYOUT */
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; margin-bottom: 60px; }
.book-card { border: 1px solid var(--border-subtle); padding: 24px; display: flex; flex-direction: column; background: #fff; transition: transform 0.2s, box-shadow 0.2s; }
.book-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.book-cover { aspect-ratio: 2 / 3; background: #222; overflow: hidden; margin-bottom: 18px; position: relative; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--color-aeon-red); font-weight: 700; margin-bottom: 6px; }
.book-title { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.book-author { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.book-takeaway { font-size: 14px; line-height: 1.6; color: #444; border-left: 2px solid var(--color-aeon-red); padding-left: 12px; margin-top: auto; }

/* ABOUT LAYOUT */
.about-prose-container { max-width: 820px; margin: 0 auto; padding: 40px 0 80px; }
.about-hero-quote { font-family: var(--font-serif); font-size: 32px; line-height: 1.35; font-weight: 600; color: var(--text-black); margin-bottom: 36px; border-bottom: 1px solid var(--border-light); padding-bottom: 30px; }
.about-body p { font-size: 17px; line-height: 1.75; color: #333; margin-bottom: 24px; }
.contact-box { background: var(--bg-ivory); padding: 36px; margin-top: 48px; border-radius: 2px; }

/* FOOTER & MODALS */
.site-footer { border-top: none; padding: 64px 0 36px; background-color: #f8f8f8; }
.footer-top-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; margin-bottom: 50px; }
.footer-directory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-link-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-link-list a:hover { color: var(--color-aeon-red); }
.newsletter-box { max-width: 440px; justify-self: end; width: 100%; }
.newsletter-heading { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.newsletter-subtext { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.newsletter-input-email { width: 100%; padding: 12px 14px; border: 1px solid #d2d2d2; border-radius: 2px; margin-bottom: 14px; outline: none; }
.btn-subscribe-soaltadi { width: 100%; background: var(--color-aeon-red); color: #fff; font-size: 14px; font-weight: 700; padding: 13px 20px; border-radius: 2px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.footer-bottom-legal { border-top: 1px solid var(--border-subtle); padding-top: 24px; font-size: 12px; color: var(--text-subtle); }

.modal-backdrop { position: fixed; inset: 0; background: rgba(10,10,10,0.65); backdrop-filter: blur(4px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.is-active { display: flex; }
.modal-panel { background: #fff; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.25); width: 100%; max-width: 520px; position: relative; overflow: hidden; }
.modal-close-trigger { position: absolute; top: 18px; right: 18px; font-size: 18px; color: #777; }
.modal-body { padding: 36px 32px; }
.form-control-input { width: 100%; padding: 11px 14px; border: 1px solid #ccc; border-radius: 2px; margin-bottom: 14px; outline: none; }
.btn-submit-modal { width: 100%; background: var(--color-aeon-red); color: #fff; font-weight: 700; padding: 12px; border-radius: 2px; }

.toast-container { position: fixed; bottom: 24px; right: 24px; background: #1a1a1a; color: #fff; padding: 12px 20px; border-radius: 4px; font-size: 13.5px; z-index: 1500; transform: translateY(100px); opacity: 0; transition: all 0.3s; pointer-events: none; }
.toast-container.is-visible { transform: translateY(0); opacity: 1; }

/* — custom scrollbar tipis — */
html { scrollbar-width: thin; scrollbar-color: #2b2b2b transparent; scrollbar-gutter: stable; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2b2b2b; border-radius: 999px; }
::-webkit-scrollbar-button { display: none; }
body.is-menu-open { overflow: visible; }

@media (max-width: 1080px) {
  .articles-grid-3, .books-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .articles-grid-3, .articles-grid-4, .books-grid, .menu-grid-row { grid-template-columns: 1fr; gap: 20px; }
  .hero-image-wrap { height: 380px; }
  .hero-content-box { position: static; background: #111; max-width: 100%; }
}


.footer-bottom-legal a { color: var(--text-muted); text-decoration: underline; margin: 0 4px; }
.footer-bottom-legal a:hover { color: var(--color-aeon-red); }
