/* Unified Global Philippines — White & Emerald City Register */

:root {
  --bg: #ffffff;
  --bg-mist: #f5f7f5;
  --bg-forest: #0f3d2e;
  --accent: #1b6b4a;
  --accent-hover: #145339;
  --mint: #9be0bf;
  --ink: #111c17;
  --ink-muted: #415149;
  --ink-on-forest: #f4f9f6;
  --ink-on-forest-muted: #c8dcd2;
  --line: #dce3de;
  --line-strong: #c2cec7;
  --line-forest: rgba(255, 255, 255, 0.24);
  --font-display: "IBM Plex Sans", Arial, sans-serif;
  --font-body: Geist, Arial, sans-serif;
  --display-weight: 500;
  --shadow-menu: 0 12px 28px rgba(17, 28, 23, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1.25rem, 3vw, 3.25rem);
  --max-w: 83.75rem;
  --section-space: clamp(3.25rem, 6vw, 6.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-strong) var(--bg);
  scrollbar-width: thin;
  overflow-x: clip;
  max-width: 100%;
}

::selection {
  background: var(--bg-forest);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-mist);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 2px solid var(--bg-mist);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  caret-color: var(--accent);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1.5px;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-header :focus-visible,
.page-hero :focus-visible,
.hero-register :focus-visible,
.service-register :focus-visible,
.section-forest :focus-visible,
.service-sidebar-card :focus-visible {
  outline-color: var(--mint);
}

.site-header ::selection,
.page-hero ::selection,
.hero-register ::selection,
.service-register ::selection,
.section-forest ::selection,
.service-sidebar-card ::selection {
  background: var(--mint);
  color: var(--bg-forest);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  margin: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--bg-forest);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100%, var(--max-w));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  margin: 0 0 0.35em;
  font-size: clamp(2.4rem, 5.1vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
}

h2 {
  margin: 0 0 0.35em;
  font-size: clamp(1.95rem, 3.6vw, 3.65rem);
  line-height: 1.06;
}

h3 {
  margin: 0 0 0.35em;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  max-width: 66ch;
}

p:last-child {
  margin-bottom: 0;
}

main:focus {
  outline: none;
}

/* Square Editorial Actions & Buttons */
.btn,
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  width: fit-content;
  min-height: 2.95rem;
  padding: 0.78rem 1.35rem;
  border-radius: 0;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.action-primary-wide {
  justify-content: space-between;
  min-width: min(100%, 17.5rem);
  padding: 0.92rem 1.4rem;
}

.btn-outline {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--bg-mist);
}

.btn-on-forest {
  background: #ffffff;
  color: var(--bg-forest);
  border-color: #ffffff;
}

.btn-on-forest:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--bg-forest);
}

.btn-outline-forest {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-forest:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--bg-forest);
}

.action-text,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  min-height: 2.75rem;
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.action-text:hover,
.text-link:hover {
  color: var(--accent);
}

.hero-register .action-text,
.page-hero .action-text,
.service-register .text-link,
.section-forest .action-text {
  color: var(--mint);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero-register .action-text,
.page-hero .action-text {
  color: #ffffff;
  font-size: 0.84rem;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.hero-register .action-text:hover,
.page-hero .action-text:hover,
.service-register .text-link:hover,
.section-forest .action-text:hover {
  color: var(--mint);
}

.service-register .text-link:hover,
.section-forest .action-text:hover {
  color: #ffffff;
}

.arrow-svg {
  display: block;
  width: 1.15em;
  height: auto;
  flex: none;
}

/* Ruled Masthead & Navigation (Forest Structural + Overlaid Hero Variant) */
.site-header {
  position: relative;
  z-index: 100;
  background: #0a2b20;
  color: var(--ink-on-forest);
}

.site-header--over-hero {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.15rem;
  border-bottom: 1px solid var(--line-forest);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.site-header .brand-logo {
  height: 48px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 2.35rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 2.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 2.75rem;
  padding: 0.25rem 0;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-on-forest);
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms var(--ease);
}

.nav-link:hover,
.nav-dropdown-trigger:hover,
.nav-link[aria-current="page"],
.nav-dropdown[data-open="true"] .nav-dropdown-trigger {
  color: var(--mint);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 180ms var(--ease);
}

.nav-dropdown[data-open="true"] .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: -0.75rem;
  width: 21rem;
  padding: 0.45rem 0;
  background: #0c3125;
  border: 1px solid var(--line-forest);
  border-radius: 0;
  box-shadow: var(--shadow-menu);
  z-index: 120;
}

.nav-dropdown-item {
  display: flex;
  align-items: baseline;
  padding: 0.62rem 1rem;
  text-decoration: none;
  transition: background-color 140ms var(--ease);
}

.nav-dropdown-item:hover,
.nav-dropdown-item[aria-current="page"] {
  background: rgba(155, 224, 191, 0.12);
}

.nav-dropdown-item[aria-current="page"] .nav-dropdown-title,
.nav-dropdown-item:hover .nav-dropdown-title {
  color: var(--mint);
}

.nav-dropdown-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
}

