/* Isolated Home/About pilot overrides; the existing site stylesheet remains the base. */
.brand-pilot {
  --brand-navy: #142c3b;
  --brand-forest: #344b43;
  --brand-copper: #8d5e31;
  --brand-ivory: #f5f1e9;
  --brand-soft: #ece7db;
  background: var(--brand-ivory);
  color: var(--brand-navy);
}

.brand-pilot .container {
  width: min(1220px, calc(100% - 2.5rem));
}

.brand-pilot .site-header {
  background: rgba(245, 241, 233, 0.97);
  border-bottom-color: #dcd5c9;
}

.brand-pilot .nav {
  width: min(1280px, calc(100% - 2.5rem));
}

.brand-pilot h1,
.brand-pilot h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.brand-pilot h1 em {
  color: var(--brand-copper);
  font-weight: 400;
}

.brand-pilot.brand-pilot-home .eyebrow,
.brand-pilot.brand-pilot-about .eyebrow {
  color: var(--brand-copper) !important;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
}

.brand-pilot.brand-pilot-home .brand-decision-strip .eyebrow,
.brand-pilot.brand-pilot-home .home-knowledge-card--articles .eyebrow,
.brand-pilot.brand-pilot-home .home-about-section .eyebrow,
.brand-pilot.brand-pilot-about .brand-about-method .eyebrow {
  color: #f3d7ad !important;
}

.brand-pilot.brand-pilot-home .home-compact-section .eyebrow {
  color: #6b4b2d !important;
}

.brand-pilot.brand-pilot-home .home-tool-links span {
  color: #52605b;
}

.brand-pilot .button {
  border-radius: 4px;
  min-height: 50px;
}

.brand-pilot .button.primary {
  background: var(--brand-forest);
}

.brand-pilot .button.primary:hover,
.brand-pilot .button.primary:focus-visible {
  background: var(--brand-navy);
}

.brand-pilot .button.secondary {
  border-color: currentColor;
}

/* Keep the fixed shortcut off small viewports where it can cover hero copy or CTAs.
   Main/menu WhatsApp links remain available. */
@media (max-height: 600px), (max-width: 600px) and (max-height: 840px) {
  .brand-pilot .floating-whatsapp {
    display: none;
  }
}

.brand-home-hero {
  padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}

.brand-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.brand-home-hero-copy h1,
.brand-about-hero-copy h1 {
  max-width: 730px;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
}

.brand-home-hero-copy > p:not(.eyebrow, .brand-home-proof),
.brand-about-hero-copy > p:not(.eyebrow, .brand-about-affiliation) {
  max-width: 590px;
  margin: 1.7rem 0 0;
  color: #475853;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.brand-home-hero .hero-actions,
.brand-about-hero .hero-actions {
  margin-top: 2rem;
}

.brand-home-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  margin: 2.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #cfc8ba;
  color: #4d6058;
  font-size: 0.9rem;
}

.brand-home-proof strong { color: var(--brand-navy); }

.brand-home-hero-image,
.brand-about-portrait {
  position: relative;
  margin: 0;
  min-width: 0;
}

.brand-home-hero-image::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid #b99a72;
  z-index: -1;
}

.brand-home-hero-image img {
  width: 100%;
  height: clamp(340px, 42vw, 570px);
  object-fit: cover !important;
  object-position: 58% center;
}

.brand-home-hero-image figcaption,
.brand-about-portrait figcaption {
  padding: 0.75rem 0 0;
  color: #50635a;
  font-size: 0.8rem;
}

