:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #5e5e5e;
  --bronze: #b88a44;
  --gold-hover: #c9a76b;
  --green: #5c6b5a;
  --line: #ded8cf;
  --soft-line: rgba(17, 17, 17, 0.08);
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
  --radius: 16px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", "Source Han Sans", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(22px, 4vw, 58px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0));
  transition: background 260ms ease, color 260ms ease, border-color 260ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(247, 245, 242, 0.92);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 4px;
  border: 1px solid rgba(184, 138, 68, 0.48);
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.02);
}

.site-header.scrolled .brand-logo {
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.14);
}

.footer-brand .brand-logo {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
}

.brand-seal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Noto Serif SC", serif;
  font-size: 21px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand small {
  opacity: 0.72;
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  font-size: 13px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

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

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 44px;
  color: #fff;
  background: rgba(184, 138, 68, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 220ms ease, transform 220ms ease;
}

.header-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.36) 44%, rgba(0, 0, 0, 0.08) 100%),
    url("assets/hero-fengshui-consultant.jpg") center right / cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.46));
}

.hero-inner {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: #d4b174;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(58px, 8vw, 116px);
  line-height: 1.02;
  font-weight: 700;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.13;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.hero-statement {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 42px);
  font-family: "Noto Serif SC", serif;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-solid {
  color: #fff;
  background: var(--bronze);
  border: 1px solid var(--bronze);
}

.button-solid:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.button-ghost.dark {
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.2);
}

.button-ghost:hover {
  color: #fff;
  background: var(--bronze);
  border-color: var(--bronze);
}

.hero-meta {
  position: absolute;
  right: clamp(22px, 4vw, 58px);
  bottom: 34px;
  left: clamp(22px, 4vw, 58px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.hero-meta span {
  padding: 18px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-meta span:last-child {
  border-right: 0;
}

.compass-line {
  position: absolute;
  right: 8%;
  bottom: 14%;
  z-index: 1;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  opacity: 0.16;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  animation: compassDrift 80s linear infinite;
}

.compass-line::before,
.compass-line::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  content: "";
}

.compass-line::after {
  inset: 50% 4%;
  height: 1px;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--soft-line);
  background: var(--surface);
}

.intro-item {
  padding: 34px clamp(22px, 4vw, 58px);
  border-right: 1px solid var(--soft-line);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item strong {
  display: block;
  color: var(--bronze);
  font-family: "Noto Serif SC", serif;
  font-size: 40px;
  line-height: 1;
}

.intro-item span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-kicker span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(184, 138, 68, 0.45);
  border-radius: 50%;
}

.section-kicker p {
  margin: 0;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 920px;
}

.about-grid,
.why-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.about-copy p,
.why-content p,
.contact-inner p {
  color: var(--muted);
  font-size: 17px;
}

.about-image,
.why-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image img,
.why-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.consultant-portrait {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  width: min(360px, calc(100% - 44px));
  padding: 14px;
  color: #fff;
  background: rgba(17, 17, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(18px);
}

.consultant-portrait img {
  width: 92px;
  height: 112px;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 10px;
}

.consultant-portrait span,
.consultant-portrait strong {
  display: block;
}

.consultant-portrait span {
  margin-bottom: 6px;
  color: #d7b679;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.consultant-portrait strong {
  font-size: 17px;
  line-height: 1.35;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--soft-line);
  border-left: 1px solid var(--soft-line);
}

.service-card {
  min-height: 310px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.64);
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 34px;
  color: var(--green);
  border: 1px solid rgba(92, 107, 90, 0.32);
  border-radius: 50%;
  font-family: "Noto Serif SC", serif;
  font-size: 19px;
  font-weight: 700;
}

.service-card p {
  min-height: 96px;
  color: var(--muted);
  font-size: 15px;
}

.service-card a {
  color: var(--bronze);
  font-size: 14px;
  font-weight: 600;
}

