:root {
  --plum-950: #321130;
  --plum-900: #42163f;
  --plum-800: #542052;
  --plum-700: #67295f;
  --teal-900: #0c5558;
  --teal-700: #147c7f;
  --teal-600: #178b8d;
  --teal-100: #dff3f1;
  --orange-600: #ef5a32;
  --orange-100: #fff0e9;
  --ink-950: #102730;
  --ink-800: #243a42;
  --ink-600: #53666d;
  --ivory: #fffaf5;
  --paper: #ffffff;
  --line: #e6ddd6;
  --shadow-sm: 0 10px 30px rgba(16, 39, 48, 0.08);
  --shadow-md: 0 22px 60px rgba(33, 25, 35, 0.13);
  --shadow-lg: 0 34px 90px rgba(28, 14, 30, 0.18);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shell: 1480px;
  --header-height: 92px;
  --transition: 220ms cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  color: var(--ink-950);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-locked { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { color: white; background: var(--plum-800); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 10px;
  color: white;
  background: var(--plum-800);
  text-decoration: none;
  transition: top var(--transition);
}
.skip-link:focus { top: 18px; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 2000;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--plum-800), var(--teal-600), var(--orange-600));
}

.content-shell,
.header-shell,
.footer-shell,
.footer-bottom-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(84,32,82,.10);
  backdrop-filter: saturate(1.4) blur(18px);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(16,39,48,.10); }
.header-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--plum-800) 0 42%, var(--teal-600) 42% 83%, var(--orange-600) 83% 100%);
}
.header-shell {
  min-height: calc(var(--header-height) - 4px);
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(220px, 22vw, 330px);
  flex: 0 0 auto;
  text-decoration: none;
}
.brand img { display: block; width: 100%; height: auto; }
.primary-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(3px, .45vw, 9px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item { position: static; }
.nav-item-row { display: flex; align-items: center; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 clamp(7px, .7vw, 12px);
  color: var(--ink-950);
  border-radius: 10px;
  font-size: clamp(12.8px, .92vw, 14.5px);
  font-weight: 720;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-link::after {
  position: absolute;
  content: "";
  left: 11px;
  right: 11px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-600), var(--orange-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover,
.nav-item.is-active > .nav-item-row .nav-link,
.nav-item:focus-within > .nav-item-row .nav-link { color: var(--plum-800); background: #fbf5fa; }
.nav-link:hover::after,
.nav-item.is-active > .nav-item-row .nav-link::after { transform: scaleX(1); }
.mega-toggle {
  width: 26px;
  height: 40px;
  margin-left: -8px;
  padding: 0;
  color: var(--ink-600);
  border: 0;
  background: transparent;
}
.mega-toggle svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform var(--transition); }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: min(calc(100vw - 40px), 1440px);
  max-height: min(76vh, 760px);
  overflow: auto;
  padding: 26px;
  color: var(--ink-950);
  background: rgba(255,255,255,.99);
  border: 1px solid rgba(84,32,82,.12);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.has-mega:hover > .mega-menu,
.has-mega:focus-within > .mega-menu,
.has-mega.mega-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega-menu::before {
  position: absolute;
  content: "";
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--plum-800), var(--teal-600), var(--orange-600));
}
.mega-intro {
  padding: 12px 20px 22px;
  border-bottom: 1px solid var(--line);
}
.mega-intro h2 {
  margin: 4px 0 7px;
  font: 760 clamp(24px, 2.2vw, 36px)/1.1 Georgia, "Times New Roman", serif;
  color: var(--plum-800);
}
.mega-intro p { max-width: 720px; margin: 0 0 10px; color: var(--ink-600); }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 20px 8px;
}
.mega-group h3 {
  margin: 0 0 11px;
  color: var(--teal-900);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mega-group ul { margin: 0; padding: 0; list-style: none; }
.mega-group li + li { margin-top: 3px; }
.mega-group a {
  display: block;
  padding: 7px 0;
  color: var(--ink-800);
  font-size: 13.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}
.mega-group a:hover { color: var(--plum-800); transform: translateX(4px); }
.text-link {
  color: var(--plum-800);
  font-weight: 760;
  text-underline-offset: 4px;
}
.nav-toggle,
.nav-overlay { display: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange-600); }

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - var(--header-height)));
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(23,139,141,.13), transparent 27%),
    radial-gradient(circle at 83% 16%, rgba(239,90,50,.12), transparent 26%),
    linear-gradient(135deg, #fff 0%, var(--ivory) 55%, #f8f1f7 100%);
}
.hero::after {
  position: absolute;
  content: "";
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(84,32,82,.24), transparent);
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr);
  align-items: center;
  gap: clamp(44px, 6vw, 100px);
  padding-block: 76px;
}
.hero-copy h1,
.page-hero h1 {
  max-width: 920px;
  margin: 18px 0 22px;
  color: var(--ink-950);
  font: 780 clamp(44px, 5.4vw, 82px)/1.02 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
.hero-copy h1::first-line { color: var(--plum-800); }
.hero-copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-600);
  font-size: clamp(17px, 1.3vw, 21px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.primary-button { color: white; background: linear-gradient(135deg, var(--plum-800), var(--plum-700)); box-shadow: 0 14px 28px rgba(84,32,82,.22); }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(84,32,82,.30); }
