/* ============================================================
   IHSC - Indonesian Humanitarian Study Center
   Pusat Studi Kemanusiaan · IIK NU Tuban
   Design system v3 - NGO humanitarian international standard
   ============================================================ */

:root {
  /* ── Warna ── */
  --green-950:  #0F4A1C;
  --green-800:  #1B6B2A;
  --green-600:  #2E8B3F;
  --green-100:  #E8F4EA;
  --gold-800:   #9A7A2E;
  --gold-500:   #C9A84C;
  --gold-100:   #F5EDD4;
  --white:      #FFFFFF;
  --mist:       #F7F9F7;
  --charcoal:   #1C1C1C;
  --stone:      #6B7280;
  --divider:    #E2E8E2;

  --brand:      var(--green-800);
  --brand-deep: var(--green-950);
  --accent:     var(--gold-500);

  /* ── Typography ── */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', 'Times New Roman', serif;

  /* ── Rhythm - NGO standard: generous ── */
  --section-pad: clamp(100px, 11vw, 160px);
  --container:   1160px;
  --gutter:      clamp(28px, 5vw, 48px);
  --radius:      6px;
  --card-pad:    36px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06);
  --shadow-md:   0 4px 14px rgba(0,0,0,.07);

  /* badge */
  --badge-research-bg:   var(--green-100);  --badge-research-text: var(--green-950);
  --badge-emergency-bg:  #FEF2F2;           --badge-emergency-text:  #991B1B;
  --badge-policy-bg:     var(--gold-100);   --badge-policy-text:     var(--gold-800);
  --badge-humanitarian-bg: #EFF6FF;         --badge-humanitarian-text:#1D4ED8;
  --badge-featured-bg:   var(--green-800);  --badge-featured-text:   var(--white);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  background: var(--white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Shared ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.4vw, 64px); letter-spacing: -.015em; }
h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.01em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
p { max-width: 68ch; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--brand); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  min-height: 50px;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--green-100); }
.btn--light { background: var(--white); color: var(--brand); }
.btn--light:hover { background: var(--green-100); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: var(--white); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand-deep); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 52px; padding: 0 var(--gutter);
  max-width: var(--container); margin: 0 auto;
  border-bottom: 1px solid var(--divider);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; max-width: 360px; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; border-radius: var(--radius); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--brand-deep); }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }

.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta a { background: var(--brand); color: var(--white); padding: 8px 18px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 13px; transition: background .15s; white-space: nowrap; }
.nav-cta a:hover { background: var(--brand-deep); color: var(--white); }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--divider); border-radius: var(--radius);
  overflow: hidden; flex-shrink: 0;
}
.lang-btn {
  background: transparent; border: 0; padding: 6px 11px;
  font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: .04em;
  cursor: pointer; color: var(--stone); min-height: 32px;
  transition: background .15s, color .15s;
}
.lang-btn:hover:not(.lang-btn--active) { color: var(--brand); background: var(--green-100); }
.lang-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.lang-btn--active { background: var(--brand); color: var(--white); }

/* ribbon bawah: nav */
.header-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); max-width: var(--container); margin: 0 auto;
  min-height: 48px;
}
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav ul { display: flex; gap: 2px; list-style: none; align-items: center; }
.main-nav a {
  text-decoration: none; font-weight: 500; font-size: 14px; color: var(--charcoal);
  padding: 10px 16px; border-radius: var(--radius);
  transition: color .15s, background .15s;
  min-height: 40px; display: inline-flex; align-items: center;
}
.main-nav a:hover { color: var(--brand); background: var(--green-100); }
.main-nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.nav-toggle { display: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero-inner {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(100px, 11vw, 160px) var(--gutter) clamp(90px, 10vw, 140px);
  align-items: center;
}
.hero .eyebrow { color: var(--gold-100); }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { font-size: clamp(46px, 6vw, 72px); margin: 24px 0 28px; color: var(--white); }
.hero h1 em { font-style: italic; color: var(--gold-100); }
.hero-lede { font-size: 19px; color: rgba(255,255,255,.9); max-width: 52ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-panel {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); overflow: hidden;
}
.panel-head {
  padding: 16px 24px; display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-100); border-bottom: 1px solid rgba(255,255,255,.14);
}
.panel-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.panel-body { padding: 28px; }
.panel-list { display: grid; gap: 16px; }
.panel-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.panel-list div:last-child { border-bottom: 0; }
.panel-list span { font-size: 15px; color: rgba(255,255,255,.85); }
.panel-list b { font-weight: 600; font-size: 13px; color: var(--gold-100); text-transform: uppercase; letter-spacing: .08em; }

