:root {
  --ink: #171513;
  --muted: #69635c;
  --soft: #f4eee8;
  --paper: #fffaf3;
  --line: rgba(23, 21, 19, 0.12);
  --gold: #b68a4a;
  --clay: #8f5f52;
  --forest: #16362f;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(23, 21, 19, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Serif SC", "Songti SC", "Microsoft YaHei", "PingFang SC", serif;
  line-height: 1.7;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
blockquote,
a,
span {
  margin: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
.brand strong,
.btn {
  line-height: 1.18;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
  box-shadow: 0 16px 50px rgba(23, 21, 19, 0.08);
  backdrop-filter: blur(18px);
  transition:
    transform 260ms ease,
    background 260ms ease,
    border-color 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 243, 0.94);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 22px;
}

.brand strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(23, 21, 19, 0.74);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 200ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(42deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-42deg);
}

.section-band {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 92svh;
  padding: 128px 20px 76px;
  color: var(--paper);
  background: #191614;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 21, 19, 0.93) 0%, rgba(23, 21, 19, 0.74) 42%, rgba(23, 21, 19, 0.34) 100%),
    linear-gradient(180deg, rgba(23, 21, 19, 0) 76%, rgba(23, 21, 19, 0.72) 100%),
    url("./assets/profile.jpg") center right / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.58fr);
  gap: 66px;
  align-items: end;
  width: min(100%, var(--max));
  min-height: calc(92svh - 204px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 770px;
  padding-bottom: 24px;
}

.eyebrow {
  color: var(--gold);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin-top: 20px;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin-top: 28px;
  color: rgba(255, 250, 243, 0.8);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    color 200ms ease;
}

.btn::after {
  margin-left: 10px;
  content: "→";
  font-family: "Inter", "Segoe UI", sans-serif;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 18px 34px rgba(182, 138, 74, 0.24);
}

.btn-primary:hover {
  background: #c89a5a;
}

.btn-ghost {
  color: var(--paper);
  border-color: rgba(255, 250, 243, 0.3);
  background: rgba(255, 250, 243, 0.08);
}

.btn-ghost:hover {
  border-color: rgba(255, 250, 243, 0.58);
}

.hero-panel {
  align-self: center;
  padding: 14px;
  border: 1px solid rgba(255, 250, 243, 0.2);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.08);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.portrait-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}

.portrait-wrap img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.02);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 14px;
  border-radius: 6px;
  background: rgba(255, 250, 243, 0.12);
}

.metrics div {
  min-width: 0;
  padding: 17px 10px;
  background: rgba(23, 21, 19, 0.34);
  text-align: center;
}

.metrics strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 243, 0.74);
  font-size: 12px;
  white-space: nowrap;
}

.section {
  position: relative;
  padding: 118px 20px;
}

.section::before {
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  max-width: var(--max);
  height: 1px;
  margin: auto;
  background: var(--line);
  content: "";
}

.section-intro::before,
.section-soft::before,
.section-dark::before {
  content: none;
}

.section-kicker {
  position: absolute;
  top: 88px;
  left: max(20px, calc((100% - var(--max)) / 2));
  color: rgba(23, 21, 19, 0.08);
  font-family: Georgia, serif;
  font-size: clamp(58px, 11vw, 150px);
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
}

.section-dark .section-kicker {
  color: rgba(255, 250, 243, 0.08);
}

.split,
.split-reverse,
.section-heading,
.acc-layout,
.prepare-layout,
.contact-section {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split,
.split-reverse {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 76px;
  align-items: start;
}

.split-reverse {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
}

.section-title h2,
.section-heading h2,
.content-column h2,
.acc-copy h2,
.prepare-layout h2,
.contact-card h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 500;
  letter-spacing: 0;
}

.prose {
  color: var(--muted);
  font-size: 18px;
}

.prose p + p {
  margin-top: 24px;
}

.signature-block {
  margin-top: 38px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.signature-block span {
  display: block;
  color: var(--clay);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signature-block strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
}

.section-soft {
  background: #efe5da;
}

.image-column {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-column img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.content-column > p:not(.eyebrow),
.acc-copy > p:not(.eyebrow),
.contact-card > p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.principles {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.principles article,
.acc-services article,
.prepare-list article,
.specialty-card,
.testimonial {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.66);
}

.principles article {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  padding: 24px;
}

.principles span,
.prepare-list span,
.specialty-card span {
  color: var(--gold);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.principles h3 {
  font-size: 22px;
  font-weight: 500;
}

.principles p {
  grid-column: 2;
  margin-top: 7px;
  color: var(--muted);
}

.style-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 60px;
  align-items: end;
  width: min(100%, var(--max));
  margin: 86px auto 0;
  padding-top: 34px;
  border-top: 1px solid rgba(23, 21, 19, 0.18);
}

.style-strip h3 {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 500;
}

.style-strip > p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-left: max(20px, calc((100% - var(--max)) / 2));
}

.specialty-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, var(--max));
  margin: 58px auto 0;
}