.secondary-button { color: var(--plum-800); background: white; border: 1px solid rgba(84,32,82,.20); }
.secondary-button:hover { color: white; background: var(--teal-700); border-color: var(--teal-700); transform: translateY(-2px); }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; color: var(--ink-600); font-size: 13px; font-weight: 700; }
.hero-trust-row span { position: relative; padding-left: 18px; }
.hero-trust-row span::before { position: absolute; content: ""; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-600); box-shadow: 0 0 0 4px rgba(23,139,141,.12); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-seal-wrap {
  position: relative;
  width: min(500px, 86%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-lg);
  animation: seal-float 7s ease-in-out infinite;
}
.hero-seal-wrap::before,
.hero-seal-wrap::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  border: 1px solid rgba(23,139,141,.25);
}
.hero-seal-wrap::before { inset: -22px; }
.hero-seal-wrap::after { inset: -48px; border-style: dashed; border-color: rgba(239,90,50,.24); animation: spin 24s linear infinite; }
.hero-seal-wrap img { width: 100%; border-radius: 50%; }
.hero-orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 520px; height: 520px; right: -260px; top: -210px; border: 60px solid rgba(84,32,82,.045); }
.hero-orbit-two { width: 360px; height: 360px; left: -160px; bottom: -190px; border: 40px solid rgba(23,139,141,.06); }
.floating-chip {
  position: absolute;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ink-950);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.chip-one { left: 0; top: 22%; }
.chip-two { right: -4%; top: 42%; }
.chip-three { left: 10%; bottom: 12%; }

