/* =========================================================
   Nadia Siti Rohman Law Firm — Stylesheet
   Palette: burgundy / wine + champagne gold + ivory cream
   ========================================================= */

:root {
  /* Brand */
  --c-primary: #6B1F2F;        /* deep burgundy */
  --c-primary-dark: #4A1420;   /* bordeaux */
  --c-primary-deep: #2C0D15;   /* near-black wine */
  --c-accent: #C9A961;         /* champagne gold */
  --c-accent-soft: #E6D4A3;    /* pale gold */

  /* Surfaces */
  --c-ivory: #FAF5EE;
  --c-cream: #F3EADB;
  --c-paper: #FFFFFF;

  /* Text */
  --c-ink: #1F1A18;
  --c-ink-soft: #4A3F3B;
  --c-muted: #7A6E69;
  --c-light: #D9CDBF;

  /* Type */
  --f-serif: "Cormorant Garamond", "Georgia", serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--c-primary); }
ul { list-style: none; padding: 0; margin: 0; }
p { margin: 0 0 1em; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--c-primary-deep);
  color: var(--c-light);
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar__inner {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
  padding: 10px 28px;
}
.topbar__item { opacity: .85; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(107,31,47,.08);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(31,26,24,.06); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  background: var(--c-primary);
  color: var(--c-accent-soft);
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .08em;
  border-radius: 2px;
  border: 1px solid var(--c-accent);
}
.brand__mark--footer {
  background: transparent;
  color: var(--c-accent);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__line1 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--c-ink);
  letter-spacing: .01em;
}
.brand__line2 {
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 2px;
}

.nav ul {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--c-ink-soft);
  padding: 8px 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c-accent);
  transition: width .3s var(--ease);
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--c-primary); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--c-light);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 20px; height: 1.5px;
  background: var(--c-primary);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 130px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(44,13,21,.88) 0%, rgba(74,20,32,.78) 55%, rgba(107,31,47,.7) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(201,169,97,.25), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'><rect fill='%23280d13' width='1600' height='900'/><g fill='none' stroke='%23C9A961' stroke-opacity='.07' stroke-width='1'><path d='M0 700 L1600 300'/><path d='M0 750 L1600 350'/><path d='M0 800 L1600 400'/><path d='M0 650 L1600 250'/></g></svg>");
  background-size: cover;
  background-position: center;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 24px;
  font-weight: 500;
}
.eyebrow--dark { color: var(--c-primary); }
.eyebrow--light { color: var(--c-accent); }

