/* Header & Navigation — champagne / antique brass from star reference */
header.topbar {
  position: sticky;
  top: 0;
  padding: 16px 3.3%;
  gap: 18px;
  background-color: #C5A059;
  background-image:
    linear-gradient(
      112deg,
      #6B4F27 0%,
      #8B6A3A 20%,
      #A67C3D 35%,
      #C5A059 50%,
      #A67C3D 65%,
      #8B6A3A 80%,
      #6B4F27 100%
    );
  border-bottom: none;
  color: #000000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
header.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -16deg,
      rgba(92, 61, 30, 0.05) 0 1px,
      transparent 1px 3px
    );
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
/* Nav bottom edge — clean even gold line */
header.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #C5A059;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 2;
}
header.topbar > * {
  position: relative;
  z-index: 1;
}
header.topbar nav {
  flex: 1;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 40px);
}
header.topbar .brand,
header.topbar .mark,
header.topbar .brand small,
header.topbar nav a,
header.topbar .menu {
  color: #000000;
  font-weight: 800;
}
header.topbar .mark {
  border-right-color: rgba(0, 0, 0, 0.35);
}
header.topbar nav a {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: color .2s ease;
}
header.topbar .lang-switch a {
  font-weight: 900;
}
header.topbar nav a:hover,
header.topbar nav a.active,
nav a.active {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  border: 1px solid #000000;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  box-shadow: none;
  white-space: nowrap;
}
.lang-switch span {
  display: none;
}
.lang-switch a {
  color: #000000;
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .14em;
  padding: 8px 13px;
  border-radius: 999px;
  line-height: 1;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.lang-switch a:hover {
  color: #000000;
  background: rgba(0, 0, 0, 0.12);
}
.lang-switch a.selected {
  background: #000000;
  color: #C5A059;
  box-shadow: none;
}

/* Home — gold page */
body:has(main.home-main) {
  color: #000000;
  background: #C5A059;
  background-image: linear-gradient(160deg, #ffd875 0%, #C5A059 45%, #e0b34a 100%);
}

/* Footer — match header metallic gold, bold black type */
footer {
  position: relative;
  overflow: hidden;
  background-color: #C5A059;
  background-image:
    linear-gradient(
      112deg,
      #5C3D1E 0%,
      #6B4F27 12%,
      #8B6A3A 24%,
      #A67C3D 38%,
      #C5A059 48%,
      #E8C98B 52%,
      #F1D38E 54%,
      #E8C98B 58%,
      #C5A059 68%,
      #A67C3D 80%,
      #6B4F27 92%,
      #5C3D1E 100%
    );
  color: #000000;
  border-top: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow:
    0 0 18px rgba(197, 160, 89, 0.35),
    0 -4px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(241, 211, 142, 0.5),
    inset 0 -1px 0 rgba(92, 61, 30, 0.4);
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -16deg,
      rgba(92, 61, 30, 0.07) 0 1px,
      transparent 1px 3px
    ),
    linear-gradient(
      100deg,
      transparent 0%,
      transparent 22%,
      rgba(232, 201, 139, 0.4) 38%,
      rgba(241, 211, 142, 0.55) 48%,
      rgba(232, 201, 139, 0.3) 58%,
      transparent 72%,
      transparent 100%
    );
  background-repeat: repeat, no-repeat;
  pointer-events: none;
  z-index: 0;
}
footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #3D2B1F 0%,
    #6B4E23 12%,
    #7a5d2a 22%,
    #b38728 38%,
    #C5A059 46%,
    #FEF1B5 50%,
    #C5A059 54%,
    #b38728 62%,
    #7a5d2a 78%,
    #6B4E23 88%,
    #3D2B1F 100%
  );
  box-shadow: 0 0 8px rgba(254, 241, 181, 0.45);
  pointer-events: none;
  z-index: 2;
}
footer > * {
  position: relative;
  z-index: 1;
  font-weight: 800;
  color: #000000;
}
footer a {
  color: #000000;
  font-weight: 800;
  text-decoration: none;
}
footer a:hover {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.home-main {
  max-width: none;
  padding: 0;
  min-height: 80vh;
  color: #000000;
}
.hero {
  position: relative;
  min-height: clamp(570px, 78vh, 900px);
  overflow: hidden;
  background: #000000;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.4) 75%),
              linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 60%);
}
.hero-caption {
  position: absolute;
  bottom: 12%;
  left: max(5%, calc((100vw - 1180px) / 2));
  max-width: 700px;
  color: #C5A059;
  padding-right: 24px;
}
.hero-caption span {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .2em;
  color: #000000;
  background: #C5A059;
  border: 1px solid #C5A059;
  padding: 9px 16px;
  line-height: 1.35;
}
.hero-caption h1 {
  color: #C5A059;
  border: 0;
  padding: 0;
  margin: 18px 0 30px;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.16;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.hero-cta {
  display: inline-block;
  border: 1px solid #C5A059;
  color: #000000;
  padding: 14px 22px;
  text-decoration: none;
  letter-spacing: .06em;
  font-size: 15px;
  font-weight: 800;
  background: #C5A059;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: all .2s ease;
}
.hero-cta:hover {
  background: transparent;
  color: #C5A059;
  border-color: #C5A059;
}
.home-intro {
  max-width: 1180px;
  margin: auto;
  padding: 70px 28px;
}
.home-intro h1 {
  font-size: 35px;
  color: #000000;
}
.home-main > .eyebrow,
.home-main > h1,
.home-main > .placeholder {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.home-main > .eyebrow {
  margin-top: 65px;
  color: #000000;
}
.placeholder {
  border: 1px solid #C5A059;
  background: linear-gradient(135deg, rgba(100, 211, 239, 0.72) 0%, rgba(74, 191, 224, 0.88) 100%);
  padding: 40px;
  margin-top: 30px;
  margin-bottom: 90px;
  min-height: 240px;
  border-left: 4px solid #C5A059;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.38);
}
.placeholder-tag {
  color: #C5A059;
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 700;
}
.placeholder p {
  color: #072838;
}
main:not(.home-main) {
  padding-top: 65px;
}

/* Client Artwork Hero (if picture used) */
.hero:has(img) {
  min-height: 0;
  background: #000000;
}
.hero > picture {
  display: block;
  width: 100%;
  background: #000000;
}
.hero:has(img) img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}
.hero:has(img) .hero-shade {
  display: none;
}
.hero:has(img) .hero-caption {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 32px max(28px, calc((100vw - 1180px) / 2)) 40px;
  background: #000000;
  color: #C5A059;
}
.hero:has(img) .hero-caption h1 {
  color: #C5A059;
}

section[id], main h2[id] {
  scroll-margin-top: 96px;
}
main h2 {
  font: 700 clamp(26px, 3vw, 40px)/1.3 'Playfair Display', serif;
  color: #072838;
  margin: 64px 0 28px;
}

/* Shared Inner Pages */
main.page-about,
main.page-expertise,
main.page-partners,
main.page-contact {
  max-width: none;
  padding: 0;
  min-height: 75vh;
}
.about-shell,
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px 40px;
}
.about-intro,
.page-intro {
  max-width: 760px;
  margin: 0 0 48px;
  padding: 0;
  background: none;
  color: inherit;
  box-shadow: none;
  position: static;
  display: block;
}
.about-intro h1,
.page-intro h1 {
  margin: 16px 0 0;
  border-bottom: 0;
  padding-bottom: 0;
  position: relative;
  color: #072838;
}
.about-intro h1::after,
.page-intro h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 26px;
  background: linear-gradient(90deg, #C5A059 0%, #64d3ef 65%, transparent 100%);
}

