.site-home,
.site-home button,
.site-home input,
.site-home select,
.site-home textarea {
  font-family: "Times New Roman", Times, serif;
}

.site-home {
  --family-bg: #eef1ec;
  --family-surface: #f8f7f2;
  --family-ink: #17211c;
  --family-muted: #637068;
  --family-accent: #a4312d;
  --family-accent-strong: #79211f;
  --family-highlight: #c8a157;
  --family-line: rgba(23,33,28,0.17);
  --family-dark: #101713;
  --family-dark-2: #080d0a;
}

.site-home.has-cursor-light .family-cursor-light { opacity: 0.72; }
.site-home .family-text-link { color: currentColor; }

.site-home .family-switcher { position: relative; }

.home-hero {
  --hero-x: 0px;
  --hero-y: 0px;
  --hero-copy-x: 0px;
  --hero-copy-y: 0px;
  --hero-note-x: 0px;
  --hero-note-y: 0px;
  position: relative;
  min-height: clamp(660px, 88svh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f8f5ec;
  background: #0b110e;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.home-hero__media,
.home-hero__scrim { position: absolute; inset: 0; }
.home-hero__media {
  transform: translate3d(var(--hero-x), var(--hero-y), 0) scale(1.04);
  transition: transform 0.25s ease-out;
}
.home-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1s ease, transform 7s ease; }
.home-hero__media img.is-active { opacity: 1; transform: scale(1.1); }
.home-hero__media img:nth-child(2) { object-position: center 40%; background: #19110b; }
.home-hero__media img:nth-child(3) { object-position: 58% center; }
.home-hero__scrim { background: rgba(5,10,7,0.66); }
.home-hero__dots { position: absolute; z-index: 4; left: max(1.5rem,calc((100% - var(--family-width)) / 2)); bottom: 2.2rem; display: flex; gap: .65rem; }
.home-hero__dots button { width: 36px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.38); cursor: pointer; transition: width .25s ease, background .25s ease; }
.home-hero__dots button.is-active { width: 58px; background: #d9bd75; }

.home-hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--family-width), calc(100% - 3rem));
  margin: 5rem auto 0;
  transform: translate3d(var(--hero-copy-x), var(--hero-copy-y), 42px);
  transition: transform 0.25s ease-out;
}
.home-hero__content h1 { max-width: 900px; margin-bottom: 1.1rem; font-size: clamp(4.6rem, 7.4vw, 7rem); letter-spacing: -0.035em; }
.home-hero__content > p:not(.family-eyebrow) { max-width: 690px; color: rgba(255,255,255,0.78); font-size: 1.18rem; }

@media (min-width: 761px) {
  html:lang(zh-CN) .home-hero__content h1 {
    max-width: 1050px;
    font-size: clamp(4.6rem, 7.4vw, 6rem);
    line-height: 1.08;
  }
}

@media (min-width: 761px) and (max-height: 640px) {
  .home-hero { min-height: 100svh; }
  .home-hero__content { margin-top: 0; }
}
.home-hero__note {
  position: absolute;
  z-index: 3;
  right: max(1.5rem, calc((100% - var(--family-width)) / 2));
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid #d3aa59;
  transform: translate3d(var(--hero-note-x), var(--hero-note-y), 64px);
  transition: transform 0.25s ease-out;
}
.home-hero__note span { color: rgba(255,255,255,0.62); font-size: 0.7rem; text-transform: uppercase; }
.home-hero__note strong { margin-top: 0.2rem; font-family: var(--family-serif); font-size: 1.25rem; }