.hero__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}
.hero__title em {
  font-style: italic;
  color: var(--c-accent);
  font-weight: 500;
}
.hero__lead {
  max-width: 640px;
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 40px;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 48px;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: 720px;
}
.hero__meta strong {
  font-family: var(--f-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--c-accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.hero__meta span {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  display: grid;
  place-items: center;
}
.hero__scroll span {
  width: 3px; height: 8px;
  background: var(--c-accent);
  border-radius: 2px;
  animation: scroll 1.8s infinite;
}
@keyframes scroll {
  0%   { transform: translateY(-8px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  font-family: var(--f-sans);
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-primary-deep);
  border-color: var(--c-accent);
}
.btn--primary:hover {
  background: #d8ba77;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,169,97,.3);
  color: var(--c-primary-deep);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.btn--dark {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn--dark:hover {
  background: var(--c-primary-dark);
  color: var(--c-accent-soft);
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
}
.section--light { background: var(--c-paper); }
.section--cream { background: var(--c-ivory); }
.section--dark {
  background: var(--c-primary-deep);
  color: #fff;
}
.section__head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
  gap: 32px;
  flex-wrap: wrap;
}
.section__lead {
  color: var(--c-muted);
  font-size: 1.02rem;
  margin-top: 14px;
}
.section__foot {
  text-align: center;
  margin-top: 60px;
}

.h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0;
}
.h2--light { color: #fff; }
.accent { color: var(--c-primary); font-style: italic; }
.accent-light { color: var(--c-accent); font-style: italic; }

.grid {
  display: grid;
  gap: 64px;
}
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--align { align-items: center; }

.intro__text p {
  color: var(--c-ink-soft);
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--c-primary);
  font-weight: 500;
  letter-spacing: .04em;
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 4px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow:hover {
  gap: 12px;
  color: var(--c-primary-dark);
}
.link-arrow--sm {
  font-size: 12px;
  padding-bottom: 2px;
}

/* ---------- Cards (practice areas) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-light);
  border: 1px solid var(--c-light);
}
.card {
  background: var(--c-ivory);
  padding: 44px 36px;
  position: relative;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.card:hover {
  background: var(--c-paper);
  transform: translateY(-4px);
}
.card__num {
  font-family: var(--f-serif);
  font-size: 14px;
  color: var(--c-accent);
  letter-spacing: .2em;
  display: block;
  margin-bottom: 20px;
}
.card h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 12px;
  color: var(--c-ink);
}
.card p {
  color: var(--c-muted);
  font-size: .95rem;
  margin: 0;
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  gap: 32px;
}
.pillar {
  padding: 28px 0;
  border-top: 1px solid rgba(201,169,97,.25);
}
.pillar:last-child { border-bottom: 1px solid rgba(201,169,97,.25); }
.pillar h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--c-accent);
  margin: 0 0 8px;
}
.pillar p {
  color: rgba(255,255,255,.78);
  margin: 0;
  font-size: .98rem;
}

/* ---------- Insights posts ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.post {
  border-top: 2px solid var(--c-primary);
  padding-top: 24px;
}
.post__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.post__meta span:last-child { color: var(--c-muted); }
.post h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 12px;
  line-height: 1.3;
}
.post p {
  color: var(--c-muted);
  font-size: .95rem;
  margin-bottom: 16px;
}

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,97,.2), transparent 70%);
  border-radius: 50%;
}
.cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.cta h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
  max-width: 620px;
  line-height: 1.25;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-primary-deep);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer h5 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-accent);
  margin: 0 0 20px;
  letter-spacing: .04em;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer a:hover { color: var(--c-accent); }
.footer__tag {
  margin: 16px 0 18px;
  color: rgba(255,255,255,.85);
}
.footer__addr {
  line-height: 1.7;
  color: rgba(255,255,255,.6);
}
.footer__contact li { color: rgba(255,255,255,.8); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom a {
  color: rgba(255,255,255,.65);
  margin: 0 4px;
}

/* ---------- Page banner (for inner pages) ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary-deep) 0%, var(--c-primary) 100%);
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 320px; height: 320px;
  border: 1px solid rgba(201,169,97,.25);
  border-radius: 50%;
}
.page-banner::before {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 400px; height: 400px;
  border: 1px solid rgba(201,169,97,.12);
  border-radius: 50%;
}
.page-banner__inner {
  position: relative;
}
.crumbs {
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.crumbs a:hover { color: #fff; }
.page-banner h1 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin: 0 0 18px;
  line-height: 1.1;
}
.page-banner p {
  max-width: 640px;
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.member {
  background: var(--c-paper);
  border: 1px solid var(--c-light);
  padding: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.member:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(44,13,21,.12);
}
.member__photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--c-cream), var(--c-light));
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.member__photo::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(to top, rgba(44,13,21,.45), transparent);
}
.member__initials {
  font-family: var(--f-serif);
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--c-primary);
  opacity: .35;
  position: relative;
  z-index: 1;
}
.member__body {
  padding: 26px 28px 30px;
}
.member__role {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 8px;
  font-weight: 500;
}
.member__name {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: var(--c-ink);
}
.member__bio {
  font-size: .92rem;
  color: var(--c-muted);
  margin: 0;
}

/* ---------- Services list ---------- */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--c-light);
}
.service-item {
  padding: 40px 40px 40px 0;
  border-bottom: 1px solid var(--c-light);
}
.service-item:nth-child(even) {
  padding-left: 40px;
  padding-right: 0;
  border-left: 1px solid var(--c-light);
}
.service-item__num {
  font-family: var(--f-serif);
  font-size: 2rem;
  color: var(--c-accent);
  display: block;
  margin-bottom: 12px;
}
.service-item h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 14px;
  color: var(--c-ink);
}
.service-item p {
  color: var(--c-muted);
  margin: 0 0 16px;
  font-size: .97rem;
}
.service-item ul {
  padding-left: 0;
}
.service-item li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: .92rem;
  color: var(--c-ink-soft);
}
.service-item li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 1px;
  background: var(--c-accent);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-info {
  background: var(--c-primary-deep);
  color: #fff;
  padding: 48px 40px;
}
.contact-info h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  color: var(--c-accent);
  font-size: 1.6rem;
  margin: 0 0 30px;
}
.contact-info__item {
  padding: 22px 0;
  border-top: 1px solid rgba(201,169,97,.2);
}
.contact-info__item:last-child { border-bottom: 1px solid rgba(201,169,97,.2); }
.contact-info__item strong {
  display: block;
  color: var(--c-accent);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-info__item span {
  color: rgba(255,255,255,.85);
  font-size: .98rem;
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 20px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font-family: var(--f-sans);
  font-size: .98rem;
  color: var(--c-ink);
  background: var(--c-paper);
  border: 1px solid var(--c-light);
  border-radius: 2px;
  padding: 14px 16px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(107,31,47,.08);
}
.field textarea { resize: vertical; min-height: 140px; }
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .topbar__inner { justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 12px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-light); padding: 12px 28px 20px; transform: translateY(-6px); opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--c-ivory); }
  .menu-toggle { display: inline-grid; place-items: center; }

  .hero { padding: 70px 0 90px; }
  .hero__meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero__meta strong { font-size: 1.8rem; }

  .section { padding: 70px 0; }
  .section__head { margin-bottom: 48px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }

  .grid--2 { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr 1fr; gap: 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .services-list { grid-template-columns: 1fr; }
  .service-item, .service-item:nth-child(even) {
    padding: 32px 0;
    border-left: none;
  }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .field--row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .brand__line1 { font-size: 17px; }
  .brand__line2 { font-size: 10px; }
  .brand__mark { width: 42px; height: 42px; font-size: 15px; }
  .cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr; text-align: left; }
  .hero__meta > div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

  /* Mobile insights cards — 2 kolom kompak, hanya judul + gambar */
  .posts { gap: 14px; }
  .posts--with-media .post__body { padding: 14px 14px 16px; }

  /* Judul dibatasi 2 baris max + ellipsis, reserve tinggi seragam */
  .posts--with-media .post__body h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
  }
  .posts--with-media .post__body h3 a { color: inherit; }

  /* Sembunyikan excerpt agar kartu seragam */
  .posts--with-media .post__body p { display: none; }

  .posts--with-media .post__meta {
    font-size: 10px;
    letter-spacing: .08em;
    margin-bottom: 6px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .posts--with-media .link-arrow { font-size: 11px; }
  .post__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 380px) {
  /* Layar sangat kecil — balik ke 1 kolom biar tetap readable */
  .posts { grid-template-columns: 1fr; }
  .posts--with-media .post__body { padding: 22px 24px 26px; }
  .posts--with-media .post__body h3 {
    font-size: 1.22rem;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    min-height: 0;
  }
  .posts--with-media .post__body p {
    display: block;
    font-size: .94rem;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 3px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(201, 169, 97, .35);
  border-radius: 999px;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font: 500 11px/1 var(--f-sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.is-active {
  background: var(--c-accent);
  color: var(--c-primary-deep);
}

/* Topbar adjustments so switcher aligns nicely */
.topbar__inner { align-items: center; }
.topbar__item.topbar__item--sep::before {
  content: "·";
  margin-right: 16px;
  opacity: .5;
}

@media (max-width: 960px) {
  .lang-switch { margin-left: 0; }
  .lang-switch button { padding: 5px 10px; font-size: 10px; }
}


/* ============================================================
   Single Insight — article layout, share, author, related
   ============================================================ */
.article-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
}
.article-meta__tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(201,169,97,.45);
  color: var(--c-accent);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.article-wrap { padding-top: 64px; }
.article-container {
  max-width: 780px;
  margin: 0 auto;
}
.article-hero {
  margin: 0 0 56px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(44,13,21,.08);
  background: var(--c-cream);
  aspect-ratio: 16 / 9;
}
.article-hero img,
.article-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  max-height: none;
}

/* Editor content */
.prose {
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--c-ink-soft);
}
.prose > * + * { margin-top: 1.15em; }
.prose p { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4 {
  font-family: var(--f-serif);
  color: var(--c-ink);
  line-height: 1.3;
  margin: 2em 0 .65em;
  font-weight: 600;
}
.prose h2 { font-size: 1.85rem; }
.prose h3 { font-size: 1.45rem; }
.prose h4 { font-size: 1.2rem; }
.prose a {
  color: var(--c-primary);
  border-bottom: 1px solid var(--c-accent);
}
.prose a:hover {
  color: var(--c-primary-dark);
  border-bottom-color: var(--c-primary-dark);
}
.prose strong { color: var(--c-ink); }
.prose blockquote {
  border-left: 3px solid var(--c-accent);
  margin: 1.8em 0;
  padding: .5em 0 .5em 1.5em;
  font-family: var(--f-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--c-primary);
}
.prose ul, .prose ol {
  padding-left: 1.4em;
  margin: 0 0 1.15em;
}
.prose ul { list-style: none; padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: .4em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .8em;
  width: 10px; height: 1px;
  background: var(--c-accent);
}
.prose ol li { margin-bottom: .4em; }
.prose img { border-radius: 2px; margin: 1.5em 0; }
.prose code {
  background: var(--c-ivory);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: .92em;
  color: var(--c-primary);
}
.prose pre {
  background: var(--c-primary-deep);
  color: #f3eadb;
  padding: 20px 24px;
  border-radius: 2px;
  overflow-x: auto;
  font-size: .92rem;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--c-light);
  margin: 3em 0;
}