/* Paragraph Justification & Typography */
p,
.about-body,
.about-lead,
.case-card span {
  text-align: justify;
  text-justify: inter-word;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: .22em;
}
.about-kicker {
  color: #C5A059;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.about-lead {
  font: 700 clamp(20px, 2.15vw, 27px)/1.55 'Times New Roman', Times, Georgia, serif;
  color: #072838;
  margin: 0 0 28px;
}
.about-body {
  font-family: 'Times New Roman', Times, Georgia, serif;
  color: #072838;
  font-size: 18px;
  line-height: 1.85;
}
.about-body br {
  content: "";
  display: block;
  margin-top: .55em;
}
.about-body strong,
.about-body b {
  font-weight: 700;
  color: #072838;
}

/* CMS rich-text colors from admin WYSIWYG */
.cms-color-white,
.text-white { color: #ffffff !important; }
.cms-color-black,
.text-black { color: #111111 !important; }
.cms-color-gold,
.text-gold { color: #C5A059 !important; }

.sub-title-block {
  display: block;
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-top: 1.6rem;
  margin-bottom: 0.45rem;
  text-align: left;
  color: #C5A059;
}
.about-body > .sub-title-block:first-child,
.sub-title-block:first-child {
  margin-top: 0;
}

/* About Page */
.about-firm {
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 28px;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 320px);
}
.about-photo {
  position: sticky;
  top: 96px;
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  background: #3ab4d8;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  outline: 1px solid #C5A059;
  outline-offset: 10px;
}
.about-kesaksian-section {
  margin-top: 44px;
  margin-bottom: 12px;
}
.kesaksian-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #C5A059;
  border-left: 4px solid #C5A059;
  padding: 34px 36px 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}
.kesaksian-title {
  font: 700 clamp(22px, 2.1vw, 26px)/1.35 'Times New Roman', Times, Georgia, serif;
  color: #072838;
  margin: 0 0 16px;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: left;
}
.kesaksian-card .kesaksian-title:not(:first-child) {
  margin-top: 28px;
}
.kesaksian-trilogy {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .02em;
  color: #C5A059;
  text-align: left;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.kesaksian-trilogy div {
  margin-bottom: 4px;
}
.kesaksian-body {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 18px;
  line-height: 1.85;
  color: #072838;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 0;
}
.kesaksian-body strong,
.kesaksian-body b {
  color: #072838;
  font-weight: 700;
}
.about-pillars {
  margin-top: 38px;
  margin-bottom: 28px;
}
.about-pillars .about-body p {
  margin-bottom: 1.3em;
}
.about-vision-band {
  background:
    radial-gradient(ellipse 100% 80% at 100% 0%, #d0f6ff 0%, rgba(208, 246, 255, 0.65) 35%, transparent 65%),
    linear-gradient(160deg, #d0f6ff 0%, #8adef3 45%, #64d3ef 100%);
  color: #072838;
  margin-top: 28px;
  padding: 10px 0 96px;
  border-top: 1px solid rgba(100, 211, 239, 0.35);
  border-bottom: 1px solid rgba(100, 211, 239, 0.35);
}
.about-vision-band .about-shell {
  padding-top: 72px;
  padding-bottom: 0;
}
.about-vision-band h2 {
  font-family: 'Times New Roman', Times, Georgia, serif;
  color: #072838;
  margin: 0 0 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(100, 211, 239, 0.3);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 1.45rem;
}
'.about-vision-band .about-kicker {
  color: #C5A059;
}
.about-vision-band .about-body {
  color: #072838;
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.85;
}
.about-vision-band .about-body p {
  font-weight: 400;
  margin-bottom: 1.3em;
}
.about-vision-band .about-body strong,
.about-vision-band .about-body b {
  color: #072838;
  font-weight: 700;
}
.about-vision-band .about-body em,
.about-vision-band .about-body i {
  font-style: italic;
}
.about-vision-band .about-body strong em,
.about-vision-band .about-body em strong {
  color: #C5A059;
  font-weight: 700;
  font-style: italic;
}
.about-vision-band .sub-title-block {
  color: #C5A059;
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-top: 2.1rem;
  margin-bottom: .75rem;
  line-height: 1.45;
}
.about-vision .copy {
  max-width: 1050px;
}
.about-vision {
  margin-bottom: 0;
}

/* Expertise Page */
.exp-founder {
  margin-bottom: 18px;
}
.founder-lead-title {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.5;
  color: #072838;
  margin: 0 0 24px;
  text-align: left;
}
.exp-founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 48px;
}
.exp-founder-bio {
  padding: 28px 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #C5A059;
  border-left: 4px solid #C5A059;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}
.exp-bullet-list {
  list-style: none;
  margin: 14px 0 22px 0;
  padding: 0;
  color: #072838;
}
.exp-bullet-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}
.exp-bullet-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 7px;
  height: 7px;
  background-color: #C5A059;
  transform: rotate(45deg);
  border-radius: 1px;
}
.case-sub-list {
  list-style: none;
  margin: 6px 0 0 0;
  padding: 0;
}
.case-sub-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  line-height: 1.75;
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 16px;
  color: #072838;
  text-align: justify;
  text-justify: inter-word;
}
.case-sub-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5.5px;
  height: 5.5px;
  background-color: #C5A059;
  transform: rotate(45deg);
  border-radius: 1px;
}
.exp-band {
  background: linear-gradient(180deg, rgba(100, 211, 239, 0.12) 0%, rgba(100, 211, 239, 0.45) 50%, rgba(74, 191, 224, 0.75) 100%);
  border-top: 1px solid rgba(100, 211, 239, 0.3);
  border-bottom: 1px solid rgba(100, 211, 239, 0.3);
  margin-top: 48px;
}
.exp-band .page-shell {
  padding-top: 64px;
  padding-bottom: 64px;
}
.exp-band h2 {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #072838;
  margin-top: 0;
}
.exp-practice {
  margin: 0;
}
.exp-practice-lead {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: #072838;
  margin-bottom: 24px;
  font-weight: 700;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.practice-item {
  background: #cd8032;
  border: 1px solid #C5A059;
  border-top: 3px solid #C5A059;
  padding: 18px 20px;
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);
  transition: transform .2s ease, border-color .2s ease;
}
.practice-item:hover {
  border-color: #C5A059;
  transform: translateY(-2px);
}
.exp-experience-wrap {
  padding-top: 64px;
  padding-bottom: 96px;
}
.exp-experience-wrap h2 {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #072838;
  margin-top: 0;
  margin-bottom: 24px;
}
.exp-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.case-card {
  background: #cd8032;
  border: 1px solid #C5A059;
  border-left: 3px solid #C5A059;
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);
  transition: transform .2s ease, border-color .2s ease;
}
.case-card:hover {
  border-color: #C5A059;
  transform: translateY(-2px);
}
.case-card strong {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #000000;
}
.case-card span {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 16px;
  line-height: 1.75;
  color: #000000;
  text-align: justify;
  text-justify: inter-word;
}