.brand-section-intro {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.brand-section-intro h2 { max-width: 730px; }
.brand-section-intro > p:last-child { max-width: 640px; color: #52615b; }

.brand-location-section {
  background: #fffdf8;
  border-top: 1px solid #e4ddd1;
  border-bottom: 1px solid #e4ddd1;
}

.brand-location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cfc8ba;
  border-bottom: 1px solid #cfc8ba;
}

.brand-location-grid a {
  display: flex;
  flex-direction: column;
  min-height: 215px;
  padding: 1.6rem 1.25rem 1.4rem;
  border-right: 1px solid #d7d1c5;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.brand-location-grid a:last-child { border-right: 0; }
.brand-location-grid a:hover,
.brand-location-grid a:focus-visible { background: #f1ede4; }
.brand-location-grid span { color: var(--brand-copper); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.brand-location-grid strong { margin-top: 1.5rem; font-family: Georgia, serif; font-size: clamp(1.5rem, 2vw, 2.2rem); font-weight: 500; line-height: 1.1; }
.brand-location-grid small { margin-top: auto; padding-top: 1rem; color: #56635e; font-size: .88rem; line-height: 1.5; }

.brand-decision-strip { background: var(--brand-navy); color: #fff; padding: 3rem 0; }
.brand-decision-layout { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2.5rem; }
.brand-decision-strip h2 { color: #fff; font-size: clamp(2rem, 3vw, 3.2rem); }
.brand-decision-strip p:not(.eyebrow) { color: #e0e8e3; }
.brand-decision-strip .text-link { color: #f3d7ad; white-space: nowrap; }

.brand-pilot .home-knowledge-section { background: var(--brand-ivory); color: #26312d; }
.brand-pilot .home-knowledge-card { border-radius: 4px; box-shadow: none; }
.brand-pilot .home-knowledge-card--articles { color: #fffdf8; }
.brand-pilot .home-seller-route { max-width: 760px; margin: 1.5rem 0 0; color: #34453e; line-height: 1.7; }
.brand-pilot .home-seller-route .text-link { display: inline-block; padding-block: 11px; color: var(--brand-forest); font-weight: 700; }
/* At tablet widths and 200% desktop zoom, a fixed locale pill can cover
   reading text while scrolling. Keep it at the page top on these four CMS pages. */
@media (min-width: 641px) and (max-width: 1100px) {
  body.brand-pilot[data-cms-locale] .pls-cms-language-switch { position: absolute; }
}
.brand-pilot .brand-home-hero-copy > p.home-seller-route { margin-top: 1rem; font-size: .92rem; line-height: 1.5; }
.brand-pilot .home-project-feature { background: #fffdf8; }
.brand-pilot .featured-project-panel { border-radius: 4px; box-shadow: none; }
.brand-pilot .home-about-section { background: var(--brand-forest); color: #fff; }
.brand-pilot .home-about-section h2,
.brand-pilot .home-about-section .eyebrow { color: #fff; }
.brand-pilot .home-about-section p,
.brand-pilot .home-about-section span { color: #e9ece7; }
.brand-pilot .home-about-section .button.secondary { color: #fff; border-color: #fff; }

.brand-about-hero {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.brand-about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.brand-about-affiliation {
  margin: 1.6rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--brand-copper);
  color: #445c53;
  font-size: .92rem;
}

.brand-about-portrait img {
  width: 100%;
  height: clamp(450px, 45vw, 625px);
  object-fit: cover !important;
  object-position: center 21%;
  background: #e8e0d2;
}

.brand-about-video { background: #fffdf8; }
.brand-about-video-grid,
.brand-about-story-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.brand-about-video-grid > div:first-child p:not(.eyebrow),
.brand-about-story-grid > div:last-child p { color: #4d5d56; line-height: 1.8; }
.brand-video-shell { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #182e2c; }
.brand-video-shell iframe { display: block; width: 100%; height: 100%; border: 0; }
.brand-video-play { position: relative; width: 100%; height: 100%; border: 0; background: #142c3b; color: #fff; cursor: pointer; }
.brand-video-play img { width: 100%; height: 100%; object-fit: cover !important; opacity: .58; }
.brand-video-play::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .86) 55%); pointer-events: none; }
.brand-video-play span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 74px; height: 74px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: #142c3b; font-size: 1.5rem; }
.brand-video-play strong { position: absolute; z-index: 1; bottom: 1.1rem; left: 1.1rem; right: 1.1rem; text-align: left; font-size: 1rem; }
.brand-about-story { background: var(--brand-ivory); }
.brand-about-story-grid h2 { max-width: 540px; }
.brand-about-method { background: var(--brand-forest); color: #fff; }
.brand-about-method h2 { color: #fff; }
.brand-about-method .brand-section-intro > p:last-child { color: #e6ede8; }
.brand-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #8b9a91; }
.brand-method-grid article { padding: 1.5rem 2rem 0 0; }
.brand-method-grid article span { color: #f4d5a9; font-size: .78rem; }
.brand-method-grid article h3 { margin-top: .85rem; color: #fff; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; }
.brand-method-grid article p { color: #e6ede8; }
.brand-about-standard { background: #fffdf8; }
.brand-about-next-step { margin-top: 1.5rem; padding-top: 1.35rem; border-top: 1px solid #d4d9d1; }
.brand-about-next-step h3 { margin: 0 0 .5rem; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.brand-about-next-step p { margin: 0; }
.brand-about-next-step p + p { margin-top: .65rem; }
.brand-about-next-step .hero-actions { margin: 1.1rem 0; }
.brand-review-date { font-size: .88rem; }

@media (min-width: 1100px) {
  .brand-pilot .menu-toggle { display: none; }
  .brand-pilot .nav-links { position: static; display: flex; align-items: center; gap: .1rem; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .brand-pilot .nav-links a { padding: .7rem .58rem; font-size: .88rem; }
  .brand-pilot .nav-links .nav-cta { padding: .72rem 1rem; }
}

@media (max-width: 1099px) {
  .brand-pilot .menu-toggle { display: inline-grid; }
  .brand-pilot .nav-links {
    position: absolute;
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .brand-pilot .nav-links:not(.is-open) { display: none; }
  .brand-pilot .nav-links.is-open { display: grid; }
}

@media (max-width: 900px) {
  .brand-home-hero-grid,
  .brand-about-hero-grid { grid-template-columns: 1fr; }
  .brand-home-hero-image img { height: clamp(300px, 52vw, 530px); }
  .brand-about-portrait { max-width: 530px; }
  .brand-about-video-grid,
  .brand-about-story-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .brand-decision-layout { grid-template-columns: 1fr; gap: 1rem; }
  .brand-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-location-grid a:nth-child(2) { border-right: 0; }
  .brand-location-grid a:nth-child(-n+2) { border-bottom: 1px solid #d7d1c5; }
}

@media (max-width: 600px) {
  .brand-pilot .container,
  .brand-pilot .nav { width: min(100% - 2rem, 1220px); }
  .brand-home-hero,
  .brand-about-hero { padding: 2.8rem 0 3.5rem; }
  .brand-home-hero-copy h1,
  .brand-about-hero-copy h1 { font-size: clamp(3.1rem, 12vw, 4.2rem); }
  .brand-home-hero-image::before { inset: .75rem -.5rem -.75rem .75rem; }
  .brand-home-hero-image img { height: 290px; }
  .brand-about-portrait img { height: 440px; }
  .brand-location-grid { grid-template-columns: 1fr; }
  .brand-location-grid a { min-height: 145px; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid #d7d1c5; }
  .brand-location-grid a:last-child { border-bottom: 0; }
  .brand-location-grid strong { margin-top: .6rem; }
  .brand-location-grid small { padding-top: .4rem; }
  .brand-method-grid { grid-template-columns: 1fr; }
  .brand-method-grid article { padding: 1.3rem 0; border-bottom: 1px solid #8b9a91; }
  .brand-method-grid article:last-child { border-bottom: 0; }
  .brand-video-play span { width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.brand-pilot) { scroll-behavior: auto; }
  .brand-location-grid a { transition: none; }
}

/* Premium Home/About Design Lock v1: scoped to the two editorial pages. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-semibold-latin.woff2") format("woff2");
}
.brand-pilot {
  --brand-navy: #26312d;
  --brand-forest: #153f34;
  --brand-copper: #8b6645;
  --brand-ivory: #f7f4ee;
  --brand-soft: #e9eee8;
  color: #26312d;
}
.brand-pilot .site-header { background: #f7f4ee; border-bottom-color: transparent; }
.brand-pilot .brand-home-hero,
.brand-pilot .brand-about-hero { padding-top: clamp(4.5rem, 7vw, 6rem); }
.brand-pilot .brand-home-hero { padding-bottom: 0; }
.brand-pilot .brand-home-hero-copy h1,
.brand-pilot .brand-about-hero-copy h1 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -.035em; color: #26312d; }
.brand-pilot .brand-home-hero-copy h1 { font-size: clamp(3rem, 4.1vw, 3.65rem); max-width: 650px; line-height: 1.1; }
[lang^="zh"] .brand-pilot .brand-home-hero-copy h1 { text-wrap: balance; }
.brand-pilot .brand-about-hero-copy h1 { font-size: clamp(3.2rem, 5vw, 4.5rem); line-height: 1.06; }
.brand-pilot .brand-home-hero-copy h1 em,
.brand-pilot .brand-about-hero-copy h1 em { color: inherit; font-style: normal; font-weight: inherit; }
.brand-pilot .brand-home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); }
.brand-pilot .brand-home-hero-image::before { content: none; }
.brand-pilot .brand-home-hero-image img,
.brand-pilot .brand-about-portrait img { display: block; width: 100%; object-fit: cover !important; }
.brand-pilot .brand-image-fallback { display: grid; min-height: 290px; place-items: center; padding: 2rem; background: #e9eee8; color: #26312d; font-size: 1rem; line-height: 1.6; text-align: center; }
.brand-pilot .brand-home-hero-image img { height: clamp(300px, 28.2vw, 405px); object-position: 58% center; }
.brand-pilot .brand-about-portrait img { object-position: center 21%; }
.brand-pilot .brand-home-proof { display: block; margin: clamp(3rem, 5vw, 5rem) 0 0; padding: 1.4rem 0; border: 0; background: #e9eee8; color: #153f34; }
.brand-pilot .brand-home-proof .container { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; }
.brand-pilot .brand-home-proof strong { color: #153f34; }
.brand-pilot .button.primary { background: #153f34; color: #fffdf8; }
.brand-pilot .button.secondary { background: #fffdf8; color: #26312d; border: 1px solid #153f34; }
.brand-pilot .home-about-section .about-portrait img { display: block; object-fit: cover !important; object-position: center 21%; }
.brand-pilot .home-about-section .about-portrait figcaption span { color: #52605b; }
.brand-pilot .home-about-section .about-points div { background: #fffdf8; }
.brand-pilot .home-about-section .about-points strong { color: #26312d; }
.brand-pilot .home-about-section .about-points span { color: #52605b; }
.brand-pilot .home-about-section .button.secondary { background: #fffdf8; color: #26312d; border-color: #fffdf8; }
.brand-pilot .home-about-section .button.primary { background: #f3d7ad; color: #26312d; border-color: #f3d7ad; }
.brand-pilot .home-about-section .button.primary:hover { background: #fff0d7; border-color: #fff0d7; }
.brand-pilot .home-about-section .button.secondary { background: transparent; color: #fffdf8; border-color: #fffdf8; }
.brand-pilot .home-compact-section .row-heading { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 2rem; }
.brand-pilot .home-compact-section .section-heading { max-width: 800px; }
@media (min-width: 768px) {
  .brand-pilot .home-compact-section .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
}
.brand-pilot .button:focus-visible,
.brand-pilot a:focus-visible,
.brand-pilot .menu-toggle:focus-visible { outline: 3px solid #b07942; outline-offset: 3px; }
.brand-pilot .brand-editorial-footer { padding: 0; background: #153f34; color: #e9eee8; }
.brand-pilot .brand-footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 4rem); padding-top: 3rem; padding-bottom: 2.5rem; }
.brand-pilot .brand-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; min-width: 0; }
.brand-pilot .brand-footer-column h2 { margin: 0 0 .4rem; color: #fffdf8; font-family: inherit; font-size: .84rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.brand-pilot .brand-footer-column a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: #e9eee8; font-size: .95rem; font-weight: 400; line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; }
.brand-pilot .brand-footer-column a:hover,
.brand-pilot .brand-footer-column a:focus-visible { color: #fffdf8; text-decoration: underline; text-underline-offset: .2rem; }
.brand-pilot .brand-footer-identity strong { color: #fffdf8; font-size: 1.28rem; }
.brand-pilot .brand-footer-logo { display: block; width: clamp(84px, 7vw, 112px); height: auto; margin: 0 0 .65rem; object-fit: contain !important; }
.brand-pilot .brand-footer-identity p { max-width: 24ch; margin: .6rem 0 0; color: #e9eee8; font-size: .95rem; line-height: 1.6; }
.brand-pilot .brand-footer-bottom { padding: 1.15rem 0 1.4rem; border-top: 1px solid rgba(233,238,232,.35); color: #e9eee8; font-size: .8rem; }
@media (max-width: 1099px) {
  .brand-pilot .brand-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .brand-pilot .brand-home-hero-grid { grid-template-columns: 1fr; }
  .brand-pilot .brand-home-hero-image img { height: clamp(300px, 52vw, 530px); }
}
@media (max-width: 600px) {
  .brand-pilot .brand-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2.4rem; }
  .brand-pilot .brand-footer-column { gap: .1rem; }
  .brand-pilot .brand-home-hero-image img { height: 290px; }
  .brand-pilot .brand-home-hero-copy h1,
  .brand-pilot .brand-about-hero-copy h1 { font-size: clamp(2.9rem, 11vw, 4rem); }
}
/* The CMS adds a language switch inside the mobile header. At 320px its
   default 104px menu reservation compresses the brand into three lines.
   The data-cms-locale qualifier leaves the static source page unchanged. */
@media (max-width: 360px) {
  .brand-pilot[data-cms-locale] .nav { gap: .5rem; }
  .brand-pilot[data-cms-locale] .brand { gap: .35rem; }
  .brand-pilot[data-cms-locale] .brand-logo { width: 30px; height: 30px; }
  .brand-pilot[data-cms-locale] .brand strong { max-width: none; font-size: .76rem; letter-spacing: -.02em; white-space: nowrap; }
  .brand-pilot[data-cms-locale] .brand small { display: none; }
  .brand-pilot[data-cms-locale] .site-header .menu-toggle { margin-right: 49px; }
  .brand-pilot[data-cms-locale] .pls-cms-language-switch { gap: 0; padding: 2px; right: 8px; }
  .brand-pilot[data-cms-locale] .pls-cms-language-switch span[aria-current="page"] { display: none; }
  .brand-pilot[data-cms-locale] .pls-cms-language-switch a { min-width: 44px; min-height: 44px; padding: 8px 9px; }
  .brand-pilot[data-cms-locale] .brand-home-hero,
  .brand-pilot[data-cms-locale] .brand-about-hero { padding-top: 3rem; }
}
/* Short phones need a visible primary action before the first scroll. Keep
   the copy and both enquiry paths intact while reducing only vertical space. */
@media (max-width: 380px) and (max-height: 640px) {
  .brand-pilot[data-cms-locale] .brand-home-hero,
  .brand-pilot[data-cms-locale] .brand-about-hero { padding-top: 1.25rem; }
  .brand-pilot .brand-home-hero-copy h1,
  .brand-pilot .brand-about-hero-copy h1 { font-size: 2.5rem; line-height: 1.04; }
  .brand-pilot .brand-home-hero-copy > p:not(.eyebrow, .brand-home-proof),
  .brand-pilot .brand-about-hero-copy > p:not(.eyebrow, .brand-about-affiliation) {
    margin-top: .85rem;
    font-size: .96rem;
    line-height: 1.5;
  }
  .brand-pilot .brand-home-hero .hero-actions,
  .brand-pilot .brand-about-hero .hero-actions { margin-top: 1rem; }
}