/* Share block */
.share {
  margin: 60px 0 48px;
  padding: 28px 32px;
  background: var(--c-ivory);
  border-left: 3px solid var(--c-accent);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}
.share__label {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-primary);
  font-weight: 500;
}
.share__buttons { display: flex; gap: 10px; }
.share__btn {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--c-primary);
  border: 1px solid var(--c-light);
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.share__btn:hover {
  background: var(--c-primary);
  color: var(--c-accent-soft);
  border-color: var(--c-primary);
  transform: translateY(-2px);
}
.share__btn svg { display: block; }
.share__copied {
  font-size: 12px;
  color: var(--c-primary);
  opacity: 0;
  transition: opacity .3s var(--ease);
  margin-left: 4px;
}
.share__copied.is-shown { opacity: 1; }

/* Author card */
.author-card {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--c-paper);
  border: 1px solid var(--c-light);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.author-card__avatar img,
.author-card__img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  border: 2px solid var(--c-accent-soft);
}
.author-card__kicker {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
}
.author-card h4 {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  margin: 4px 0 8px;
  color: var(--c-ink);
}
.author-card p {
  color: var(--c-muted);
  font-size: .95rem;
  margin: 0;
}

/* Pagination (insights archive) */
.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  margin: 0 3px;
  border: 1px solid var(--c-light);
  color: var(--c-ink-soft);
  font-size: 13px;
  letter-spacing: .05em;
  transition: all .25s var(--ease);
}
.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-primary-deep);
}