/* Partners Page */
.partner-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 72px;
}
.partner-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #C5A059;
  border-left: 4px solid #C5A059;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}
.partner-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  background: #3ab4d8;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  outline: 1px solid #C5A059;
  outline-offset: 6px;
}
.partner-name {
  font: 700 clamp(20px, 2vw, 25px)/1.35 'Times New Roman', Times, Georgia, serif;
  color: #072838;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.partner-copy .about-body {
  margin: 0;
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 17.5px;
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
  color: #072838;
}
.partner-copy .about-body p {
  margin-bottom: 1.1em;
}
.partner-quote {
  font-style: italic;
  color: #C5A059;
  font-weight: 700;
  margin: 14px 0 16px;
  padding-left: 18px;
  border-left: 3px solid #C5A059;
  line-height: 1.7;
}

/* Contact Page */
.contact-shell {
  padding-bottom: 96px;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: start;
}
.contact-message {
  padding-right: 12px;
}
.contact-motto {
  font: 700 clamp(24px, 2.6vw, 34px)/1.35 'Times New Roman', Times, Georgia, serif;
  color: #072838;
  margin: 16px 0 0;
  max-width: none;
  text-align: left;
}
.contact-card {
  background: rgba(255, 255, 255, 0.72);
  color: #072838;
  padding: 34px 32px 36px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid #C5A059;
  border-left: 4px solid #C5A059;
}
.contact-card .about-kicker {
  color: #C5A059;
  margin-bottom: 26px;
}
.contact-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-list dt {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #072838;
  margin-bottom: 6px;
  font-weight: 700;
}
.contact-list dd {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #072838;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Times New Roman', Times, Georgia, serif;
}
.contact-list a {
  color: #072838;
  text-decoration: none;
  border-bottom: 1px solid #C5A059;
  width: fit-content;
  transition: color .2s ease, border-color .2s ease;
}
.contact-list a:hover {
  color: #C5A059;
  border-bottom-color: #C5A059;
}

