:root {
  --expert-red: #ea3a45;
  --expert-ink: #091f33;
  --expert-gold: #e3b864;
  --expert-paper: #f4f1e8;
  --expert-line: rgba(9, 31, 51, 0.15);
}

.expert-body {
  background: var(--expert-paper);
  color: var(--expert-ink);
}

.expert-header .brand {
  height: 52px;
}

.expert-header .brand img {
  width: 128px;
  height: auto;
}

.expert-header button.header-cta {
  display: inline-flex;
  min-height: 46px;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 0;
  padding: 0 20px;
  appearance: none;
  color: var(--expert-ink);
  background: transparent;
  border: 1px solid rgba(9, 31, 51, 0.18);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.expert-header button.header-cta > span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.expert-header button.header-cta .ui-icon {
  flex: 0 0 auto;
  justify-content: center;
  transform: translateY(-1px);
}

.expert-header button.header-cta:hover,
.expert-header button.header-cta:focus-visible {
  color: #fff;
  background: var(--expert-ink);
}

.expert-main {
  overflow: hidden;
}

.expert-hero {
  position: relative;
  min-height: auto;
  padding: clamp(108px, 9vw, 138px) 0 clamp(64px, 7vw, 92px);
  border-bottom: 1px solid var(--expert-line);
}

.expert-hero::before,
.expert-hero::after {
  position: absolute;
  border: 1px solid rgba(9, 31, 51, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.expert-hero::before {
  top: -360px;
  right: -180px;
  width: 760px;
  height: 760px;
}

.expert-hero::after {
  right: 13vw;
  bottom: -118px;
  width: 236px;
  height: 236px;
  background: rgba(227, 184, 100, 0.08);
}

.expert-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
}

.expert-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: rgba(9, 31, 51, 0.6);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.expert-breadcrumb:hover {
  color: var(--expert-ink);
}

.expert-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.4rem, 5vw, 5.9rem);
  line-height: 0.93;
  letter-spacing: -0.058em;
}

.expert-hero h1 span {
  color: var(--expert-gold);
}

.expert-hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(9, 31, 51, 0.68);
  font-size: clamp(1.05rem, 1.28vw, 1.28rem);
  line-height: 1.58;
}

.expert-hero-aside {
  padding: clamp(25px, 2.5vw, 32px);
  border: 1px solid var(--expert-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.4);
}

.expert-hero-aside > span,
.expert-mini-label {
  display: block;
  color: #a97c2d;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.expert-hero-aside strong {
  display: block;
  margin-top: 15px;
  font-size: clamp(1.3rem, 1.65vw, 1.72rem);
  line-height: 1.17;
}

.expert-hero-aside p {
  margin: 16px 0 23px;
  color: rgba(9, 31, 51, 0.64);
  line-height: 1.6;
}

.expert-hero-aside .button {
  width: 100%;
  justify-content: space-between;
}

.expert-anchor-nav {
  position: sticky;
  z-index: 20;
  top: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 31, 51, 0.95);
  backdrop-filter: blur(16px);
}

.expert-anchor-inner {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}

.expert-anchor-inner a {
  flex: 0 0 auto;
  padding: 19px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.expert-anchor-inner a:hover {
  color: var(--expert-gold);
}

.expert-section {
  padding: clamp(88px, 10vw, 150px) 0;
}

.expert-section-dark {
  background: var(--expert-ink);
  color: white;
}

.expert-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.45fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 60px;
}

.expert-section-head h2 {
  max-width: 900px;
  margin: 13px 0 0;
  font-size: clamp(3.1rem, 5.4vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.expert-section-head > p {
  margin: 0;
  color: rgba(9, 31, 51, 0.62);
  font-size: 1.06rem;
  line-height: 1.7;
}

.expert-section-dark .expert-section-head > p {
  color: rgba(255, 255, 255, 0.62);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--expert-line);
  border-left: 1px solid var(--expert-line);
}

.decision-card {
  min-height: 360px;
  padding: clamp(28px, 3.4vw, 48px);
  border-right: 1px solid var(--expert-line);
  border-bottom: 1px solid var(--expert-line);
  transition: background 220ms ease, transform 220ms ease;
}

.decision-card:hover {
  z-index: 1;
  background: white;
  transform: translateY(-6px);
}

.decision-card > span {
  color: #a97c2d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.decision-card h3 {
  margin: 72px 0 18px;
  font-size: clamp(1.65rem, 2.5vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.decision-card p {
  margin: 0;
  color: rgba(9, 31, 51, 0.62);
  line-height: 1.65;
}

.system-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(48px, 7vw, 110px);
}

.system-sticky {
  align-self: start;
  position: sticky;
  top: 160px;
}

.system-sticky h2 {
  margin: 14px 0 24px;
  font-size: clamp(3.2rem, 5vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.system-sticky p {
  max-width: 530px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.04rem;
  line-height: 1.7;
}

.system-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.system-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 26px;
  min-height: 210px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.system-step > span {
  color: var(--expert-gold);
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.system-step h3 {
  margin: 0 0 15px;
  font-size: clamp(1.7rem, 2.7vw, 2.65rem);
  line-height: 1.07;
}

.system-step p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.deliverable-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--expert-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.34);
}

.deliverable-card > i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--expert-ink);
  color: var(--expert-gold);
  font-style: normal;
}

.deliverable-card h3 {
  margin: 2px 0 9px;
  font-size: 1.2rem;
}

.deliverable-card p {
  margin: 0;
  color: rgba(9, 31, 51, 0.62);
  line-height: 1.58;
}

.tool-system {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--expert-line);
  border-radius: 30px;
  overflow: hidden;
}

.tool-column {
  min-height: 300px;
  padding: 34px;
  border-right: 1px solid var(--expert-line);
}