.nav-dropdown-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-on-forest-muted);
  text-transform: none;
  letter-spacing: 0;
}

.nav-dropdown-divider {
  height: 1px;
  margin: 0.35rem 0;
  background: var(--line-forest);
}

.nav-book {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  margin-left: 0.75rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.nav-book::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 15%;
  height: 70%;
  border-left: 1px solid var(--line-forest);
}

.nav-book:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--bg-forest);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  background: rgba(10, 38, 28, 0.45);
  border: 1px solid var(--line-forest);
  border-radius: 0;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-drawer {
  border-top: 1px solid var(--line-forest);
  border-bottom: 1px solid var(--line-forest);
  background: #0c3125;
  color: var(--ink-on-forest);
  padding: 1.25rem var(--gutter) 1.75rem;
}

.mobile-nav-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--line-forest);
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.96rem;
}

.mobile-nav-list a:hover {
  color: var(--mint);
}

.mobile-sublist {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0 0 0 0.9rem;
}

.mobile-sublist a {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-on-forest-muted);
}

/* Home Hero — Forest Structural Architectural Register */
.hero-register {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-forest);
  color: var(--ink-on-forest);
  border-bottom: 1px solid var(--line-forest);
  padding-block: calc(5.15rem + clamp(2.85rem, 5.2vw, 5.25rem)) clamp(3.5rem, 6.2vw, 6.25rem);
}

.hero-skyline,
.hero-register::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-skyline {
  z-index: -2;
  object-fit: cover;
  object-position: center 45%;
}

.hero-register::before {
  content: "";
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(10, 38, 28, 0.76) 0%,
      rgba(10, 38, 28, 0.22) 32%,
      transparent 52%
    ),
    linear-gradient(
      90deg,
      rgba(10, 38, 28, 0.88) 0%,
      rgba(15, 61, 46, 0.62) 48%,
      rgba(15, 61, 46, 0.16) 82%,
      rgba(15, 61, 46, 0.08) 100%
    );
}

.hero-copy {
  max-width: 68rem;
}

.hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 5.2vw, 5.25rem);
  font-weight: var(--display-weight);
  line-height: 1.02;
  letter-spacing: -0.032em;
}

.hero-copy h1 span,
.hero-copy h1 em {
  display: block;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--mint);
}

.hero-lead {
  margin: 1.45rem 0 0;
  max-width: 54ch;
  font-size: clamp(1.04rem, 1.35vw, 1.28rem);
  line-height: 1.48;
  color: var(--ink-on-forest);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.25rem;
  margin-top: clamp(1.75rem, 2.75vw, 2.4rem);
}

/* Interactive Service Register (Forest Structural Anchor) */
.service-register {
  background: var(--bg-forest);
  color: var(--ink-on-forest);
}

.register-bar {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line-forest);
}

.register-bar h2 {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1rem 1.75rem 1rem 0;
  border-right: 1px solid var(--line-forest);
  color: #ffffff;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--display-weight);
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.service-options {
  display: flex;
  flex: 1;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.5rem;
  padding-left: clamp(1rem, 2vw, 2rem);
}

.service-options a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.55rem;
  color: var(--ink-on-forest);
  font-family: var(--font-body);
  font-size: clamp(0.74rem, 0.84vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.085em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms var(--ease);
}

.service-options a:hover,
.service-options a[aria-current="true"],
.service-options a[aria-selected="true"] {
  color: var(--mint);
}

.service-options a[aria-current="true"],
.service-options a[aria-selected="true"] {
  font-weight: 600;
}

.service-options a[aria-current="true"]::after,
.service-options a[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--mint);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  padding-block: clamp(2.25rem, 4vw, 3.6rem);
}