.section { padding: clamp(78px, 8vw, 126px) 0; }
.section-tight { padding-top: 88px; }
.section-heading { max-width: 830px; margin-bottom: 42px; }
.section-heading h2,
.about-copy h2,
.cta-band h2,
.footer-contact-panel h2 {
  margin: 11px 0 15px;
  color: var(--ink-950);
  font: 760 clamp(34px, 4vw, 58px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.section-heading p,
.about-copy > p { margin: 0; color: var(--ink-600); font-size: 17px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.service-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  color: var(--ink-950);
  background: linear-gradient(155deg, white, #fffaf7);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card::before {
  position: absolute;
  content: "";
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--plum-800), var(--teal-600), var(--orange-600));
  transform: scaleX(.32);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-7px); border-color: rgba(84,32,82,.25); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-index { color: var(--orange-600); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.service-card h3 { margin: 22px 0 11px; color: var(--plum-800); font: 760 27px/1.15 Georgia, "Times New Roman", serif; }
.service-card p { margin: 0 0 30px; color: var(--ink-600); font-size: 15px; }
.service-arrow { position: absolute; left: 30px; bottom: 28px; display: inline-flex; align-items: center; gap: 9px; color: var(--teal-700); font-size: 13px; font-weight: 800; }
.service-arrow svg,
.category-group-card svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.about-section { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(48px, 7vw, 110px); }
.about-visual { display: grid; place-items: center; }
.about-frame { width: min(480px, 90%); padding: 26px; background: white; border: 1px solid var(--line); border-radius: 44px; box-shadow: var(--shadow-md); transform: rotate(-2deg); }
.about-frame img { display: block; border-radius: 30px; }
.about-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 34px; }
.about-points article { padding: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.about-points strong { display: block; color: var(--plum-800); font: 760 22px Georgia, serif; }
.about-points span { color: var(--ink-600); font-size: 13px; }

.process-section { background: linear-gradient(180deg, white, #fcf8fb); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.process-card { padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.process-card > span { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: white; background: var(--teal-700); font-weight: 900; }
.process-card:nth-child(2) > span { background: var(--plum-800); }
.process-card:nth-child(3) > span { background: var(--orange-600); }
.process-card h3 { margin: 20px 0 7px; font: 760 25px Georgia, serif; color: var(--ink-950); }
.process-card p { margin: 0; color: var(--ink-600); }

.cta-band { position: relative; overflow: hidden; padding: 66px 0; color: white; background: linear-gradient(120deg, var(--plum-950), var(--plum-800) 48%, var(--teal-900)); }
.cta-band::before { position: absolute; content: ""; width: 420px; height: 420px; right: -160px; top: -250px; border: 54px solid rgba(255,255,255,.07); border-radius: 50%; }
.cta-band .eyebrow { color: #9ee7df; }
.cta-band h2 { max-width: 850px; margin-bottom: 0; color: white; }
.cta-band-grid { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.page-hero { position: relative; overflow: hidden; padding: 108px 0 84px; background: linear-gradient(135deg, #fff 0%, var(--ivory) 62%, #f6ecf4); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 70px; }
.page-hero-copy p { max-width: 800px; margin: 0 0 28px; color: var(--ink-600); font-size: 19px; }
.page-hero-card { padding: 32px; color: white; background: linear-gradient(150deg, var(--plum-900), var(--teal-900)); border-radius: 28px; box-shadow: var(--shadow-lg); }
.page-hero-card span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.page-hero-card strong { display: block; margin: 12px 0 2px; font: 760 72px/1 Georgia, serif; }
.page-hero-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.page-hero-orbit { position: absolute; width: 520px; height: 520px; right: -270px; bottom: -330px; border: 58px solid rgba(23,139,141,.08); border-radius: 50%; }

.category-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.category-group-card { position: relative; padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.category-group-number { color: var(--orange-600); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.category-group-card h2 { margin: 10px 0 20px; color: var(--plum-800); font: 760 28px/1.15 Georgia, serif; }
.category-group-card ul { margin: 0; padding: 0; list-style: none; }
.category-group-card li { scroll-margin-top: calc(var(--header-height) + 28px); }
.category-group-card li + li { border-top: 1px solid #eee7e2; }
.category-group-card a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; color: var(--ink-800); text-decoration: none; transition: color var(--transition), padding var(--transition); }
.category-group-card a:hover { color: var(--teal-700); padding-left: 5px; }

.site-footer { position: relative; overflow: hidden; color: rgba(255,255,255,.84); background: #102730; }
.footer-shell { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .85fr 1.05fr; gap: clamp(36px, 5vw, 80px); padding-block: 80px 66px; }
.footer-kicker { display: block; margin-bottom: 10px; color: #8fddd6; font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.footer-brand-row { display: flex; align-items: center; gap: 18px; }
.footer-brand-row img { width: 98px; height: 98px; object-fit: cover; border-radius: 50%; background: white; box-shadow: 0 12px 34px rgba(0,0,0,.24); }
.footer-brand-row h2 { margin: 3px 0 0; color: white; font: 760 34px/1 Georgia, serif; }
.footer-brand-panel > p { max-width: 520px; color: rgba(255,255,255,.68); }
.footer-about-link { color: #ffb49b; font-weight: 760; text-underline-offset: 4px; }
.footer-nav-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 18px; }
.footer-nav-grid a { color: rgba(255,255,255,.78); text-decoration: none; transition: color var(--transition), transform var(--transition); }
.footer-nav-grid a:hover { color: white; transform: translateX(3px); }
.footer-contact-panel h2 { margin-top: 6px; color: white; font-size: 34px; }
.contact-stack { display: grid; gap: 10px; }
.contact-stack a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); text-decoration: none; }
.contact-stack span { color: #8fddd6; font-size: 12px; font-weight: 800; }
.contact-stack strong { color: white; text-align: right; }
.contact-placeholder { padding: 16px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: 14px; }
.contact-placeholder code { color: #ffb49b; }
.office-locations { margin-top: 18px; padding: 16px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: 14px; }
.office-locations span { display: block; margin-bottom: 7px; color: #8fddd6; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.office-locations address { margin: 0; color: white; font-style: normal; font-weight: 700; line-height: 1.65; }
.working-hours { color: rgba(255,255,255,.58); font-size: 13px; }
.footer-glow { position: absolute; border-radius: 50%; filter: blur(4px); }
.footer-glow-one { width: 420px; height: 420px; left: -250px; top: -230px; background: rgba(84,32,82,.56); }
.footer-glow-two { width: 360px; height: 360px; right: -240px; bottom: -220px; background: rgba(23,139,141,.28); }
.footer-bottom { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-shell { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; }
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a { color: rgba(255,255,255,.67); font-size: 13px; text-decoration: none; }
.footer-bottom a:hover { color: white; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--plum-800);
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }
.legal-placeholders { height: 0; overflow: hidden; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes seal-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 1260px) {
  :root { --header-height: 82px; }
  .brand { width: 240px; }
  .nav-link { padding-inline: 7px; font-size: 12.4px; }
  .mega-toggle { margin-left: -7px; }
  .mega-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 1099px) {
  :root { --header-height: 80px; }
  .header-shell { min-height: 76px; }
  .brand { width: min(270px, calc(100vw - 110px)); }
  .nav-toggle {
    display: grid;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 12px;
    place-content: center;
    gap: 5px;
    color: var(--plum-800);
    background: #fbf5fa;
    border: 1px solid rgba(84,32,82,.14);
    border-radius: 13px;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: currentColor; transition: transform var(--transition), opacity var(--transition); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    position: fixed;
    inset: 80px 0 0 auto;
    width: min(92vw, 460px);
    height: calc(100dvh - 80px);
    overflow-y: auto;
    margin: 0;
    padding: 22px;
    background: white;
    box-shadow: -24px 0 60px rgba(16,39,48,.18);
    transform: translateX(105%);
    transition: transform var(--transition);
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-overlay { position: fixed; inset: 80px 0 0; display: block; background: rgba(16,39,48,.48); opacity: 0; visibility: hidden; transition: var(--transition); }
  .nav-overlay.is-visible { opacity: 1; visibility: visible; }
  .nav-list { display: block; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-item-row { justify-content: space-between; }
  .nav-link { flex: 1; min-height: 58px; padding: 0 4px; font-size: 16px; }
  .nav-link::after { display: none; }
  .mega-toggle { width: 48px; height: 48px; margin: 0; border-radius: 10px; }
  .mega-menu {
    position: static;
    width: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 420ms ease;
  }
  .has-mega:hover > .mega-menu,
  .has-mega:focus-within > .mega-menu { max-height: 0; }
  .has-mega.mega-open > .mega-menu { max-height: 3000px; }
  .mega-menu::before { display: none; }
  .mega-intro { padding: 12px 4px 18px; }
  .mega-intro h2 { font-size: 25px; }
  .mega-grid { grid-template-columns: 1fr; gap: 18px; padding: 18px 4px 26px; }
  .mega-group a { padding: 8px 0; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 70px 88px; }
  .hero-visual { min-height: 430px; }
  .hero-seal-wrap { width: min(420px, 74vw); }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .process-grid { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-card { max-width: 360px; }
  .footer-shell { grid-template-columns: 1fr 1fr; }
  .footer-contact-panel { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .content-shell,
  .header-shell,
  .footer-shell,
  .footer-bottom-shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand { width: min(230px, calc(100vw - 96px)); }
  .hero-grid { padding-block: 56px 72px; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(38px, 12vw, 58px); }
  .hero-copy > p { font-size: 17px; }
  .hero-visual { min-height: 340px; }
  .hero-seal-wrap { width: min(330px, 74vw); padding: 16px; }
  .floating-chip { display: none; }
  .section { padding: 74px 0; }
  .section-heading h2, .about-copy h2, .cta-band h2, .footer-contact-panel h2 { font-size: 36px; }
  .service-grid, .category-groups { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .about-points { grid-template-columns: 1fr; }
  .cta-band-grid { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 72px 0 64px; }
  .footer-shell { grid-template-columns: 1fr; padding-block: 62px 50px; }
  .footer-contact-panel { grid-column: auto; }
  .footer-bottom-shell { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
  .footer-bottom nav { flex-wrap: wrap; }
  .back-to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Tathagat Index Platinum Full Update v2 ===== */

.narrow-shell { width: min(calc(100% - 40px), 900px); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.split-heading > div { max-width: 900px; }
.text-link.prominent { flex: 0 0 auto; padding-bottom: 4px; font-size: 15px; }
.secondary-button.light { color: var(--plum-800); background: white; border-color: rgba(84,32,82,.18); }
.secondary-button.light:hover { color: white; background: var(--plum-800); }
.cta-band p { max-width: 760px; margin: 10px 0 0; color: rgba(255,255,255,.72); }

.breadcrumbs { position: relative; z-index: 3; margin-bottom: 32px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 9px; color: var(--ink-600); font-size: 13px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: rgba(84,32,82,.35); }
.breadcrumbs a { color: var(--teal-700); font-weight: 700; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

.journal-showcase { background: linear-gradient(180deg, #fff, #fffaf5); }
.journal-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.journal-preview-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.journal-preview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.journal-logo-box { display: grid; place-items: center; min-height: 180px; padding: 24px; background: linear-gradient(145deg, #fff, #fbf5fa); }
.journal-logo-box img { max-width: 100%; max-height: 138px; object-fit: contain; }
.journal-preview-copy { padding: 24px; }
.journal-preview-copy > span { color: var(--teal-700); font-size: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.journal-preview-copy h3 { margin: 10px 0 8px; font: 760 23px/1.25 Georgia, "Times New Roman", serif; }
.journal-preview-copy h3 a { text-decoration: none; }
.journal-preview-copy h3 a:hover { color: var(--plum-800); }
.journal-preview-copy p { margin: 0; color: var(--ink-600); font-size: 13px; }

.resource-preview-section { background: #fbf8fb; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.article-card { display: flex; flex-direction: column; min-height: 320px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.article-category { display: inline-flex; align-self: flex-start; padding: 7px 11px; color: var(--plum-800); background: #f8edf6; border-radius: 999px; font-size: 11px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.article-card h3 { margin: 20px 0 10px; font: 760 26px/1.2 Georgia, "Times New Roman", serif; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { color: var(--teal-700); }
.article-card p { flex: 1; margin: 0; color: var(--ink-600); }
.article-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 16px; color: var(--ink-600); border-top: 1px solid var(--line); font-size: 12px; }
.article-meta.large { justify-content: flex-start; gap: 24px; border: 0; padding: 0; font-size: 14px; }

.scope-section { background: linear-gradient(180deg, #fffaf5, white); }
.scope-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(40px, 7vw, 100px); }
.scope-list { display: grid; gap: 14px; }
.scope-list article { display: grid; grid-template-columns: 52px 1fr; align-items: start; gap: 18px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 26px rgba(16,39,48,.05); }
.scope-list article > span { display: grid; place-items: center; width: 52px; height: 52px; color: white; background: linear-gradient(145deg, var(--plum-800), var(--teal-700)); border-radius: 15px; font-size: 12px; font-weight: 900; }
.scope-list p { margin: 3px 0 0; color: var(--ink-800); }

.journal-directory-section { background: #fff; }
.journal-filter-bar { position: sticky; top: calc(var(--header-height) + 12px); z-index: 20; display: grid; grid-template-columns: minmax(260px,1fr) minmax(210px,300px) auto; align-items: center; gap: 14px; margin-bottom: 34px; padding: 14px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); }
.search-field { position: relative; display: block; }
.search-field svg { position: absolute; left: 16px; top: 50%; width: 20px; transform: translateY(-50%); fill: none; stroke: var(--ink-600); stroke-width: 1.8; pointer-events: none; }
.search-field input, .subject-field select { width: 100%; height: 52px; color: var(--ink-950); background: #fff; border: 1px solid #ded6d0; border-radius: 13px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.search-field input { padding: 0 16px 0 48px; }
.subject-field select { padding: 0 42px 0 15px; }
.search-field input:focus, .subject-field select:focus { border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(23,139,141,.12); }
.journal-result-count { justify-self: end; color: var(--ink-600); font-size: 13px; white-space: nowrap; }
.journal-result-count strong { color: var(--plum-800); font-size: 20px; }
.journal-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.journal-directory-card { display: grid; grid-template-columns: 42% 58%; min-height: 410px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition); }
.journal-directory-card[hidden] { display: none !important; }
.journal-directory-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.journal-cover { position: relative; display: block; min-height: 100%; overflow: hidden; background: #f3efec; }
.journal-cover::after { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg, transparent 72%, rgba(16,39,48,.08)); pointer-events: none; }
.journal-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 500ms ease; }
.journal-directory-card:hover .journal-cover img { transform: scale(1.03); }
.journal-card-body { display: flex; flex-direction: column; padding: 22px; }
.journal-card-logo { display: grid; place-items: center; min-height: 74px; margin-bottom: 12px; padding: 8px; background: #fff; border: 1px solid #eee6e1; border-radius: 12px; }
.journal-card-logo img { max-height: 58px; object-fit: contain; }
.journal-short-name { color: var(--teal-700); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.journal-card-body h2 { margin: 8px 0 14px; font: 760 20px/1.25 Georgia, "Times New Roman", serif; }
.journal-card-body h2 a { text-decoration: none; }
.journal-card-body h2 a:hover { color: var(--plum-800); }
.journal-meta-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid #eee7e2; border-bottom: 1px solid #eee7e2; }
.journal-meta-row span { color: var(--ink-600); font-size: 12px; }
.journal-meta-row strong { color: var(--plum-800); }
.subject-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.subject-tags span, .large-subject-tags span { display: inline-flex; padding: 6px 9px; color: var(--teal-900); background: var(--teal-100); border-radius: 999px; font-size: 10.5px; font-weight: 800; }
.journal-card-actions { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 18px; }
.card-button { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 14px; color: white; background: var(--plum-800); border-radius: 11px; font-size: 13px; font-weight: 800; text-decoration: none; }
.card-button:hover { background: var(--teal-700); }
.icon-button { display: grid; place-items: center; width: 43px; height: 43px; color: var(--teal-700); background: #eff8f7; border-radius: 11px; }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.empty-state { padding: 70px 24px; text-align: center; background: #fffaf5; border: 1px dashed #d9cbc1; border-radius: var(--radius-md); }
.empty-state h2 { margin: 0 0 8px; color: var(--plum-800); font: 760 30px Georgia, serif; }
.empty-state p { margin: 0; color: var(--ink-600); }
.journal-guidance-section { background: linear-gradient(180deg, #fffaf5, #fff); }

.profile-hero { padding: 76px 0 88px; background: linear-gradient(135deg, #fff, #fffaf5 58%, #f4ebf3); }
.profile-hero-grid { display: grid; grid-template-columns: minmax(240px,390px) 1fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.profile-cover { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.profile-cover img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.profile-logo { display: grid; place-items: center; width: min(100%, 520px); min-height: 120px; margin-bottom: 26px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.profile-logo img { max-height: 92px; object-fit: contain; }
.profile-copy h1 { max-width: 900px; margin: 10px 0 26px; color: var(--ink-950); font: 780 clamp(42px,5.4vw,78px)/1.03 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.profile-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.profile-facts article { padding: 16px; background: rgba(255,255,255,.76); border: 1px solid rgba(84,32,82,.12); border-radius: 14px; }
.profile-facts span { display: block; color: var(--ink-600); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.profile-facts strong { display: block; margin-top: 5px; color: var(--plum-800); }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.profile-information-section { background: white; }
.profile-information-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.information-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.information-card h2 { margin: 8px 0 24px; color: var(--plum-800); font: 760 32px/1.15 Georgia, serif; }
.information-list { margin: 0; }
.information-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.information-list dt { color: var(--ink-600); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.information-list dd { margin: 0; overflow-wrap: anywhere; }
.information-list a { color: var(--teal-700); font-weight: 700; }
.large-subject-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.large-subject-tags span { padding: 10px 14px; font-size: 13px; }
.verification-note { margin: 26px 0 0; padding: 18px; color: var(--ink-600); background: #fffaf5; border-left: 4px solid var(--orange-600); border-radius: 0 12px 12px 0; }
.profile-checklist-section { background: #fbf8fb; }

.resource-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.resource-category-card { position: relative; overflow: hidden; min-height: 310px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.resource-category-card::before { position: absolute; content: ""; width: 160px; height: 160px; right: -80px; top: -80px; background: radial-gradient(circle, rgba(23,139,141,.16), transparent 68%); border-radius: 50%; }
.resource-category-card > span { color: var(--orange-600); font-size: 12px; font-weight: 900; }
.resource-category-card h2 { margin: 20px 0 12px; color: var(--plum-800); font: 760 30px/1.12 Georgia, serif; }
.resource-category-card p { margin: 0 0 24px; color: var(--ink-600); }
.resource-category-card a { color: var(--teal-700); font-weight: 800; text-underline-offset: 4px; }
.latest-resources-section { background: #fbf8fb; }
.resource-directory-section { background: white; }

.service-detail-hero { padding: 82px 0 90px; background: linear-gradient(135deg, #fff, #fffaf5 62%, #f4ebf3); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 330px; align-items: center; gap: 70px; }
.service-detail-copy h1 { max-width: 900px; margin: 8px 0 20px; color: var(--ink-950); font: 780 clamp(44px,6vw,82px)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.service-detail-copy > p { max-width: 800px; color: var(--ink-600); font-size: 19px; }
.service-summary-card { padding: 30px; color: white; background: linear-gradient(145deg, var(--plum-900), var(--teal-900)); border-radius: 26px; box-shadow: var(--shadow-lg); }
.service-summary-card span { color: #a7e7df; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.service-summary-card strong { display: block; margin: 16px 0 10px; font: 760 34px/1.1 Georgia, serif; }
.service-summary-card p { margin: 0; color: rgba(255,255,255,.7); }
.service-overview-section { background: white; }
.service-process-section { background: #fbf8fb; }
.related-services-section { background: white; }
.related-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.related-link-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 18px 20px; color: var(--ink-800); background: white; border: 1px solid var(--line); border-radius: 15px; font-weight: 750; text-decoration: none; box-shadow: 0 8px 22px rgba(16,39,48,.04); transition: transform var(--transition), color var(--transition), border-color var(--transition); }
.related-link-card:hover { color: var(--teal-700); border-color: rgba(23,139,141,.35); transform: translateY(-3px); }
.related-link-card svg { width: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }

.article-hero { padding: 84px 0 64px; background: linear-gradient(135deg, #fff, #fffaf5 66%, #f5edf4); }
.article-hero h1 { margin: 18px 0 18px; color: var(--ink-950); font: 780 clamp(42px,6vw,74px)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.article-hero > .content-shell > p { color: var(--ink-600); font-size: 19px; }
.article-content { padding: 70px 0 90px; }
.article-lead { margin-bottom: 38px; padding: 24px; color: var(--ink-800); background: #fffaf5; border-left: 5px solid var(--orange-600); border-radius: 0 16px 16px 0; font-size: 19px; }
.article-lead p { margin: 0; }
.article-text-section { padding: 30px 0; border-top: 1px solid var(--line); }
.article-text-section h2 { margin: 0 0 12px; color: var(--plum-800); font: 760 34px/1.16 Georgia, serif; }
.article-text-section p { margin: 0; color: var(--ink-800); font-size: 17px; }
.article-note { margin-top: 30px; padding: 26px; color: white; background: linear-gradient(135deg, var(--plum-900), var(--teal-900)); border-radius: 20px; }
.article-note strong { display: block; margin-bottom: 8px; color: #a7e7df; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.article-note p { margin: 0; color: rgba(255,255,255,.8); }

.legal-hero { padding: 80px 0 58px; background: linear-gradient(135deg, #fff, #fffaf5); }
.legal-hero h1 { margin: 8px 0 16px; color: var(--ink-950); font: 780 clamp(44px,6vw,72px)/1.03 Georgia, serif; }
.legal-hero p { color: var(--ink-600); font-size: 18px; }
.legal-content-section { background: #fbf8fb; }
.legal-content-card { padding: 42px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.legal-text-section + .legal-text-section { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--line); }
.legal-text-section h2 { margin: 0 0 10px; color: var(--plum-800); font: 760 30px Georgia, serif; }
.legal-text-section p { margin: 0; color: var(--ink-800); }
.legal-review-note { margin-top: 40px; padding: 20px; color: var(--ink-600); background: #fffaf5; border: 1px solid #eadfd7; border-radius: 14px; }

.error-section { min-height: 70vh; display: grid; place-items: center; padding: 90px 0; background: linear-gradient(135deg, #fff, #fffaf5, #f4ebf3); }
.error-card { max-width: 850px; padding: 58px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-lg); }
.error-code { display: block; color: var(--orange-600); font: 900 84px/1 Georgia, serif; }
.error-card h1 { margin: 16px 0 12px; color: var(--plum-800); font: 760 44px/1.1 Georgia, serif; }
.error-card p { color: var(--ink-600); font-size: 18px; }
.error-card .hero-actions { justify-content: center; }

.footer-resource-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-resource-links a { padding: 7px 10px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.06); border-radius: 999px; font-size: 11px; text-decoration: none; }
.footer-resource-links a:hover { color: white; background: rgba(255,255,255,.12); }
.office-network { margin-top: 18px; padding: 16px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: 14px; }
.office-network span { display: block; margin-bottom: 7px; color: #8fddd6; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.office-network strong { color: white; line-height: 1.65; }
.floating-whatsapp { position: fixed; right: 24px; bottom: 84px; z-index: 900; display: grid; place-items: center; width: 50px; height: 50px; color: white; background: var(--teal-700); border: 3px solid white; border-radius: 50%; box-shadow: var(--shadow-md); font-size: 12px; font-weight: 900; text-decoration: none; transition: transform var(--transition), background var(--transition); }
.floating-whatsapp:hover { background: var(--plum-800); transform: translateY(-3px); }

@media (max-width: 1350px) {
  .journal-directory-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .journal-preview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 1099px) {
  .journal-filter-bar { top: 92px; grid-template-columns: 1fr 240px; }
  .journal-result-count { grid-column: 1 / -1; justify-self: start; }
  .scope-grid, .profile-hero-grid, .service-detail-grid { grid-template-columns: 1fr; }
  .profile-cover { max-width: 380px; }
  .profile-information-grid { grid-template-columns: 1fr; }
  .resource-category-grid, .article-grid, .related-link-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .narrow-shell { width: min(calc(100% - 28px), 900px); }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .journal-preview-grid, .article-grid, .resource-category-grid, .related-link-grid { grid-template-columns: 1fr; }
  .journal-filter-bar { position: static; grid-template-columns: 1fr; }
  .journal-result-count { grid-column: auto; }
  .journal-directory-grid { grid-template-columns: 1fr; }
  .journal-directory-card { grid-template-columns: 38% 62%; min-height: 390px; }
  .profile-facts { grid-template-columns: 1fr; }
  .information-list > div { grid-template-columns: 1fr; gap: 6px; }
  .service-detail-copy h1, .profile-copy h1, .article-hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .legal-content-card, .error-card { padding: 28px; }
  .floating-whatsapp { right: 14px; bottom: 76px; }
}

@media (max-width: 520px) {
  .journal-directory-card { grid-template-columns: 1fr; }
  .journal-cover { max-height: 430px; }
  .journal-card-body { min-height: 360px; }
}

/* ===== Mobile Navigation Fix v4.1 =====
   Full-width mobile/tablet panel, compact accordion and no horizontal overflow. */
@media (max-width: 1099px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.nav-locked {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  .site-header {
    isolation: isolate;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    width: 100vw;
    max-width: none;
    min-width: 0;
    height: calc(100dvh - var(--header-height));
    margin: 0;
    padding:
      12px max(14px, env(safe-area-inset-right))
      calc(30px + env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: none;
    transform: translate3d(100%, 0, 0);
    transition: transform 260ms cubic-bezier(.2,.7,.2,1);
  }

  .primary-nav.is-open {
    transform: translate3d(0, 0, 0);
  }

  /* The menu itself covers the viewport; a separate dark overlay is unnecessary. */
  .nav-overlay,
  .nav-overlay.is-visible {
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-list {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 0;
  }

  .nav-item {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }

  .nav-item-row {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding-inline: 4px;
    background: #fff;
  }

  .nav-item.is-active > .nav-item-row,
  .nav-item.mega-open > .nav-item-row {
    background: #fbf5fa;
    border-radius: 11px;
  }

  .nav-link {
    min-width: 0;
    min-height: 58px;
    padding: 0 8px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .mega-toggle {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .mega-menu {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    background: #fffafc;
    border: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 420ms ease;
  }

  .has-mega:hover > .mega-menu,
  .has-mega:focus-within > .mega-menu {
    max-height: 0;
  }

  .has-mega.mega-open > .mega-menu {
    max-height: 5000px;
  }

  /* Desktop-style promotional intro is too wide and repetitive on phones. */
  .mega-intro {
    display: none;
  }

  .mega-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    padding: 2px 16px 18px 20px;
  }

  .mega-group {
    min-width: 0;
    padding: 15px 0 12px;
    border-top: 1px solid #eee4eb;
  }

  .mega-group:first-child {
    border-top: 0;
  }

  .mega-group h3 {
    margin: 0 0 7px;
    color: var(--teal-900);
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .10em;
  }

  .mega-group ul,
  .mega-group li {
    min-width: 0;
  }

  .mega-group a {
    display: block;
    min-width: 0;
    padding: 9px 0;
    color: var(--ink-800);
    font-size: 14px;
    line-height: 1.42;
    overflow-wrap: anywhere;
    transform: none;
  }

  .mega-group a:hover,
  .mega-group a:focus-visible {
    color: var(--plum-800);
    transform: none;
  }
}

@media (max-width: 520px) {
  .primary-nav {
    padding-top: 9px;
    padding-inline: 10px;
  }

  .nav-link {
    font-size: 15px;
  }

  .mega-grid {
    padding-inline: 16px;
  }

  .mega-group a {
    font-size: 13.5px;
  }
}

/* ===== Mobile Submenu Alignment Fix v4.2 =====
   Neutralises the desktop mega-menu translate on opened mobile accordions. */
@media (max-width: 1099px) {
  .primary-nav .has-mega > .mega-menu,
  .primary-nav .has-mega:hover > .mega-menu,
  .primary-nav .has-mega:focus-within > .mega-menu,
  .primary-nav .has-mega.mega-open > .mega-menu {
    position: static;
    inset: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none !important;
  }

  .primary-nav .has-mega > .mega-menu {
    max-height: 0;
  }

  .primary-nav .has-mega.mega-open > .mega-menu {
    max-height: 5000px;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .primary-nav .mega-grid,
  .primary-nav .mega-group,
  .primary-nav .mega-group ul,
  .primary-nav .mega-group li,
  .primary-nav .mega-group a {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none !important;
  }
}


/* ===== Definitive Mobile Accordion Fix v4.3 =====
   Uses display-based accordions and resets every desktop positioning property.
   This prevents submenu content from being translated or clipped off the left edge. */
@media (max-width: 1099px) {
  .primary-nav,
  .primary-nav .nav-list,
  .primary-nav .nav-item,
  .primary-nav .nav-item-row,
  .primary-nav .mega-menu,
  .primary-nav .mega-grid,
  .primary-nav .mega-group,
  .primary-nav .mega-group ul,
  .primary-nav .mega-group li,
  .primary-nav .mega-group a {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .primary-nav .nav-item {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .primary-nav .has-mega > .mega-menu,
  .primary-nav .has-mega:hover > .mega-menu,
  .primary-nav .has-mega:focus-within > .mega-menu {
    display: none !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    translate: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    background: #fffafc !important;
    border: 0 !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: none !important;
  }

  .primary-nav .has-mega.mega-open > .mega-menu {
    display: block !important;
  }

  .primary-nav .mega-menu::before,
  .primary-nav .mega-intro {
    display: none !important;
  }

  .primary-nav .mega-grid {
    display: block !important;
    position: static !important;
    inset: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 4px 18px 18px !important;
    overflow: visible !important;
    translate: none !important;
    transform: none !important;
  }

  .primary-nav .mega-group {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px 0 12px !important;
    overflow: visible !important;
    border-top: 1px solid #eee4eb;
    translate: none !important;
    transform: none !important;
  }

  .primary-nav .mega-group:first-child {
    border-top: 0;
  }

  .primary-nav .mega-group ul,
  .primary-nav .mega-group li {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    overflow: visible !important;
    list-style: none !important;
    translate: none !important;
    transform: none !important;
  }

  .primary-nav .mega-group a {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 9px 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    translate: none !important;
    transform: none !important;
  }
}

@media (max-width: 520px) {
  .primary-nav .mega-grid {
    padding-inline: 16px !important;
  }
}