.specialty-card {
  min-height: 260px;
  padding: 28px;
  background: #fffdf8;
  box-shadow: 0 16px 56px rgba(23, 21, 19, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.specialty-card:hover {
  border-color: rgba(182, 138, 74, 0.42);
  box-shadow: 0 24px 72px rgba(23, 21, 19, 0.1);
  transform: translateY(-6px);
}

.specialty-card h3 {
  margin-top: 52px;
  font-size: 23px;
  font-weight: 500;
}

.specialty-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.section-dark {
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(22, 54, 47, 0.96), rgba(23, 21, 19, 0.9)),
    url("./assets/profile.jpg") center / cover no-repeat;
}

.acc-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}

.acc-copy p:not(.eyebrow) {
  color: rgba(255, 250, 243, 0.76);
}

.acc-services {
  display: grid;
  gap: 18px;
}

.acc-services article {
  padding: 30px;
  border-color: rgba(255, 250, 243, 0.16);
  background: rgba(255, 250, 243, 0.08);
  backdrop-filter: blur(14px);
}

.acc-services h3 {
  color: var(--gold);
  font-size: 24px;
  font-weight: 500;
}

.acc-services p {
  margin-top: 12px;
  color: rgba(255, 250, 243, 0.74);
}

.testimonial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, var(--max));
  margin: 58px auto 0;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  padding: 30px;
  background: #fffdf8;
}

.testimonial blockquote {
  color: #38322d;
  font-size: 20px;
}

.testimonial figcaption {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.testimonial strong,
.testimonial span {
  display: block;
}

.testimonial strong {
  font-size: 18px;
  font-weight: 600;
}

.testimonial span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.prepare-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 76px;
}

.prepare-list {
  display: grid;
  gap: 14px;
}

.prepare-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 26px;
  background: rgba(255, 250, 243, 0.72);
}

.prepare-list p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: stretch;
}

.contact-section::before {
  right: 0;
  left: 0;
}

.contact-image {
  overflow: hidden;
  min-height: 560px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-card {
  align-self: center;
  padding: 68px 0;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin: 34px 0 34px;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 18px;
}

.contact-methods a,
.contact-methods span {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  word-break: break-word;
}

.contact-card .btn-primary {
  width: fit-content;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Inter", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.site-footer a {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .menu-toggle {
    position: relative;
    z-index: 22;
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 21;
    display: grid;
    gap: 0;
    padding: 98px 24px 24px;
    border-radius: 0 0 8px 8px;
    background: rgba(255, 250, 243, 0.98);
    box-shadow: 0 24px 70px rgba(23, 21, 19, 0.16);
    transform: translateY(-106%);
    transition: transform 260ms ease;
  }

  .menu-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 17px;
  }

  .site-nav a::after {
    content: none;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-inner,
  .split,
  .split-reverse,
  .acc-layout,
  .prepare-layout,
  .contact-section,
  .style-strip {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .hero-panel {
    width: min(100%, 460px);
  }

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

  .section-heading {
    margin-inline: auto;
  }

  .contact-card {
    padding: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 10px 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .brand strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 108px 16px 48px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(23, 21, 19, 0.96) 0%, rgba(23, 21, 19, 0.78) 56%, rgba(23, 21, 19, 0.92) 100%),
      url("./assets/profile.jpg") center top / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-panel {
    display: none;
  }

  .hero-lede,
  .prose,
  .content-column > p:not(.eyebrow),
  .acc-copy > p:not(.eyebrow),
  .contact-card > p,
  .style-strip > p {
    font-size: 16px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .section {
    padding: 76px 16px;
  }

  .section-kicker {
    top: 58px;
    left: 16px;
    font-size: 58px;
  }

  .section-title h2,
  .section-heading h2,
  .content-column h2,
  .acc-copy h2,
  .prepare-layout h2,
  .contact-card h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .principles article,
  .prepare-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .principles p {
    grid-column: auto;
  }

  .specialty-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    min-height: 220px;
  }

  .specialty-card h3 {
    margin-top: 40px;
  }

  .testimonial {
    min-height: auto;
  }

  .contact-image {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .contact-card .btn-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