/* Responsive */
@media (max-width: 980px) {
  header.topbar {
    flex-wrap: wrap;
  }
  header.topbar nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .about-firm,
  .partner-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-photo {
    position: static;
    width: 100%;
    max-width: none;
    order: -1;
  }
  .about-photo img {
    width: 100%;
    max-width: none;
    outline-offset: 6px;
  }
  .about-shell,
  .page-shell {
    padding: 52px 20px 28px;
  }
  .about-vision-band {
    padding-bottom: 72px;
  }
  .about-legacy {
    padding: 22px 18px;
  }
  .exp-founder-grid {
    grid-template-columns: 1fr;
  }
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .exp-cases {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  header.topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand menu lang"
      "nav nav nav";
    align-items: center;
    column-gap: 10px;
    row-gap: 12px;
  }
  header.topbar .brand {
    grid-area: brand;
    min-width: 0;
  }
  header.topbar .menu {
    grid-area: menu;
    margin: 0;
  }
  header.topbar .lang-switch {
    grid-area: lang;
    margin: 0;
  }
  header.topbar nav {
    display: none;
    grid-area: nav;
    flex-basis: auto;
    flex-direction: column;
    width: 100%;
  }
  header.topbar nav.open {
    display: flex;
  }
  .hero {
    min-height: 650px;
  }
  .hero-caption {
    left: 24px;
    bottom: 9%;
  }
  .hero-caption h1 {
    font-size: 39px;
  }
  .home-intro {
    padding: 45px 20px;
  }
  .placeholder {
    padding: 24px;
    margin: 25px 20px 60px;
  }
}
@media (max-width: 600px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .partner-card {
    padding: 20px;
  }
  .partner-photo {
    max-width: 220px;
  }
  .kesaksian-card {
    padding: 24px 20px 22px;
  }
  .contact-card {
    padding: 26px 20px;
  }
}

