/* ============================================================
   EXPLAINING THE WORLD — style.css  (clean rebuild)
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,300;1,8..60,400&family=DM+Mono:wght@300;400;500&display=swap');

/* ── Design tokens ── */
:root {
  --bg:          #FAFBFF;
  --indigo:      #1A1F5E;
  --indigo-mid:  #2a3180;
  --gold:        #C4932A;
  --gold-light:  #e8b84b;
  --navy:        #0D0F2E;
  --text-body:   #2c2f52;
  --text-muted:  #6b7099;
  --border:      #dde0f0;
  --card-bg:     #FFFFFF;
  --white:       #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-mono:    'DM Mono', monospace;

  --radius:     0px;
  --transition: 0.22s ease;
  --max-w:      1200px;
  --reading-w:  720px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  animation: fadeIn 0.3s ease both;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utilities ── */
.container    { max-width: 900px; width: 100%; margin: 0 auto; padding: 0 40px; }
.content-wide { max-width: 900px; width: 100%; margin: 0 auto; padding: 0 40px; }
.reading      { max-width: var(--reading-w); margin: 0 auto; padding: 0 40px; }
.sr-only      { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--indigo);
  height: 72px;
  display: flex;
  align-items: center;
  overflow: visible;
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: opacity 0.22s ease;
}
.nav__logo:hover { opacity: 0.75; }
.nav__logo span { color: var(--gold); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--indigo);
  position: relative;
  padding: 5px 10px;
  border-radius: 2px;
  transition: color var(--transition), background var(--transition);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 10px; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__links a:hover { color: var(--navy); background: var(--gold); }
.nav__links a:hover::after { width: 0; }
.nav__links a.active::after { width: calc(100% - 20px); }
.nav__links a.active { color: var(--indigo); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--indigo);
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (homepage)
============================================================ */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  background: linear-gradient(135deg, #FAFBFF 0%, #f0f2ff 50%, #FAFBFF 100%);
  background-size: 300% 300%;
  animation: heroPulse 12s ease-in-out infinite;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  animation: fadeInUp 0.5s ease both;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--indigo);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.65s 0.1s ease both;
}
.hero__rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
  border: none;
  animation: ruleGrow 0.8s 0.5s ease both;
  transition: box-shadow 0.3s ease;
  cursor: default;
}
.hero__rule:hover { box-shadow: 0 0 14px rgba(196,147,42,0.45); }

/* ============================================================
   SECTION LABELS
============================================================ */
.hero__eyebrow,
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
  text-align: center;
}
.section-label { animation: fadeInUp 0.5s ease both; }
.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  text-align: center;
  animation: fadeInUp 0.55s 0.1s ease both;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 72px 0;
}

/* ============================================================
   FEATURED CARD (homepage)
============================================================ */
.featured { padding: 48px 0 80px; }
.featured__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-top: 3px solid var(--indigo);
  background: var(--card-bg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.featured__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,31,94,0.12);
}
.featured__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  overflow: hidden;
  order: -1;
  background: var(--indigo);
}
.featured__visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.48s ease;
}
.featured__card:hover .featured__visual img { transform: scale(1.05); }
.featured__content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #1A1F5E;
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  width: auto;
  max-width: fit-content;
  align-self: flex-start;
  flex-shrink: 0;
  margin-bottom: 20px;
  box-sizing: content-box;
}
.featured__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.featured__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.featured__excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  flex-grow: 1;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(110%); }
.btn svg { flex-shrink: 0; }
.btn--primary {
  background: var(--indigo);
  color: var(--white);
  border: 2px solid var(--indigo);
}
.btn--primary:hover { background: var(--indigo-mid); border-color: var(--indigo-mid); }
.btn--outline {
  background: transparent;
  color: var(--indigo);
  border: 2px solid var(--indigo);
}
.btn--outline:hover { background: var(--indigo); color: var(--white); }
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ============================================================
   ARTICLE CARDS (homepage grid)