.home-company {
  width: min(var(--family-width), calc(100% - 3rem));
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  gap: 6rem;
  align-items: stretch;
  margin: 0 auto;
  padding: 8rem 0;
}
.home-company__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-company h2 { max-width: 540px; margin: 0; }
.home-company__copy { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; padding-top: 1.75rem; color: var(--family-muted); font-size: 1rem; }
.home-company__copy p { margin: 0; padding: 1.15rem 0 1.25rem; border-top: 1px solid var(--family-line); }
.home-company__copy p[data-frog-content-editable="true"] { transition: color .22s ease, border-color .22s ease, transform .22s var(--family-ease); }
.home-company__copy strong { display: block; margin-bottom: .35rem; color: var(--family-ink); font-size: 1.12rem; transition: color .22s ease; }
@media (hover: hover) and (pointer: fine) {
  .home-company__copy p[data-frog-content-editable="true"]:hover {
    color: var(--family-ink);
    border-top-color: rgba(164,49,45,.5);
    transform: translateY(-2px);
  }
  .home-company__copy p[data-frog-content-editable="true"]:hover strong { color: var(--family-accent); }
}
@media (prefers-reduced-motion: reduce) {
  .home-company__copy p[data-frog-content-editable="true"] { transition: color .22s ease, border-color .22s ease; }
  .home-company__copy p[data-frog-content-editable="true"]:hover { transform: none; }
}
.home-company__copy .family-text-link { margin-top: 0.35rem; }
.home-company__copy p:last-child { margin-bottom: 0; }