/* ── Values ── */
.values { border-bottom: 1px solid var(--divider); background: var(--white); }
.values-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.values-inner > div {
  padding: 48px 40px 52px; border-right: 1px solid var(--divider);
}
.values-inner > div:last-child { border-right: 0; }
.values-inner .num { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent); margin-bottom: 16px; }
.values-inner h3 { font-size: 22px; margin-bottom: 10px; color: var(--brand-deep); }
.values-inner p { font-size: 16px; color: var(--stone); }

/* ── Sections ── */
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--mist); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.section-head { margin-bottom: clamp(44px, 6vw, 64px); }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { font-size: 18px; color: var(--stone); margin-top: 14px; }

/* ── About ── */
.tentang-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.tentang-grid .lead { font-size: 28px; font-family: var(--font-display); font-weight: 700; line-height: 1.4; color: var(--brand-deep); }
.tentang-grid .lead strong { color: var(--brand); }
.tentang-grid .body { color: var(--stone); margin-top: 20px; font-size: 17px; line-height: 1.75; }
.factoid { margin-top: 36px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }

/* ── Visi Misi ── */
.visi-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--brand-deep); margin: 12px 0 16px; }
.visi-list { list-style: none; display: grid; gap: 18px; margin-top: 20px; padding: 0; }
.visi-list li { position: relative; padding-left: 28px; color: var(--stone); font-size: 17px; line-height: 1.7; }
.visi-list li::before { content: "▸"; position: absolute; left: 4px; color: var(--brand); font-size: 15px; line-height: 1.9; }

/* ── Divisions ── */
.divisions { display: grid; gap: 0; }
.division {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: clamp(24px, 3vw, 40px);
  padding: 36px 0; border-top: 1px solid var(--divider);
  align-items: center;
}
.division:last-child { border-bottom: 1px solid var(--brand); }
.division .no { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1; }
.division h3 { font-size: 22px; margin-bottom: 8px; color: var(--brand-deep); }
.division p { color: var(--stone); font-size: 15px; }
.division .coord { font-size: 15px; font-weight: 600; color: var(--charcoal); display: block; margin: 4px 0; }
.division .coord:first-of-type { color: var(--brand); }
.division .badge { justify-self: end; }

.badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius);
}
.badge--research    { background: var(--badge-research-bg);        color: var(--badge-research-text); }
.badge--emergency   { background: var(--badge-emergency-bg);       color: var(--badge-emergency-text); }
.badge--policy      { background: var(--badge-policy-bg);          color: var(--badge-policy-text); }
.badge--humanitarian { background: var(--badge-humanitarian-bg);   color: var(--badge-humanitarian-text); }
.badge--featured    { background: var(--badge-featured-bg);        color: var(--badge-featured-text); }

.ops-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 44px; }
.ops-card {
  background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius);
  padding: var(--card-pad);
}
.ops-card h3 { font-size: 20px; color: var(--brand-deep); margin-bottom: 12px; }
.ops-card p { color: var(--stone); font-size: 15px; }
.ops-card .members { margin-top: 18px; font-size: 15px; color: var(--charcoal); }
.ops-card .members b { color: var(--brand); font-weight: 600; }

/* ── kartu profil kepengurusan (foto besar) ── */
.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  margin-top: 6px;
}
.profile-name { font-weight: 700; font-size: 18px; color: var(--brand-deep); margin-top: 18px; line-height: 1.35; }
.profile-role { font-size: 12.5px; font-weight: 600; color: var(--brand); margin-top: 3px; letter-spacing: .05em; text-transform: uppercase; }
.ops-card .members { margin-top: 14px; font-size: 14px; color: var(--stone); line-height: 1.6; }
.ops-card .members b { color: var(--brand); font-weight: 600; }