============================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 96px;
}
.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-top-color 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}
.article-card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 4px 24px rgba(26,31,94,0.08);
  transform: translateY(-3px);
}
.article-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #1A1F5E;
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  width: auto;
  max-width: fit-content;
  align-self: flex-start;
  flex-shrink: 0;
  margin-bottom: 12px;
  box-sizing: content-box;
}
.article-card__date {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.article-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  flex-grow: 1;
}
.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.article-card__read {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.article-card:hover .article-card__read { color: var(--gold); }

/* ============================================================
   ARCHIVE PAGE (articles.html)
============================================================ */
.archive-header {
  padding: 72px 0 48px;
  text-align: center;
  animation: fadeInUp 0.6s 0.05s ease both;
}
.archive-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.archive-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Search bar */
.search-bar {
  position: relative;
  margin-bottom: 48px;
  width: 100%;
}
.search-bar input {
  width: 100%;
  padding: 14px 50px 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar input:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(26,31,94,0.07);
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar__icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Archive grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding-bottom: 96px;
}
.archive-grid--single {
  display: flex;
  justify-content: center;
  padding-bottom: 96px;
}
.archive-grid--single .archive-card {
  max-width: 600px;
  width: 100%;
}
.archive-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-left-color 0.28s ease, box-shadow 0.28s ease;
}
a.archive-card:hover {
  border-left-color: var(--indigo);
  box-shadow: 0 4px 20px rgba(26,31,94,0.07);
  transform: translateX(5px);
}
.archive-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.archive-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #1A1F5E;
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  width: auto;
  max-width: fit-content;
  align-self: flex-start;
  flex-shrink: 0;
  box-sizing: content-box;
}
.archive-card__date {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  color: var(--text-muted);
}
.archive-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  flex-grow: 1;
}
.archive-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.archive-card__link {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
a.archive-card:hover .archive-card__link { color: var(--gold); }
.no-results {
  display: none;
  text-align: center;
  padding: 60px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  grid-column: 1/-1;
}
.no-results.visible { display: block; }

/* ============================================================
   ARTICLE PAGE (turkey.html)
============================================================ */
.article-hero-img {
  width: 100%;
  height: 500px;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}
.reading-progress {
  position: fixed;
  top: 72px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 200;
  transition: width 0.08s linear;
  pointer-events: none;
  animation: progressFill 0.3s 0.5s ease both;
}
.article-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.article-hero__breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.5s 0.05s ease both;
}
.article-hero__breadcrumb a { color: var(--indigo); transition: color var(--transition); }
.article-hero__breadcrumb a:hover { color: var(--gold); }
.article-hero__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #1A1F5E;
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  width: auto;
  max-width: fit-content;
  align-self: flex-start;
  flex-shrink: 0;
  margin-bottom: 20px;
  box-sizing: content-box;
  animation: fadeInUp 0.5s 0.15s ease both;
}
.article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--indigo);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 800px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s 0.22s ease both;
}
.article-hero__byline {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.5s 0.38s ease both;
}
.article-hero__byline span { display: flex; align-items: center; gap: 6px; }
.article-hero__byline .sep { color: var(--border); }

/* Article body */
.article-body { padding-bottom: 80px; }
.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 28px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -0.02em;
  margin: 52px 0 20px;
  padding-top: 8px;
  border-top: 2px solid var(--indigo);
  display: inline-block;
  width: 100%;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--indigo);
  margin: 36px 0 16px;
}
.article-body blockquote {
  border-left: 4px solid var(--gold);
  border-top: none;
  border-right: none;
  border-bottom: none;
  padding: 20px 0 20px 36px;
  margin: 52px 0;
  background: none;
  box-shadow: none;
}
.article-body blockquote p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--indigo);
  margin-bottom: 0;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
  animation: fadeInUp 0.6s 0.05s ease both;
  text-align: center;
}
.about-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.2;
}
.about-hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin: 0 auto;
}
.about-body { padding-bottom: 96px; }
.about-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}
.about-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 24px;
}

/* Principles — clean, no boxes */
.principles-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  margin: 40px 0 56px;
}
.principle-item__num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.principle-item__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  display: block;
}
.principle-item__desc {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ============================================================
   FAQ PAGE
============================================================ */
.faq-header {
  padding: 72px 0 48px;
  text-align: center;
  animation: fadeInUp 0.6s 0.05s ease both;
}
.faq-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.faq-header p { font-size: 1rem; color: var(--text-muted); }
.faq-list { padding-bottom: 96px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--indigo);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  gap: 24px;
  transition: color var(--transition), padding-left 0.22s ease;
}
.faq-question:hover { color: var(--gold); padding-left: 5px; }
.faq-question__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--indigo);
  transition: all var(--transition);
}
.faq-item.open .faq-question__icon {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer__inner {
  padding: 0 0 24px 0;
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* ============================================================
   LEGAL PAGE
============================================================ */
.legal-header {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
  animation: fadeInUp 0.6s 0.05s ease both;
}
.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.03em;
}
.legal-toc {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.legal-toc a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 2px;
  transition: border-color var(--transition), color var(--transition);
}
.legal-toc a:hover { color: var(--gold); border-color: var(--gold); }
.legal-body { padding-bottom: 96px; }
.legal-section { margin-bottom: 64px; }
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--indigo);
}
.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--indigo);
  margin: 28px 0 12px;
}
.legal-section p,
.legal-section li {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 16px;
}
.legal-section ul { list-style: disc; padding-left: 24px; }
.legal-section ul li { margin-bottom: 8px; }

