:root {
  --brand-ivory: #f5f0e7;
  --brand-paper: #fffaf2;
  --brand-ink: #17130f;
  --brand-muted: #6f685f;
  --brand-line: rgba(23, 19, 15, 0.14);
  --brand-gold: #9d7437;
  --brand-gold-dark: #725021;
  --brand-moss: #3f4b40;
  --brand-serif: "Iowan Old Style", "Songti TC", "Noto Serif TC", serif;
  --brand-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

body.brand-page {
  color: var(--brand-ink);
  background: var(--brand-ivory);
  font-family: var(--brand-sans);
  overflow-x: clip;
}

body.brand-page::before {
  opacity: 0.22;
  background-image: radial-gradient(rgba(23, 19, 15, 0.18) 0.45px, transparent 0.45px);
  background-size: 5px 5px;
  mask-image: none;
}

.brand-page .shell {
  width: min(1360px, calc(100vw - 48px));
}

.brand-page .topbar {
  position: fixed;
  inset: 0 0 auto;
  background: rgba(245, 240, 231, 0.88);
  border-color: var(--brand-line);
  backdrop-filter: blur(20px);
}

.brand-page .topbar-inner {
  min-height: 78px;
}

.brand-page .brand-name-text,
.brand-page .brand-action-text {
  color: var(--brand-ink);
}

.brand-page .brand-name-text {
  font-family: var(--brand-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-page .brand-tagline-text {
  color: var(--brand-gold-dark);
}

.brand-page .brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--brand-ink);
  border-radius: 50%;
  font-family: var(--brand-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.brand-page .brand-logo-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

.brand-page .nav {
  gap: 6px;
}

.brand-page .nav a {
  color: #4d463e;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand-page .nav a:hover,
.brand-page .nav a.active {
  color: var(--brand-ink);
  background: rgba(23, 19, 15, 0.06);
}

.brand-page .btn {
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.brand-page .btn-gold {
  color: #fffaf2;
  background: var(--brand-ink);
}

.brand-page .btn-gold:hover {
  box-shadow: 0 10px 30px rgba(23, 19, 15, 0.2);
}

.brand-page .btn-secondary {
  color: var(--brand-ink);
  background: transparent;
  border-color: rgba(23, 19, 15, 0.28);
}

.brand-page .btn-secondary:hover {
  background: rgba(23, 19, 15, 0.05);
}

.brand-page .hamburger {
  background: transparent;
  border-color: var(--brand-line);
}

.brand-page .hamburger span {
  background: var(--brand-ink);
}

.brand-page .mobile-menu {
  background: rgba(245, 240, 231, 0.98);
  border-color: var(--brand-line);
}

.brand-page .mobile-menu a {
  color: var(--brand-ink);
}

.brand-page .mobile-menu a:hover {
  color: var(--brand-ink);
  background: rgba(23, 19, 15, 0.05);
  border-color: var(--brand-line);
}

.brand-page .mobile-menu .mobile-cta {
  color: #fffaf2;
  background: var(--brand-ink);
}

.brand-page .mobile-overlay {
  background: rgba(23, 19, 15, 0.44);
}

.brand-page section {
  padding: 112px 0;
}

.brand-page h1,
.brand-page h2,
.brand-page h3 {
  font-family: var(--brand-serif);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-page h1 {
  font-size: clamp(48px, 7.2vw, 108px);
  line-height: 0.98;
}

.brand-page h2 {
  margin-top: 14px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.06;
}

.brand-page h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
}

.brand-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-page .eyebrow::before {
  width: 36px;
  height: 1px;
  content: "";
  background: currentColor;
}

.brand-page .lede {
  max-width: 690px;
  color: var(--brand-muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.85;
}

.brand-page .home-hero {
  min-height: 100svh;
  padding: 156px 0 72px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(245, 240, 231, 0.98) 0%, rgba(245, 240, 231, 0.88) 48%, rgba(245, 240, 231, 0.08) 72%),
    linear-gradient(180deg, transparent 72%, var(--brand-ivory) 100%),
    url("../images/company-stage.jpg") center 30% / cover no-repeat;
}

.brand-page .hero-copy {
  max-width: 920px;
}

.brand-page .hero-title-line {
  display: block;
  color: var(--brand-gold-dark);
  font-style: italic;
}

.brand-page .hero-summary {
  max-width: 680px;
  margin-top: 32px;
  color: #4e473f;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.8;
}

.brand-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.brand-page .proof-rail {
  border-block: 1px solid var(--brand-line);
  background: rgba(255, 250, 242, 0.72);
}

.brand-page .proof-rail-inner {
  display: grid;
  grid-template-columns: 0.7fr repeat(3, 1fr);
}

.brand-page .proof-rail-item {
  min-height: 118px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--brand-line);
}

.brand-page .proof-rail-item:first-child {
  border-left: 0;
}

.brand-page .proof-rail-label {
  color: var(--brand-gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.brand-page .proof-rail-item strong {
  margin-top: 8px;
  font-family: var(--brand-serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
}

.brand-page .split-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: end;
}

.brand-page .principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border: 1px solid var(--brand-line);
}

.brand-page .principle {
  min-height: 330px;
  padding: 40px 34px;
  border-left: 1px solid var(--brand-line);
}

.brand-page .principle:first-child {
  border-left: 0;
}

.brand-page .principle-num {
  color: var(--brand-gold);
  font-family: var(--brand-serif);
  font-size: 14px;
  font-style: italic;
}

.brand-page .principle h3 {
  margin-top: 76px;
}

.brand-page .principle p {
  margin-top: 18px;
  color: var(--brand-muted);
  font-size: 15px;
  line-height: 1.8;
}

.brand-page .ladder-section {
  color: #f9f4eb;
  background: var(--brand-ink);
}

.brand-page .ladder-section .eyebrow {
  color: #c9a266;
}

.brand-page .ladder-section .lede {
  color: rgba(249, 244, 235, 0.64);
}

.brand-page .ladder {
  margin-top: 72px;
  border-top: 1px solid rgba(249, 244, 235, 0.18);
}

.brand-page .ladder-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 0.8fr 1.2fr;
  gap: 28px;
  padding: 32px 0;
  align-items: center;
  border-bottom: 1px solid rgba(249, 244, 235, 0.18);
}

.brand-page .ladder-row.is-live {
  color: #f1d09c;
}

.brand-page .ladder-index {
  font-family: var(--brand-serif);
  font-size: 24px;
  font-style: italic;
}

.brand-page .ladder-name {
  font-family: var(--brand-serif);
  font-size: clamp(26px, 3vw, 42px);
}

.brand-page .ladder-stage {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-page .ladder-desc {
  color: rgba(249, 244, 235, 0.62);
  line-height: 1.75;
}

.brand-page .ladder-note {
  margin-top: 20px;
  color: rgba(249, 244, 235, 0.48);
  font-size: 13px;
  line-height: 1.7;
}

.brand-page .feature-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 690px;
  border: 1px solid var(--brand-line);
  background: var(--brand-paper);
}

.brand-page .feature-copy {
  padding: clamp(40px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-page .feature-copy p {
  margin-top: 24px;
  color: var(--brand-muted);
  font-size: 17px;
  line-height: 1.85;
}

.brand-page .feature-list {
  margin-top: 34px;
  list-style: none;
  border-top: 1px solid var(--brand-line);
}

.brand-page .feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--brand-line);
}

.brand-page .feature-list span {
  color: var(--brand-gold-dark);
  font-family: var(--brand-serif);
  font-style: italic;
}

.brand-page .feature-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #29231d;
}

.brand-page .feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
}

.brand-page .feature-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 50%, rgba(23, 19, 15, 0.55));
}