/* ── Programs ── */
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--divider); border: 1px solid var(--divider); border-radius: var(--radius); overflow: hidden; }
.focus-item { background: var(--white); padding: var(--card-pad); }
.focus-item .no { display: block; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .12em; margin-bottom: 16px; }
.focus-item h3 { font-size: 21px; color: var(--brand-deep); margin-bottom: 12px; }
.focus-item p { font-size: 15px; color: var(--stone); }

/* ── News ── */
.news-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 52px); flex-wrap: wrap; }
.news-head-row .section-head { margin-bottom: 0; }
.news-link { font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; padding: 10px 0; font-size: 15px; }
.news-link:hover { text-decoration: underline; }
.news-link::after { content: " →"; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius);
  padding: var(--card-pad); display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; transition: box-shadow .2s, border-color .2s;
}
.news-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.news-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.card-kicker { display: flex; align-items: center; gap: 10px; }
.card-kicker .date { font-size: 13px; color: var(--stone); letter-spacing: .04em; }
.news-card h3 { font-size: 21px; line-height: 1.35; }
.news-card p { color: var(--stone); font-size: 15px; }
.card-more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--brand); }
.card-more::after { content: " →"; }

/* hero image di kartu berita (bleed ke tepi kartu) */
.news-card .card-img {
  display: block;
  width: calc(100% + 2 * var(--card-pad));
  max-width: none;
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

/* ── Contact ── */
.cta-inner {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 5vw, 64px);
  align-items: center; background: var(--white); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: clamp(40px, 6vw, 64px);
}
.cta-inner h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 14px 0 12px; color: var(--brand-deep); }
.cta-inner p { color: var(--stone); }
.cta-channels { display: grid; gap: 14px; }
.cta-channel {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; border: 1px solid var(--divider); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s, background .15s;
}
.cta-channel:hover { border-color: var(--brand); background: var(--green-100); }
.cta-channel .label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); display: block; }
.cta-channel .value { font-weight: 600; font-size: 15px; }
.cta-channel .arrow { color: var(--brand); font-weight: 700; }

/* ── Footer ── */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.8); }
.footer-top {
  display: grid; grid-template-columns: 5fr 3fr 3fr; gap: clamp(36px, 5vw, 64px);
  padding: clamp(60px, 7vw, 90px) 0 48px;
}
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: var(--gold-100); }
.footer-about p { margin-top: 20px; font-size: 15px; max-width: 44ch; color: rgba(255,255,255,.72); }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { text-decoration: none; font-size: 15px; color: rgba(255,255,255,.78); transition: color .15s; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16);
  padding: 26px 0 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,.5);
}

/* ── Page Head (berita & artikel) ── */
.page-head {
  padding: clamp(64px, 8vw, 100px) 0 clamp(44px, 6vw, 68px);
  border-bottom: 1px solid var(--divider);
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}
.page-head h1 { font-size: clamp(36px, 4.6vw, 52px); margin: 16px 0 12px; color: var(--brand-deep); }
.page-head .sub { color: var(--stone); font-size: 18px; max-width: 60ch; }

/* ── Search ── */
.search-bar {
  margin-bottom: 40px;
  display: inline-flex; align-items: center;
  border: 1px solid var(--divider); border-radius: var(--radius);
  background: var(--white); max-width: 500px; width: 100%;
  overflow: hidden;
}
.search-bar input {
  flex: 1; border: 0; padding: 16px 20px;
  font-family: var(--font-body); font-size: 16px; color: var(--charcoal);
  background: transparent; outline: none; min-width: 0;
}
.search-bar input::placeholder { color: var(--stone); }
.search-bar button {
  background: var(--brand); border: 0; padding: 16px 20px; color: var(--white); cursor: pointer;
  display: grid; place-items: center; transition: background .15s;
}
.search-bar button:hover { background: var(--brand-deep); }
.search-bar button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 52px; flex-wrap: wrap; }
.pagination button {
  min-width: 44px; height: 44px; border: 1px solid var(--divider); border-radius: var(--radius);
  background: var(--white); color: var(--charcoal);
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  cursor: pointer; transition: border-color .15s, background .15s;
  display: grid; place-items: center;
}
.pagination button:hover:not(.pg-active):not(:disabled) { border-color: var(--brand); background: var(--green-100); }
.pagination button:disabled { opacity: .3; cursor: default; }
.pg-active { background: var(--brand) !important; color: var(--white) !important; border-color: var(--brand) !important; }