/* ============================================================
   COLLABORATIONS PAGE
============================================================ */
.collab-header {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
  text-align: center;
  animation: fadeInUp 0.6s 0.05s ease both;
}
.collab-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.collab-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-left: auto;
  margin-right: auto;
}
.collab-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding-bottom: 96px;
  align-items: start;
}
.collab-info h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 20px;
  margin-top: 48px;
}
.collab-info h2:first-child { margin-top: 0; }
.collab-info p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}
.collab-info ul { list-style: none; margin-bottom: 24px; }
.collab-info ul li {
  font-size: 0.95rem;
  color: var(--text-body);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}
.collab-info ul li::before {
  content: '→';
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Contact form */
.contact-form-wrap { position: sticky; top: 96px; }
.contact-form-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--indigo);
  padding: 40px 36px;
  transition: box-shadow 0.3s ease;
}
.contact-form-box:hover { box-shadow: 0 8px 32px rgba(26,31,94,0.08); }
.contact-form-box h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(26,31,94,0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { min-height: 120px; }
.form-submit { width: 100%; margin-top: 8px; }
.form-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 14px;
  text-align: center;
  line-height: 1.6;
}
.form-success {
  background: rgba(26,31,94,0.05);
  border: 1.5px solid var(--indigo);
  padding: 32px 28px;
  text-align: center;
  display: none;
}
.form-success p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--indigo);
  line-height: 1.5;
}
.form-success.visible { display: block; }

/* ============================================================
   COMING SOON PAGE
============================================================ */
.coming-soon {
  min-height: calc(100vh - 72px - 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
}
.coming-soon__inner { max-width: 520px; }
.coming-soon__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.coming-soon__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--indigo);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.coming-soon__domain {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 48px;
}
.coming-soon__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.coming-soon__success {
  background: rgba(196,147,42,0.06);
  border: 1.5px solid rgba(196,147,42,0.25);
  padding: 36px 32px;
  margin-bottom: 0;
  text-align: center;
}
.coming-soon__form {
  display: flex;
  gap: 0;
  max-width: 380px;
  margin: 0 auto;
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition);
}
.coming-soon__form:focus-within { border-color: var(--indigo); }
.coming-soon__form input {
  flex-grow: 1;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-body);
  background: transparent;
  border: none;
  outline: none;
}
.coming-soon__form input::placeholder { color: var(--text-muted); }
.coming-soon__form button {
  padding: 13px 20px;
  background: var(--indigo);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
.coming-soon__form button:hover { background: var(--indigo-mid); }
.coming-soon__note {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 12px;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}
.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 40px 52px;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer__brand-name span { color: var(--gold); }
.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 28px;
}
.footer__social { display: flex; gap: 12px; align-items: center; }
.footer__social-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.footer__social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: scale(1.2);
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.60);
  transition: color var(--transition);
}
.footer__links a:hover { color: #C4932A; }
.footer__bottom {
  padding: 20px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__disclaimer {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.30);
  margin-bottom: 4px;
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   SOCIAL POPUP
============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.popup-overlay.is-open { opacity: 1; pointer-events: all; }
.popup {
  background: var(--white);
  padding: 44px 48px;
  width: 100%;
  max-width: 400px;
  margin: 20px;
  position: relative;
  transform: translateY(16px) scale(0.96);
  box-shadow: 0 24px 80px rgba(13,15,46,0.28);
}
.popup-overlay.is-open .popup {
  transform: none;
  animation: popupIn 0.32s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.popup__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: all var(--transition);
  line-height: 1;
}
.popup__close:hover { background: var(--bg); color: var(--indigo); }
.popup__platform {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.popup__heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.popup__options { display: flex; flex-direction: column; gap: 10px; }
.popup__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--indigo);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.80rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  width: 100%;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.popup__option:hover {
  background: #C4932A;
  color: #0D0F2E;
  transform: translateX(3px);
}
.popup__option--dimmed { opacity: 0.55; }
.popup__option-handle {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.60);
  margin-top: 2px;
}
.popup__option-left { display: flex; flex-direction: column; gap: 2px; }
.popup__option-arrow {
  color: rgba(255,255,255,0.55);
  transition: transform 0.2s ease, color 0.2s ease;
}
.popup__option:hover .popup__option-handle { color: rgba(13,15,46,0.65); }
.popup__option:hover .popup__option-arrow {
  color: var(--navy);
  transform: translateX(3px);
}

/* Article subtitle + author line (taiwan.html) */
.article-hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.6;
}
.article-hero__author {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
}
.article-hero__rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 0 auto 0;
}