/* Footer widget area */
.footer-col { min-width: 0; }
.footer-col .footer-widget + .footer-widget {
  margin-top: 28px;
}
/* Nav Menu widget inside footer */
.footer-col .menu,
.footer-col .widget_nav_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col .menu li,
.footer-col .widget_nav_menu li {
  margin-bottom: 10px;
}
.footer-col .widget_text p,
.footer-col .widget_custom_html {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

/* Responsive single insight */
@media (max-width: 720px) {
  .share { padding: 22px 20px; gap: 12px; }
  .article-meta { font-size: 12px; gap: 8px; }
  .author-card { padding: 22px 20px; gap: 16px; flex-direction: column; }
  .author-card__avatar img,
  .author-card__img { width: 60px; height: 60px; }
}


/* ============================================================
   Homepage imagery — hero visual & intro photo (WP theme)
   ============================================================ */

.hero__inner {
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero__content { min-width: 0; }

.hero__visual {
  position: relative;
  min-height: 520px;
}
.hero__frame {
  position: absolute;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(201,169,97,.25);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.9) contrast(1.02);
}
.hero__frame--lg {
  top: 0;
  right: 0;
  width: 78%;
  height: 420px;
}
.hero__frame--sm {
  bottom: 0;
  left: 0;
  width: 55%;
  height: 230px;
  border-color: rgba(201,169,97,.45);
}
.hero__frame--sm::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(107,31,47,.55));
}