.home-businesses { padding: 7rem max(1.5rem,calc((100% - var(--family-width)) / 2)); color: #f4efe5; background: #101713; }
.home-businesses__head { width: min(var(--family-width), calc(100% - 3rem)); margin: 0 auto 4rem; }
.home-businesses__head h2 { margin-bottom: 0; }
.home-icon-grid { width: min(var(--family-width),100%); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 0 auto; }
.home-icon-card { min-height: 370px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(2rem,4vw,3.5rem); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.035); transition: transform .3s var(--family-ease), background .3s ease, border-color .3s ease; }
.home-icon-card:hover { transform: translateY(-8px); border-color: #d9bd75; background: rgba(217,189,117,.08); }
.home-icon-card__icon { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: auto; color: #d9bd75; border: 1px solid currentColor; border-radius: 50%; }
.home-icon-card__icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-icon-card__media { width: 100%; max-height: 150px; margin: 1.25rem 0 -1rem; border: 1px solid rgba(217,189,117,.24); }
.home-icon-card__media:not([hidden]) { aspect-ratio: 16 / 7; }
.home-icon-card__media img { object-fit: cover; }
.home-icon-card h3 { margin: 2.5rem 0 .85rem; font-size: 2.5rem; letter-spacing: .05em; }
.home-icon-card p { color: rgba(255,255,255,.64); }
.home-icon-card__link { margin-top: auto; color: #d9bd75; font-weight: 700; }

.home-team {
  width: min(var(--family-width), calc(100% - 3rem));
  margin: 0 auto;
  padding: 9rem 0;
}
.home-team__intro {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,0.85fr);
  gap: 7rem; align-items: start;
}
.home-team__copy { max-width: 680px; }
.home-team__copy p { color: var(--family-muted); }
.home-team__facts { margin: 0; border-top: 1px solid var(--family-line); }
.home-team__facts div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--family-line);
  transition: background 0.25s ease, padding 0.25s ease;
}
.home-team__facts div:hover,
.home-team__facts div:focus-within { padding-left: 0.8rem; background: rgba(164,49,45,0.055); }
.home-team__facts dt { color: var(--family-accent); font-weight: 700; }
.home-team__facts dd { margin: 0; color: var(--family-muted); }
.home-team__profiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 4rem; }
.home-team__profiles[hidden] { display: none; }
.home-person { min-width: 0; border: 1px solid var(--family-line); background: #f5f5ef; }
.home-person__portrait { height: 360px; display: grid; place-items: center; overflow: hidden; color: #fff; background: #153d2f; }
.home-person__portrait img { width: 100%; height: 100%; object-fit: cover; }
.home-person__portrait span { font-family: var(--family-serif); font-size: 5rem; }
.home-person__copy { min-height: 230px; padding: 1.5rem; }
.home-person__copy h3 { margin: 0.45rem 0 0.7rem; font-size: 2.2rem; }
.home-person__copy > p:last-child { margin: 0; color: var(--family-muted); font-size: 0.8rem; }
.home-person[data-depth-panel] > .home-person__portrait { transform: translateZ(12px); }
.home-person[data-depth-panel] > .home-person__copy { transform: translateZ(22px); }

.home-visit { color: #f4efe5; background: #0d1511; }
.home-visit .family-visit__details { border-color: rgba(255,255,255,0.14); }
.home-visit .family-visit__details > p:not(.family-eyebrow),
.home-visit address span { color: rgba(244,239,229,0.62); }
.home-visit address,
.home-visit address div { border-color: rgba(255,255,255,0.15); }
.home-visit .family-button--outline { color: #f4efe5; }
.home-visit--compact .family-visit__details {
  grid-template-columns: minmax(280px,0.8fr) minmax(520px,1.45fr);
  column-gap: clamp(3rem,7vw,7rem);
  padding-block: clamp(3.25rem,4.5vw,4.5rem);
}
.home-visit--compact .family-visit__details > address {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-self: start;
}
.home-visit--compact address div { min-width: 0; }
.home-visit--compact address div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
.home-visit--compact .family-visit__actions { align-self: end; }

@media (max-width: 1040px) {
  .home-hero__content h1 { font-size: 5rem; }
  .home-company, .home-team__intro { gap: 3.5rem; }
  .home-team__profiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-icon-card { min-height: 330px; padding: 2rem; }
}

@media (max-width: 760px) {
  .site-home .family-switcher { position: relative; }
  .home-hero { min-height: 700px; align-items: flex-end; }
  .home-hero__media { transform: scale(1.04); }
  .home-hero__scrim { background: rgba(5,10,7,0.72); }
  .home-hero__content { width: calc(100% - 2rem); margin: 0 auto 5rem; }
  .home-hero__content h1 { font-size: 3.6rem; }
  html:lang(zh-CN) .home-hero__content h1 { font-size: 3.15rem; }
  .home-hero__content > p:not(.family-eyebrow) { font-size: 1rem; }
  .home-hero__note { display: none; }
  .home-company { width: calc(100% - 2rem); grid-template-columns: 1fr; gap: 1.5rem; padding: 5rem 0; }
  .home-company__copy { padding-top: 0; }
  .home-businesses { padding-top: 5rem; }
  .home-businesses__head { width: calc(100% - 2rem); margin-bottom: 2.5rem; }
  .home-businesses { padding-inline: 1rem; }
  .home-icon-grid { grid-template-columns: 1fr; }
  .home-icon-card { min-height: 300px; }
  .home-team { width: calc(100% - 2rem); padding: 5rem 0; }
  .home-team__intro { grid-template-columns: 1fr; gap: 2rem; }
  .home-team__profiles { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .home-person { display: grid; grid-template-columns: minmax(130px,0.38fr) minmax(0,0.62fr); }
  .home-person__portrait { height: 100%; min-height: 270px; }
  .home-person__copy { min-height: 270px; }
  .home-team__facts div { grid-template-columns: 76px 1fr; }
  .home-visit--compact .family-visit__details { padding-block: 3.5rem; }
  .home-visit--compact .family-visit__details > address { grid-template-columns: 1fr; }
  .home-visit--compact address div:nth-child(odd) { border-right: 0; }
}

@media (max-width: 430px) {
  .home-person { grid-template-columns: 1fr; }
  .home-person__portrait { min-height: 290px; }
  .home-person__copy { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__media,
  .home-hero__content,
  .home-hero__note { transform: none; }
  .home-hero__media img { transition: opacity .4s ease; transform: none; }
  .home-hero__media img.is-active { transform: none; }
  .home-icon-card:hover { transform: none; }
}