/* Page themes: dark (Firma Hukum / Partners) */
body:has(main.page-about),
body:has(main.page-partners) {
  background: #202020;
  background-image: none;
  color: #ffffff;
}
body:has(main.page-about) main,
body:has(main.page-partners) main,
body:has(main.page-about) main h1,
body:has(main.page-about) main h2,
body:has(main.page-partners) main h1,
body:has(main.page-partners) main h2,
body:has(main.page-about) .about-intro h1,
body:has(main.page-about) .page-intro h1,
body:has(main.page-partners) .page-intro h1,
body:has(main.page-about) .about-lead,
body:has(main.page-about) .about-body,
body:has(main.page-about) .kesaksian-body,
body:has(main.page-about) .about-vision-band,
body:has(main.page-about) .about-vision-band h2,
body:has(main.page-about) .about-vision-band .about-body,
body:has(main.page-partners) .partner-name,
body:has(main.page-partners) .partner-copy .about-body {
  color: #ffffff;
}
/* Firma: bold text gold; keep EXECUTIVE FIRM PROFILE (h1) white */
body:has(main.page-about) main strong,
body:has(main.page-about) main b,
body:has(main.page-about) .about-body strong,
body:has(main.page-about) .about-body b,
body:has(main.page-about) .kesaksian-body strong,
body:has(main.page-about) .kesaksian-body b,
body:has(main.page-about) .about-vision-band .about-body strong,
body:has(main.page-about) .about-vision-band .about-body b {
  color: #C5A059;
}
body:has(main.page-about) strong.text-white,
body:has(main.page-about) .text-white,
body:has(main.page-about) .cms-color-white {
  color: #ffffff !important;
}
body:has(main.page-about) .cms-color-black,
body:has(main.page-about) .text-black {
  color: #111111 !important;
}
body:has(main.page-about) .cms-color-gold,
body:has(main.page-about) .text-gold {
  color: #C5A059 !important;
}
body:has(main.page-about) .quote-rockefeller {
  margin-top: 0.35em;
  margin-bottom: 0.85em;
  letter-spacing: 0.02em;
}
body:has(main.page-about) .about-vision-band {
  background: #202020;
  border-top-color: #C5A059;
  border-bottom-color: #C5A059;
}
body:has(main.page-about) .kesaksian-card,
body:has(main.page-partners) .partner-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: #C5A059;
}
/* Footer stays metallic gold (same as header) on all pages */