/* ============================================================
   KEYFRAMES
============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ruleGrow {
  from { width: 0; opacity: 0; }
  to   { width: 64px; opacity: 1; }
}
@keyframes heroPulse {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes popupIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes progressFill {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll reveal */
.sr {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}
.sr.in { opacity: 1; transform: translateY(0); }
.sr.d1 { transition-delay: 0.10s; }
.sr.d2 { transition-delay: 0.20s; }
.sr.d3 { transition-delay: 0.30s; }

/* ============================================================
   RESPONSIVE — 1024px
============================================================ */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .collab-body { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { position: static; }
  .principles-clean { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

/* ============================================================
   RESPONSIVE — 768px
============================================================ */
@media (max-width: 768px) {
  /* Containers */
  .container, .content-wide, .reading { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }

  /* Mobile logo */
  .nav__logo { font-size: 0; letter-spacing: 0; }
  .nav__logo::before {
    content: 'ETW';
    font-size: 1.15rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--indigo);
    letter-spacing: -0.02em;
  }

  /* Hamburger */
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--indigo);
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 20px 16px;
    gap: 0;
    z-index: 98;
    box-shadow: 0 8px 24px rgba(13,15,46,0.10);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    width: 100%;
    padding: 14px 8px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav__links a:last-child { border-bottom: none; }
  .nav__links a::after { display: none; }

  /* Hero */
  .hero { padding: 52px 0 40px; }

  /* Featured */
  .featured { padding: 0 0 56px; }
  .featured__content { padding: 28px 24px; }
  .featured__visual,
  .featured__visual img { height: 220px; }

  /* Archive */
  .archive-header { padding: 44px 0 28px; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card { padding: 22px 18px; }

  /* Article */
  .article-hero-img { height: 260px; max-height: 260px; }
  .article-hero { padding: 36px 0 28px; margin-bottom: 32px; }
  .article-hero__title { font-size: 1.65rem; }
  .article-hero__byline { gap: 8px; }
  .article-hero__byline .sep { display: none; }
  .article-body p { font-size: 0.98rem; }
  .article-body blockquote { padding-left: 20px; margin: 32px 0; }
  .article-body blockquote p { font-size: 1.1rem; }

  /* About */
  .about-hero { padding: 44px 0 36px; margin-bottom: 36px; }
  .about-body { padding-bottom: 56px; }
  .principles-clean { grid-template-columns: 1fr; gap: 36px; }

  /* FAQ */
  .faq-header { padding: 44px 0 28px; }
  .faq-question { font-size: 0.96rem; padding: 18px 0; gap: 14px; }
  .faq-list { padding-bottom: 60px; }

  /* Collaborations */
  .collab-header { padding: 44px 0 32px; margin-bottom: 36px; }
  .collab-body { padding-bottom: 56px; }
  .contact-form-box { padding: 28px 20px; }

  /* Legal */
  .legal-header { padding: 44px 0 28px; margin-bottom: 32px; }
  .legal-body { padding-bottom: 60px; }

  /* Coming soon */
  .coming-soon { padding: 56px 20px; }

  /* Article grid */
  .articles-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__main { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 40px; }
  .footer__bottom { padding: 18px 24px; }

  /* Popup */
  .popup { padding: 32px 22px; margin: 16px; }
  .popup__heading { font-size: 1.2rem; margin-bottom: 20px; }
  .popup__option { padding: 13px 14px; }
}

/* ============================================================
   RESPONSIVE — 540px
============================================================ */
@media (max-width: 540px) {
  .coming-soon__form {
    flex-direction: column;
    border: none;
    background: transparent;
    overflow: visible;
    gap: 10px;
  }
  .coming-soon__form input {
    border: 1.5px solid var(--border);
    background: var(--white);
    padding: 13px 16px;
  }
  .coming-soon__form:focus-within { border: none; }
  .coming-soon__form button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE — 480px
============================================================ */
@media (max-width: 480px) {
  .container, .content-wide, .reading { padding: 0 16px; }
  .nav__inner { padding: 0 16px; }
  .nav__logo::before { font-size: 22px; }
  body { font-size: 16px; }

  .hero__headline { font-size: 2rem; }
  .archive-header h1,
  .faq-header h1,
  .about-hero__title,
  .collab-header h1,
  .legal-header h1 { font-size: 1.75rem; }
  .article-hero__title { font-size: 1.4rem; }
  .coming-soon__headline { font-size: 1.9rem; }

  .btn { padding: 12px 18px; font-size: 0.72rem; }

  .article-hero-img { height: 200px; max-height: 200px; }
  .article-body h2 { font-size: 1.25rem; }

  .featured__visual,
  .featured__visual img { height: 180px; }

  .footer__bottom { padding: 14px 16px; gap: 4px; }
}