.service-panel h3 {
  margin: 0;
  padding-right: clamp(1rem, 3vw, 3rem);
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.service-scope {
  border-left: 1px solid var(--line-forest);
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
}

.scope-label {
  margin: 0 0 0.45rem;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scope-summary {
  max-width: 60ch;
  margin: 0;
  color: var(--ink-on-forest);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.48;
}

.scope-actions {
  margin-top: 1.1rem;
}

/* Sections */
.section {
  padding-block: var(--section-space);
}

.section-mist {
  background: var(--bg-mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-forest {
  background: var(--bg-forest);
  color: var(--ink-on-forest);
}

.section-forest h2,
.section-forest h3 {
  color: #ffffff;
}

.section-forest p {
  color: var(--ink-on-forest-muted);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(1.85rem, 3.5vw, 3rem);
}

.section-head-copy {
  max-width: 62ch;
}

.section-head-copy p {
  color: var(--ink-muted);
}

/* Integration Pillars — Top-Ruled 3-Column Editorial Grid */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.25vw, 3.5rem);
}

.stage-col {
  display: flex;
  flex-direction: column;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
  min-width: 0;
}

.stage-col h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  margin-bottom: 0.65rem;
}

.stage-col p {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.pillar-audience {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Service Ledger Rows */
.service-ledger {
  border-top: 1px solid var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem minmax(13.5rem, 1.15fr) minmax(15rem, 1.6fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0.85rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  transition: background-color 150ms var(--ease);
}

.service-row:hover,
.service-row:focus-within {
  background: var(--bg-mist);
}

.service-row-num {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.service-row-title a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: var(--display-weight);
  line-height: 1.18;
  text-decoration: none;
  color: var(--ink);
  transition: color 150ms var(--ease);
}

.service-row-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-row-title a:hover,
.service-row:hover .service-row-title a,
.service-row:focus-within .service-row-title a {
  color: var(--accent);
}

.service-row-track {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.service-row-body {
  min-width: 0;
}

.service-row-summary {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.service-row-deliverables {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--ink);
}

.service-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--accent);
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    color 150ms var(--ease);
}

.service-row-action svg {
  transition: transform 150ms var(--ease);
}

.service-row:hover .service-row-action,
.service-row:focus-within .service-row-action {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.service-row:hover .service-row-action svg,
.service-row:focus-within .service-row-action svg {
  transform: translateX(3px);
}

/* Firm Overview Band — Asymmetric 2-Column Editorial Register */
.firm-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}

.firm-overview-copy {
  max-width: 54ch;
}

.firm-overview-copy p {
  color: var(--ink-muted);
}

.firm-overview-actions {
  margin-top: 1.5rem;
}

.firm-ledger {
  border-top: 1px solid var(--line-strong);
}

.firm-ledger-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.firm-ledger-num {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.2rem;
}

.firm-ledger-row h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  margin-bottom: 0.35rem;
}

.firm-ledger-row p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

/* Editorial FAQ Ledger — AEO Answer-First Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1.75rem, 4vw, 3.5rem);
}

.faq-item {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
  min-width: 0;
}

.faq-item h3 {
  font-size: clamp(1.1rem, 1.45vw, 1.3rem);
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.partner-role {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.partner-affiliations {
  margin: 0.15rem 0 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* Closing Consultation Band */
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.closing-grid > * {
  min-width: 0;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.65rem;
}

.office-panel {
  border-top: 1px solid var(--line-forest);
  border-bottom: 1px solid var(--line-forest);
  padding: 1.5rem 0;
  display: grid;
  gap: 1.1rem;
}

.office-item-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.25rem;
}

.office-item-value {
  color: #ffffff;
  font-size: 0.95rem;
}

/* Inner Page Header — Forest Structural Hero */
.page-hero {
  padding-block: clamp(2.75rem, 5.2vw, 5.25rem);
  border-bottom: 1px solid var(--line-forest);
  background: linear-gradient(165deg, #0a2b20 0%, #0f3d2e 64%, #134a38 100%);
  color: var(--ink-on-forest);
}

.page-hero--split {
  padding-block: clamp(2.5rem, 4.5vw, 4.5rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-on-forest-muted);
}

.breadcrumb a {
  color: var(--mint);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink-on-forest);
}

.page-hero h1 {
  max-width: 24ch;
  color: #ffffff;
  font-size: clamp(2.2rem, 4.5vw, 4.25rem);
}

.page-hero--split h1 {
  max-width: 19ch;
  font-size: clamp(2.25rem, 4.3vw, 4.1rem);
  line-height: 1.05;
}

.page-hero-lead {
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  color: var(--ink-on-forest-muted);
  max-width: 60ch;
}

.service-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 4.5vw, 4.5rem);
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
}

.service-hero-media {
  background: #0a261c;
  border: 1px solid var(--line-forest);
  overflow: hidden;
}

.service-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 10;
  object-fit: cover;
}

/* Filter Tabs (Services Hub — Ruled Tab Strip) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  position: relative;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-muted);
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 150ms var(--ease);
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn[aria-pressed="true"] {
  color: var(--accent);
}

.filter-btn[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--accent);
}

/* Service Detail Layout */
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

.service-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3.5vw, 3.5rem);
  margin-top: 1.75rem;
}