/* ── News Page ── */
.news-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-section { padding: var(--section-pad) 0; }

/* ── Article ── */
.article-wrap { max-width: 780px; margin: 0 auto; padding: clamp(60px, 7vw, 100px) var(--gutter) clamp(80px, 8vw, 120px); }
.article-meta {
  display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--stone); margin: 20px 0 30px; padding-bottom: 24px; border-bottom: 1px solid var(--divider);
}
.article-wrap h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 8px; }
.article-wrap h2 { font-size: 26px; margin: 40px 0 16px; }
.article-wrap p { margin-bottom: 20px; font-size: 17px; }
.article-wrap blockquote {
  margin: 32px 0; padding: 26px 30px;
  border-left: 3px solid var(--accent);
  background: var(--gold-100); font-style: italic; font-size: 20px; line-height: 1.6;
}
.sources-box {
  margin-top: 44px; padding: 26px 30px;
  background: var(--mist); border: 1px solid var(--divider);
  border-left: 3px solid var(--brand); border-radius: var(--radius);
}
.sources-box h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 14px; }
.sources-box ol { padding-left: 24px; display: grid; gap: 8px; font-size: 15px; color: var(--stone); }

.back-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand);
  text-decoration: none; margin-bottom: 36px; padding: 10px 0; font-size: 15px;
}
.back-link:hover { text-decoration: underline; }
.back-link::before { content: "←"; }

/* ── WA Float ── */
.wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 200;
  display: flex; align-items: center; gap: 12px;
  background: #25D366; color: #fff;
  padding: 16px 24px; border-radius: 99px;
  box-shadow: 0 4px 18px rgba(37,211,102,.3);
  text-decoration: none;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(37,211,102,.45); }
.wa-float:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; }
.wa-label { white-space: nowrap; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 560px; }
  .tentang-grid { grid-template-columns: 1fr; }
  .vm-grid, .news-grid, .news-page-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-grid, .focus-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .values-inner { grid-template-columns: 1fr; }
  .values-inner > div { border-right: 0; border-bottom: 1px solid var(--divider); }
  .values-inner > div:last-child { border-bottom: 0; }
  .division { grid-template-columns: 64px 1fr; }
  .division .badge { justify-self: start; margin-top: 6px; }
  .header-top { gap: 16px; min-height: 48px; }
  .brand { max-width: 260px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: 17px; }
  .header-right { gap: 8px; }

  .main-nav {
    position: fixed; inset: 100px 0 auto 0; z-index: 99;
    background: var(--white); border-bottom: 1px solid var(--divider);
    display: none; box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; gap: 2px; }
  .main-nav a { width: 100%; }
  .lang-toggle { margin-left: 0; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--divider); border-radius: var(--radius);
    background: var(--white); cursor: pointer; font-size: 22px; color: var(--charcoal);
  }
  .nav-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
}

@media (max-width: 640px) {
  .wa-float { padding: 0; width: 56px; height: 56px; border-radius: 50%; bottom: 24px; right: 24px; justify-content: center; }
  .wa-label { display: none; }
  .hero h1 { font-size: 38px; }
  .news-grid, .news-page-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand-name { font-size: 16px; }
  .brand { max-width: 170px; }
  .brand-logo { width: 38px; height: 38px; }
  .header-top { gap: 10px; }
  .header-right { gap: 6px; }
  /* CTA "Contact Us" disembunyikan di HP - header muat di layar kecil; kontak tetap ada di nav & footer */
  .nav-cta { display: none; }
  .lang-btn { padding: 6px 10px; font-size: 11px; }
  /* Panel PROFILE: susun vertikal supaya teks & tanggal tidak tumpang tindih di layar sempit */
  .panel-list div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .division { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