.tool-column:last-child {
  border-right: 0;
}

.tool-column h3 {
  margin: 0 0 30px;
  font-size: 1.25rem;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tool-tags span {
  padding: 10px 13px;
  border: 1px solid rgba(9, 31, 51, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 800;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.related-case {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 32px;
  color: white;
  text-decoration: none;
}

.related-case::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 31, 51, 0.05), rgba(9, 31, 51, 0.92));
  content: "";
}

.related-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}

.related-case:hover img {
  transform: scale(1.045);
}

.related-case-content {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 34px;
  left: 34px;
}

.related-case-content > span {
  color: var(--expert-gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.related-case-content h3 {
  max-width: 620px;
  margin: 16px 0 24px;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  line-height: 1.05;
}

.related-case-link {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
  font-weight: 850;
}

.expert-cta {
  padding: clamp(84px, 10vw, 150px) 0;
  background: var(--expert-gold);
}

.expert-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.expert-cta h2 {
  max-width: 970px;
  margin: 0;
  font-size: clamp(3.4rem, 6.5vw, 7.4rem);
  line-height: 0.91;
  letter-spacing: -0.06em;
}

.expert-cta p {
  max-width: 680px;
  margin: 30px 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.expert-footer {
  padding-top: 0;
}

.expert-footer .footer-main {
  padding-top: 56px;
}

/* Growth Lab */
.lab-hero {
  min-height: auto;
  padding: clamp(54px, 6.5vw, 88px) 0 clamp(64px, 7vw, 96px);
}

.lab-hero .expert-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.58fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}

.lab-hero .expert-breadcrumb {
  margin-bottom: 25px;
}

.lab-hero h1 {
  max-width: 920px;
  font-size: clamp(3.8rem, 6vw, 6.7rem);
  line-height: 0.91;
}

.lab-hero .expert-hero-lead {
  max-width: 780px;
  margin-top: 30px;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
}

.lab-hero-points,
.lab-output-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.lab-hero-points {
  margin-top: 28px;
}

.lab-hero-points span,
.lab-output-list span {
  padding: 8px 11px;
  color: rgba(9, 31, 51, 0.72);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(9, 31, 51, 0.12);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
}

.lab-hero-aside {
  padding: clamp(25px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 24px 60px rgba(9, 31, 51, 0.07);
}

.lab-hero-aside strong {
  font-size: clamp(1.45rem, 2.15vw, 2.2rem);
}

.lab-hero-aside p {
  margin-bottom: 20px;
}

.lab-output-list {
  margin-bottom: 22px;
}

.lab-output-list span {
  color: #79581f;
  background: rgba(227, 184, 100, 0.14);
  border-color: rgba(169, 124, 45, 0.24);
}

.calculator-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 34px;
  overflow: hidden;
  background: #0c263d;
}

.calculator-inputs,
.calculator-results {
  padding: clamp(28px, 4.2vw, 62px);
}

.calculator-inputs {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.calculator-intro h2 {
  margin: 14px 0 14px;
  font-size: clamp(2.3rem, 3.7vw, 4.5rem);
  line-height: 0.97;
}

.calculator-intro p {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.calculator-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calculator-field {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.calculator-field label {
  display: block;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.35;
}

.calculator-input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 11px;
}

.calculator-input-wrap input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-family: inherit;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.calculator-input-wrap span {
  color: var(--expert-gold);
  font-weight: 850;
}

.calculator-results {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--expert-gold);
  color: var(--expert-ink);
}

.result-stack {
  border-top: 1px solid rgba(9, 31, 51, 0.18);
}

.result-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 25px 0;
  border-bottom: 1px solid rgba(9, 31, 51, 0.18);
}

.result-item span {
  max-width: 210px;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.result-item strong {
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.calculator-summary {
  margin: 30px 0 0;
  font-size: 1.04rem;
  font-weight: 750;
  line-height: 1.55;
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.formula-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--expert-line);
  border-radius: 24px;
}

.formula-card > span {
  color: #a97c2d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.formula-card h3 {
  margin: 56px 0 13px;
  font-size: 1.55rem;
}

.formula-card p {
  margin: 0;
  color: rgba(9, 31, 51, 0.62);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .expert-hero-grid,
  .expert-section-head,
  .system-grid,
  .expert-cta-grid,
  .calculator-shell {
    grid-template-columns: 1fr;
  }

  .expert-hero {
    min-height: auto;
  }

  .lab-hero {
    padding-top: 48px;
  }

  .system-sticky {
    position: static;
  }

  .decision-grid,
  .tool-system,
  .formula-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tool-column:nth-child(2) {
    border-right: 0;
  }

  .tool-column:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--expert-line);
  }

  .calculator-inputs {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 680px) {
  .expert-hero {
    padding: 102px 0 64px;
  }

  .expert-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
    line-height: 0.95;
  }

  .lab-hero {
    padding-top: 34px;
  }

  .lab-hero h1 {
    font-size: clamp(3rem, 13.5vw, 4.7rem);
  }

  .lab-hero .expert-hero-lead {
    margin-top: 24px;
  }

  .expert-anchor-nav {
    top: 69px;
  }

  .decision-grid,
  .deliverable-grid,
  .tool-system,
  .related-grid,
  .formula-grid,
  .calculator-fields {
    grid-template-columns: 1fr;
  }

  .decision-card {
    min-height: 310px;
  }

  .tool-column,
  .tool-column:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--expert-line);
  }

  .tool-column:last-child {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .related-case {
    min-height: 440px;
  }

  .expert-cta .button {
    width: 100%;
  }

  .result-item {
    display: block;
  }

  .result-item strong {
    display: block;
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .decision-card,
  .related-case img {
    transition: none;
  }
}