.hero__badge {
  position: absolute;
  right: -8px;
  bottom: 64px;
  background: var(--c-accent);
  color: var(--c-primary-deep);
  padding: 16px 20px;
  border-radius: 2px;
  min-width: 120px;
  box-shadow: 0 16px 40px rgba(201,169,97,.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--f-serif);
}
.hero__badge span {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-primary);
  font-weight: 500;
}
.hero__badge strong { font-size: 2.4rem; line-height: 1; font-weight: 600; }
.hero__badge sup { font-size: .85rem; margin-left: 4px; font-weight: 500; }
.hero__meta { grid-column: 1 / -1; }

.grid--intro {
  grid-template-columns: .85fr 1fr;
  gap: 72px;
  align-items: center;
}
.intro__col { min-width: 0; }
.intro__photo {
  position: relative;
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 60px rgba(44,13,21,.15);
}
.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.intro__photo:hover img { transform: scale(1.04); }
.intro__caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(44,13,21,.78);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 14px 18px;
  border-left: 2px solid var(--c-accent);
  font-family: var(--f-serif);
  font-size: 1rem;
  line-height: 1.3;
}
.intro__caption span {
  display: block;
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 3px;
  font-weight: 500;
}

/* Insights teaser cards with cover image */
.posts--with-media .post {
  border-top: 0;
  padding-top: 0;
  background: var(--c-paper);
  border: 1px solid var(--c-light);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.posts--with-media .post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(44,13,21,.1);
}
.post__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 2px solid var(--c-primary);
  background: var(--c-cream);
}
.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.post--card:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 22px 24px 28px; }
.post__body .post__meta { margin-bottom: 14px; }
.post__body h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.22rem;
  margin: 0 0 10px;
  line-height: 1.3;
  color: var(--c-ink);
}
.post__body p { color: var(--c-muted); font-size: .94rem; margin-bottom: 14px; }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { min-height: 440px; max-width: 560px; }
  .grid--intro { grid-template-columns: 1fr; gap: 40px; }
  .intro__photo { max-width: 520px; margin: 0 auto; aspect-ratio: 5 / 4; }
}
@media (max-width: 640px) {
  .hero__visual { min-height: 360px; }
  .hero__frame--lg { width: 82%; height: 280px; }
  .hero__frame--sm { width: 60%; height: 170px; bottom: 0; }
  .hero__badge { right: -4px; bottom: 48px; padding: 12px 16px; min-width: 100px; }
  .hero__badge strong { font-size: 1.9rem; }
}

/* ============================================================
   Prose images — uniform, proportional, well-framed
   Berlaku di single-insight.php (.article-body/.prose) dan
   content editor Gutenberg (.wp-block-image).
   ============================================================ */

.prose img,
.article-body img,
.wp-block-image img,
.wp-block-image.is-resized img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  margin: 2em auto;
  border-radius: 2px;
  box-shadow: 0 14px 36px rgba(44,13,21,.12);
}

.prose figure,
.article-body figure,
.wp-block-image {
  margin: 2.4em 0;
  max-width: 100%;
}
.prose figure img,
.article-body figure img,
.wp-block-image img { margin: 0; }

.prose figcaption,
.article-body figcaption,
.wp-block-image figcaption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--c-accent);
  font-family: var(--f-serif);
  font-size: .98rem;
  font-style: italic;
  color: var(--c-muted);
  text-align: left;
}

.prose .alignleft,
.article-body .alignleft,
.wp-block-image.alignleft {
  float: left;
  width: 45%;
  max-width: 340px;
  margin: 0.4em 28px 1em 0;
}
.prose .alignright,
.article-body .alignright,
.wp-block-image.alignright {
  float: right;
  width: 45%;
  max-width: 340px;
  margin: 0.4em 0 1em 28px;
}
.prose .aligncenter,
.article-body .aligncenter,
.wp-block-image.aligncenter { margin-left: auto; margin-right: auto; }

.prose .alignwide,
.article-body .alignwide,
.wp-block-image.alignwide {
  margin-left: -40px;
  margin-right: -40px;
}
.prose .alignfull,
.article-body .alignfull,
.wp-block-image.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}
.prose .alignfull img,
.article-body .alignfull img,
.wp-block-image.alignfull img { max-height: 600px; border-radius: 0; }