/* Dark pages: page content keeps gold; nav follows global gold+black */
body:has(main.page-about) .eyebrow,
body:has(main.page-partners) .eyebrow,
body:has(main.page-about) .about-kicker,
body:has(main.page-partners) .about-kicker,
body:has(main.page-about) .kesaksian-title,
body:has(main.page-about) .kesaksian-trilogy,
body:has(main.page-about) .sub-title-block,
body:has(main.page-about) .about-vision-band .about-kicker,
body:has(main.page-about) .about-vision-band .sub-title-block,
body:has(main.page-about) .about-vision-band .about-body strong em,
body:has(main.page-about) .about-vision-band .about-body em strong,
body:has(main.page-partners) .partner-quote {
  color: #C5A059;
}
body:has(main.page-about) .about-intro h1::after,
body:has(main.page-partners) .page-intro h1::after {
  background: linear-gradient(90deg, #C5A059 0%, #64d3ef 65%, transparent 100%);
}
body:has(main.page-about) .kesaksian-card,
body:has(main.page-partners) .partner-card {
  border-left-color: #C5A059;
  border-color: #C5A059;
}
body:has(main.page-about) .about-vision-band {
  border-top-color: #C5A059;
  border-bottom-color: #C5A059;
}
body:has(main.page-about) .about-photo img,
body:has(main.page-partners) .partner-photo img {
  outline-color: #C5A059;
}

/* Keahlian / Kontak — same dark theme as Tentang; cards keep own styles */
body:has(main.page-expertise),
body:has(main.page-contact) {
  background: #202020;
  background-image: none;
  color: #ffffff;
}
body:has(main.page-expertise) main,
body:has(main.page-contact) main,
body:has(main.page-expertise) main h1,
body:has(main.page-expertise) main h2,
body:has(main.page-contact) main h1,
body:has(main.page-contact) main h2,
body:has(main.page-expertise) .page-intro h1,
body:has(main.page-contact) .page-intro h1,
body:has(main.page-expertise) .founder-lead-title,
body:has(main.page-expertise) .about-body,
body:has(main.page-expertise) .exp-band h2,
body:has(main.page-expertise) .exp-practice-lead,
body:has(main.page-expertise) .exp-experience-wrap h2,
body:has(main.page-contact) .about-lead,
body:has(main.page-contact) .contact-motto {
  color: #ffffff;
}
body:has(main.page-expertise) main strong,
body:has(main.page-expertise) main b,
body:has(main.page-expertise) .about-body strong,
body:has(main.page-expertise) .about-body b,
body:has(main.page-expertise) .founder-lead-title strong,
body:has(main.page-expertise) .exp-practice-lead strong,
body:has(main.page-contact) main strong,
body:has(main.page-contact) main b,
body:has(main.page-contact) .about-lead strong {
  color: #C5A059;
}
body:has(main.page-expertise) .page-intro h1::after,
body:has(main.page-contact) .page-intro h1::after {
  background: linear-gradient(90deg, #C5A059 0%, #64d3ef 65%, transparent 100%);
}
body:has(main.page-expertise) .eyebrow,
body:has(main.page-expertise) .about-kicker,
body:has(main.page-expertise) .sub-title-block,
body:has(main.page-contact) .eyebrow,
body:has(main.page-contact) .about-kicker,
body:has(main.page-contact) .sub-title-block {
  background: none;
}
body:has(main.page-expertise) .eyebrow,
body:has(main.page-expertise) .sub-title-block,
body:has(main.page-contact) .eyebrow,
body:has(main.page-contact) .sub-title-block {
  color: #C5A059;
}
body:has(main.page-expertise) .exp-band {
  background: #202020;
  border-top-color: #C5A059;
  border-bottom-color: #C5A059;
}

/* Keahlian cards — bidang jasa & non litigasi */
.page-expertise .practice-item,
.page-expertise .case-card,
body:has(main.page-expertise) .practice-item,
body:has(main.page-expertise) .case-card {
  background: #cd8032;
  border-color: #C5A059;
  border-left-color: #C5A059;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  color: #000000;
}
.page-expertise .practice-item,
body:has(main.page-expertise) .practice-item {
  border-top-color: #C5A059;
}
.page-expertise .case-card strong,
.page-expertise .case-card span,
.page-expertise .case-sub-list li,
body:has(main.page-expertise) .case-card strong,
body:has(main.page-expertise) .case-card span,
body:has(main.page-expertise) .case-sub-list li {
  color: #000000;
}
.page-expertise .case-card strong,
body:has(main.page-expertise) .case-card strong {
  color: #000000;
}
.page-expertise .case-sub-list li::before,
body:has(main.page-expertise) .case-sub-list li::before {
  background-color: #000000;
}
/* Keahlian: perkara-besar card — olive #354A21, white text, gold border */
body:has(main.page-expertise) .exp-founder-bio {
  background: #354A21;
  border-color: #C5A059;
  border-left-color: #C5A059;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: #ffffff;
}
body:has(main.page-expertise) .exp-founder-bio,
body:has(main.page-expertise) .exp-founder-bio p,
body:has(main.page-expertise) .exp-founder-bio .exp-bullet-list,
body:has(main.page-expertise) .exp-founder-bio .exp-bullet-list li {
  color: #ffffff;
}
body:has(main.page-expertise) .exp-founder-bio strong,
body:has(main.page-expertise) .exp-founder-bio b {
  color: #C5A059;
}

/* Kontak card — champagne brass fill + ornate metallic gradient border */
body:has(main.page-contact) .contact-card {
  position: relative;
  overflow: hidden;
  background-color: #C5A059;
  border: 3px solid transparent;
  border-left-width: 3px;
  background-image:
    linear-gradient(
      135deg,
      #5C3D1E 0%,
      #6B4F27 12%,
      #8B6A3A 24%,
      #A67C3D 40%,
      #C5A059 52%,
      #E8C98B 58%,
      #F1D38E 62%,
      #E8C98B 68%,
      #C5A059 78%,
      #A67C3D 90%,
      #6B4F27 100%
    ),
    linear-gradient(
      135deg,
      #3D2B1F 0%,
      #6B4E23 14%,
      #7a5d2a 26%,
      #b38728 40%,
      #C5A059 46%,
      #FEF1B5 50%,
      #C5A059 54%,
      #b38728 62%,
      #7a5d2a 76%,
      #6B4E23 88%,
      #3D2B1F 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 0 20px rgba(197, 160, 89, 0.38),
    0 0 44px rgba(166, 124, 61, 0.24),
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 0 10px rgba(254, 241, 181, 0.25),
    inset 0 1px 0 rgba(241, 211, 142, 0.45),
    inset 0 -1px 0 rgba(92, 61, 30, 0.35);
  color: #000000;
}
body:has(main.page-contact) .contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      rgba(92, 61, 30, 0.07) 0 1px,
      transparent 1px 3px
    ),
    linear-gradient(
      120deg,
      transparent 0%,
      transparent 16%,
      rgba(232, 201, 139, 0.4) 34%,
      rgba(241, 211, 142, 0.5) 46%,
      rgba(232, 201, 139, 0.28) 60%,
      transparent 76%,
      transparent 100%
    ),
    radial-gradient(
      90% 70% at 38% 28%,
      rgba(241, 211, 142, 0.3) 0%,
      transparent 60%
    );
  background-repeat: repeat, no-repeat, no-repeat;
  pointer-events: none;
  z-index: 0;
}
body:has(main.page-contact) .contact-card > * {
  position: relative;
  z-index: 1;
}
body:has(main.page-contact) .contact-card .about-kicker,
body:has(main.page-contact) .contact-list dt,
body:has(main.page-contact) .contact-list dd,
body:has(main.page-contact) .contact-list a {
  color: #000000;
  font-weight: 800;
}
body:has(main.page-contact) .contact-card .about-kicker {
  letter-spacing: .14em;
  font-size: 15.5px;
}
body:has(main.page-contact) .contact-list dt {
  font-size: 12px;
}
body:has(main.page-contact) .contact-list dd,
body:has(main.page-contact) .contact-list a {
  font-weight: 700;
  font-size: 18px;
}
body:has(main.page-contact) .contact-list a {
  border-bottom-color: #000000;
  border-bottom-width: 2px;
}
body:has(main.page-contact) .contact-list a:hover {
  color: #000000;
  border-bottom-color: #000000;
  text-decoration: underline;
}