.process-section {
  background: #fff;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.process-inner {
  padding-top: 110px;
  padding-bottom: 110px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step {
  min-height: 250px;
  padding: 26px;
  background: var(--surface);
}

.process-step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 48px;
  color: var(--bronze);
  border: 1px solid rgba(184, 138, 68, 0.38);
  border-radius: 50%;
  font-weight: 700;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
}

.why-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-grid div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
}

.stat-grid strong {
  display: block;
  color: var(--bronze);
  font-family: "Noto Serif SC", serif;
  font-size: 46px;
  line-height: 1;
}

.stat-grid span {
  color: var(--muted);
  font-size: 14px;
}

.project-masonry {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  grid-auto-rows: 300px;
  gap: 18px;
}

.project-masonry figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: #ddd;
}

.project-tall {
  grid-row: span 2;
}

.project-wide {
  grid-column: span 2;
}

.project-masonry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.project-masonry figure:hover img,
.journal-card:hover img {
  transform: scale(1.04);
}

.project-masonry figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  font-weight: 600;
}

.project-masonry figcaption span {
  display: block;
  margin-bottom: 4px;
  color: #d7b679;
  font-size: 12px;
  text-transform: uppercase;
}

.journal-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.journal-card,
.testimonial-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  box-shadow: 0 12px 38px rgba(17, 17, 17, 0.04);
}

.journal-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.journal-card div,
.testimonial-card {
  padding: 28px;
}

.journal-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-card p,
.testimonial-card p {
  color: var(--muted);
}

.testimonial-card {
  min-height: 240px;
}

.testimonial-card p {
  font-size: 18px;
}

.testimonial-card span {
  display: block;
  margin-top: 30px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.contact-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.76), rgba(17, 17, 17, 0.38)),
    url("assets/generated/mountain-water-cta.png") center / cover;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  color: #fff;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  justify-content: center;
  margin-top: 34px;
}

.mountain-line {
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  opacity: 0.24;
  background:
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.6) 46%, transparent 47%) 0 80px / 180px 90px repeat-x;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 54px;
  align-items: start;
  padding: 58px clamp(22px, 4vw, 58px);
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  max-width: 480px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-contact a {
  color: #d7b679;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 48px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(90px);
  transition: transform 260ms ease, background 220ms ease;
}

.floating-whatsapp.visible {
  transform: translateY(0);
}

.floating-whatsapp:hover {
  background: var(--bronze);
}

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

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

.image-reveal {
  clip-path: inset(0 0 18% 0);
  transition: opacity 900ms ease, transform 900ms ease, clip-path 900ms ease;
}

.image-reveal.visible {
  clip-path: inset(0);
}

@keyframes compassDrift {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }

  .about-grid,
  .why-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-line {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-masonry {
    grid-template-columns: 1fr 1fr;
  }

  .journal-grid,
  .testimonial-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .brand strong {
    max-width: 150px;
    font-size: 12px;
  }

  .brand small,
  .header-cta {
    font-size: 11px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    padding: 3px;
  }

  .header-cta {
    min-width: 84px;
    height: 40px;
  }

  .hero-inner {
    width: min(100% - 32px, var(--max));
    padding-top: 86px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  .hero-meta,
  .intro-strip,
  .service-grid,
  .process-line,
  .stat-grid,
  .project-masonry,
  .journal-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(100% - 32px, var(--max));
    margin: -116px auto 28px;
  }

  .hero-meta span,
  .intro-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .intro-item {
    padding: 26px 22px;
    border-bottom-color: var(--soft-line);
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 78px 0;
  }

  .about-image img,
  .why-image img {
    height: 420px;
  }

  .consultant-portrait {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 76px 1fr;
    width: calc(100% - 28px);
  }

  .consultant-portrait img {
    width: 76px;
    height: 92px;
  }

  .service-card {
    min-height: auto;
  }

  .process-step {
    min-height: auto;
  }

  .process-step span {
    margin-bottom: 24px;
  }

  .project-tall,
  .project-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .project-masonry {
    grid-auto-rows: 340px;
  }

  .compass-line {
    width: 300px;
    right: -80px;
    bottom: 18%;
  }
}

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