.wp-block-gallery,
.prose .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 2.4em 0;
  list-style: none;
  padding: 0;
}
.wp-block-gallery .blocks-gallery-item,
.wp-block-gallery .wp-block-image { margin: 0 !important; }
.wp-block-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-height: none;
  margin: 0;
}
.wp-block-gallery.columns-2 { grid-template-columns: repeat(2, 1fr); }
.wp-block-gallery.columns-4 { grid-template-columns: repeat(4, 1fr); }

.prose p > img:only-child,
.article-body p > img:only-child { display: block; margin: 2em auto; }

@media (max-width: 720px) {
  .prose img,
  .article-body img,
  .wp-block-image img { max-height: 380px; }
  .prose .alignleft,
  .prose .alignright,
  .article-body .alignleft,
  .article-body .alignright,
  .wp-block-image.alignleft,
  .wp-block-image.alignright {
    float: none; width: 100%; max-width: 100%; margin: 1.5em 0;
  }
  .prose .alignwide,
  .article-body .alignwide,
  .wp-block-image.alignwide { margin-left: 0; margin-right: 0; }
  .wp-block-gallery,
  .wp-block-gallery.columns-2,
  .wp-block-gallery.columns-3,
  .wp-block-gallery.columns-4 { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   Team — horizontal scrollable rows (Partners, Senior Associates)
   ============================================================ */

.team-row { position: relative; }

.team-row__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 72px) / 3));
  gap: 36px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 28px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-accent) transparent;
}
.team-row__track::-webkit-scrollbar { height: 6px; }
.team-row__track::-webkit-scrollbar-track {
  background: rgba(201, 169, 97, .12);
  border-radius: 3px;
}
.team-row__track::-webkit-scrollbar-thumb {
  background: var(--c-accent);
  border-radius: 3px;
}
.team-row__track::-webkit-scrollbar-thumb:hover { background: var(--c-primary); }
.team-row__track .member {
  scroll-snap-align: start;
  min-width: 0;
}

.team-row__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--c-primary);
  border: 1px solid var(--c-light);
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 10px 28px rgba(44, 13, 21, .18);
  transition: all .25s var(--ease);
  padding: 0;
}
.team-row__nav:hover {
  background: var(--c-primary);
  color: var(--c-accent-soft);
  border-color: var(--c-primary);
  transform: translateY(-50%) scale(1.06);
}
.team-row__nav svg { width: 20px; height: 20px; }
.team-row__nav--prev { left: -22px; }
.team-row__nav--next { right: -22px; }
.team-row__nav[disabled] {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}

.team-row::before,
.team-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 28px;
  width: 48px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.team-row::before { left: 0; background: linear-gradient(to right, var(--c-ivory), transparent); }
.team-row::after  { right: 0; background: linear-gradient(to left,  var(--c-ivory), transparent); }
.team-row.has-prev::before { opacity: 1; }
.team-row.has-next::after  { opacity: 1; }

.section--cream .team-row::before { background: linear-gradient(to right, var(--c-ivory), transparent); }
.section--cream .team-row::after  { background: linear-gradient(to left,  var(--c-ivory), transparent); }
.section--light .team-row::before { background: linear-gradient(to right, var(--c-paper), transparent); }
.section--light .team-row::after  { background: linear-gradient(to left,  var(--c-paper), transparent); }

@media (max-width: 960px) {
  .team-row__track {
    grid-auto-columns: minmax(260px, calc((100% - 20px) / 2));
    gap: 20px;
  }
  .team-row__nav { display: none; }
}
@media (max-width: 560px) {
  .team-row__track {
    grid-auto-columns: 82%;
    gap: 16px;
  }
}


/* ============================================================
   Maps frame — proportional, responsive
   ============================================================ */
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--c-light);
  background: var(--c-cream);
  box-shadow: 0 14px 40px rgba(44, 13, 21, .08);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (min-width: 1100px) {
  .map-frame { aspect-ratio: 21 / 9; }
}

@media (max-width: 900px) {
  .map-frame { aspect-ratio: 16 / 10; }
}

.map-section {
  background: var(--c-paper) !important;
  padding-top: 0 !important;
  padding-bottom: 70px !important;
  margin-top: -80px;
}

@media (max-width: 960px) {
  .map-section {
    padding-bottom: 48px !important;
    margin-top: -56px;
  }
}