.brand-page .service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.brand-page .service-card {
  min-height: 390px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--brand-line);
  background: rgba(255, 250, 242, 0.55);
}

.brand-page .service-card p {
  max-width: 520px;
  margin-top: 20px;
  color: var(--brand-muted);
  line-height: 1.8;
}

.brand-page .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--brand-gold-dark);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  align-self: flex-start;
}

.brand-page .process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 72px;
}

.brand-page .process-step {
  padding-top: 20px;
  border-top: 1px solid var(--brand-ink);
}

.brand-page .process-step strong {
  display: block;
  margin-top: 42px;
  font-family: var(--brand-serif);
  font-size: 28px;
  font-weight: 600;
}

.brand-page .process-step p {
  margin-top: 14px;
  color: var(--brand-muted);
  line-height: 1.8;
}

.brand-page .team-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
}

.brand-page .team-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 380px;
  border: 1px solid var(--brand-line);
  background: var(--brand-paper);
}

.brand-page .team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.brand-page .team-card-copy {
  padding: 36px;
  align-self: center;
}

.brand-page .team-role {
  color: var(--brand-gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-page .team-card h3 {
  margin-top: 8px;
}

.brand-page .team-card p {
  margin-top: 16px;
  color: var(--brand-muted);
  font-size: 14px;
  line-height: 1.75;
}

.brand-page .insight-list {
  margin-top: 64px;
  border-top: 1px solid var(--brand-line);
}

.brand-page .insight-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 28px;
  padding: 28px 0;
  align-items: center;
  border-bottom: 1px solid var(--brand-line);
}

.brand-page .insight-item span {
  color: var(--brand-gold-dark);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.brand-page .insight-item strong {
  font-family: var(--brand-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 600;
}

.brand-page .final-cta {
  text-align: center;
  background: var(--brand-paper);
}

.brand-page .final-cta h2 {
  max-width: 970px;
  margin-inline: auto;
}

.brand-page .final-cta .lede {
  margin: 24px auto 0;
}

.brand-page .final-cta .hero-actions {
  justify-content: center;
}

.brand-page .footer {
  padding: 72px 0 40px;
  color: rgba(249, 244, 235, 0.88);
  background: var(--brand-ink);
  border-color: rgba(249, 244, 235, 0.14);
}

.brand-page .footer-grid {
  grid-template-columns: 1.6fr 1fr 1fr;
}

.brand-page .footer-brand-desc,
.brand-page .footer-col a {
  color: rgba(249, 244, 235, 0.58);
}

.brand-page .footer-col h4 {
  color: #c9a266;
}

.brand-page .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-color: rgba(249, 244, 235, 0.12);
}

.brand-page .float-bar {
  background: rgba(23, 19, 15, 0.96);
  border-color: rgba(249, 244, 235, 0.14);
}

.brand-page .float-bar a {
  color: #f9f4eb;
}

.brand-page .float-bar a:last-child {
  color: #1b150e;
  background: #c9a266;
}

@media (min-width: 901px) {
  .brand-page .float-bar {
    display: none;
  }
}

@media (max-width: 1000px) {
  .brand-page .proof-rail-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-page .proof-rail-item:first-child {
    grid-column: 1 / -1;
    min-height: 72px;
    border-bottom: 1px solid var(--brand-line);
  }

  .brand-page .split-heading,
  .brand-page .feature-panel {
    grid-template-columns: 1fr;
  }

  .brand-page .team-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-page .shell {
    width: min(100% - 32px, 1360px);
  }

  .brand-page section {
    padding: 78px 0;
  }

  .brand-page .home-hero {
    min-height: 92svh;
    padding: 132px 0 62px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(245, 240, 231, 0.52) 0%, rgba(245, 240, 231, 0.9) 50%, var(--brand-ivory) 100%),
      url("../images/company-stage.jpg") 62% center / cover no-repeat;
  }

  .brand-page h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .brand-page .hero-summary {
    font-size: 16px;
  }

  .brand-page .hero-actions {
    flex-direction: column;
  }

  .brand-page .hero-actions .btn {
    width: 100%;
  }

  .brand-page .proof-rail-inner,
  .brand-page .principle-grid,
  .brand-page .service-grid,
  .brand-page .process-grid {
    grid-template-columns: 1fr;
  }

  .brand-page .proof-rail-item,
  .brand-page .principle {
    border-left: 0;
    border-top: 1px solid var(--brand-line);
  }

  .brand-page .proof-rail-item:first-child,
  .brand-page .principle:first-child {
    border-top: 0;
  }

  .brand-page .principle {
    min-height: 0;
  }

  .brand-page .principle h3 {
    margin-top: 40px;
  }

  .brand-page .ladder-row {
    grid-template-columns: 50px 1fr;
    gap: 12px 18px;
  }

  .brand-page .ladder-stage,
  .brand-page .ladder-desc {
    grid-column: 2;
  }

  .brand-page .feature-copy,
  .brand-page .service-card {
    padding: 34px 26px;
  }

  .brand-page .feature-media {
    min-height: 430px;
  }

  .brand-page .service-card {
    min-height: 330px;
  }

  .brand-page .team-card {
    grid-template-columns: 1fr;
  }

  .brand-page .team-card img {
    height: 360px;
  }

  .brand-page .insight-item {
    grid-template-columns: 1fr auto;
  }

  .brand-page .insight-item span {
    grid-column: 1 / -1;
  }

  .brand-page .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-page .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .brand-page .footer-bottom {
    padding-bottom: 72px;
    flex-direction: column;
  }
}