.service-item {
  padding: 1.25rem 0 1.45rem;
  border-top: 1px solid var(--line-strong);
  min-width: 0;
}

.service-item-num {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.service-item h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.2rem, 1.65vw, 1.5rem);
}

.service-item p {
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.service-sidebar-card {
  position: sticky;
  top: 6.25rem;
  background: var(--bg-forest);
  color: var(--ink-on-forest);
  border-radius: 0;
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}

.service-sidebar-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.55rem;
}

.fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-forest);
}

.fit-list li {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-forest);
  font-size: 0.93rem;
  color: var(--ink-on-forest);
}

.fit-list svg {
  margin-top: 0.25rem;
  color: var(--mint);
}

.sidebar-actions {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

.sidebar-actions .btn {
  width: 100%;
}

.sibling-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.sibling-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line-strong);
  background: transparent;
  text-decoration: none;
  min-width: 0;
  transition: border-color 150ms var(--ease);
}

.sibling-card:hover {
  border-top-color: var(--accent);
}

.sibling-card:hover h3 {
  color: var(--accent);
}

.sibling-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.sibling-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

.sibling-card-meta {
  margin-top: auto;
  padding-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* About Us Layout */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  margin-top: 2.25rem;
}

.mv-col {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.mv-col h3 {
  font-size: 1.5rem;
}

.mv-col p {
  color: var(--ink-muted);
}

.leader-full-list {
  display: grid;
  gap: 2.25rem;
}

.leader-full-card {
  display: grid;
  grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
  background: transparent;
}

.leader-full-photo {
  background: var(--bg);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
}

.leader-full-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leader-full-content h3 {
  margin-bottom: 0.3rem;
}

.leader-full-content p {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* Contact Layout */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

.contact-panel {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0;
  background: var(--bg-mist);
  border: 1px solid var(--line-strong);
  color: var(--bg-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 5.5vw, 4.75rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-grid > * {
  min-width: 0;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 40ch;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.95rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.35rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 1120px) {
  .nav-book {
    margin-left: 0.25rem;
  }

  .nav-book::before {
    display: none;
  }

  .register-bar {
    display: block;
  }

  .register-bar h2 {
    padding: 1.1rem 0 0.5rem;
    border-right: 0;
  }

  .service-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-left: 0;
  }

  .service-options a {
    padding: 0.75rem 0.35rem;
    white-space: normal;
  }
}

@media (max-width: 1020px) {
  .stage-grid,
  .sibling-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row {
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    gap: 0.75rem 1rem;
  }

  .service-row-body,
  .service-row-summary,
  .service-row-deliverables {
    grid-column: 2 / -1;
  }

  .service-detail-grid,
  .service-hero-layout,
  .firm-overview-grid,
  .closing-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-sidebar-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero-register {
    padding-block: calc(4.9rem + 2.5rem) 3.25rem;
  }

  .hero-skyline {
    object-position: 70% center;
  }

  .hero-register::before {
    background:
      linear-gradient(
        180deg,
        rgba(10, 38, 28, 0.82) 0%,
        rgba(10, 38, 28, 0.25) 34%,
        transparent 56%
      ),
      linear-gradient(
        90deg,
        rgba(10, 38, 28, 0.92) 0%,
        rgba(15, 61, 46, 0.76) 70%,
        rgba(15, 61, 46, 0.5) 100%
      );
  }

  .service-hero-media img {
    aspect-ratio: 2 / 1;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .service-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .service-options a {
    justify-content: flex-start;
    text-align: left;
    min-height: 2.75rem;
    padding: 0.65rem 0.5rem 0.65rem 0;
  }

  .service-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding-block: 1.75rem 2.25rem;
  }

  .service-panel h3 {
    padding-right: 0;
  }

  .service-scope {
    border-left: 0;
    padding-left: 0;
  }

  .service-items,
  .faq-grid,
  .mission-vision-grid,
  .leader-full-card,
  .stage-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .firm-ledger-row {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.85rem;
  }
  .header-inner {
    min-height: 4.5rem;
  }

  .brand-logo {
    height: 32px;
  }

  .site-header .brand-logo {
    height: 38px;
  }

  .hero-register {
    padding-block: calc(4.5rem + 2rem) 2.75rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 8.8vw, 2.85rem);
  }

  .office-item-value,
  .footer-links li {
    overflow-wrap: anywhere;
  }

  .sibling-services-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn,
  .hero-actions .action,
  .service-hero-actions .action,
  .closing-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .action-text,
  .service-hero-actions .action-text {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .service-panel.is-changing .service-scope {
    animation: ugph-scope-enter 220ms var(--ease);
  }

  @keyframes ugph-scope-enter {
    from {
      opacity: 0.72;
      transform: translateX(0.35rem);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}
