:root {
  --bg: #f6f3ec;
  --bg-soft: #efede5;
  --surface: #fbfaf6;
  --ink: #22302c;
  --muted: #697570;
  --green: #78948b;
  --green-deep: #496b61;
  --line: rgba(34, 48, 44, 0.12);
  --shadow: 0 24px 80px rgba(54, 70, 64, 0.10);
  --radius-lg: 34px;
  --radius-md: 24px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(73, 107, 97, 0.28);
  border-radius: 11px 11px 11px 4px;
  background: rgba(255, 255, 255, 0.38);
  overflow: hidden;
}

.brand-wave,
.brand-wave::after {
  position: absolute;
  content: "";
  left: 4px;
  width: 28px;
  height: 15px;
  border: 1.8px solid var(--green-deep);
  border-color: var(--green-deep) transparent transparent transparent;
  border-radius: 50%;
}

.brand-wave {
  top: 16px;
  transform: rotate(-6deg);
}

.brand-wave::after {
  top: 5px;
  left: 5px;
  opacity: 0.35;
}

.brand-name {
  font-size: 17px;
}

.section-shell {
  padding: 120px 0;
}

.hero {
  min-height: 760px;
  padding-top: 174px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero h1,
.section-heading h2,
.philosophy blockquote {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero h1 {
  font-size: clamp(54px, 6.3vw, 88px);
  line-height: 1.08;
}

.hero h1 span {
  color: var(--green-deep);
}

.hero-lead {
  margin: 32px 0 30px;
  max-width: 610px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(73, 107, 97, 0.32);
  color: var(--green-deep);
  font-size: 15px;
}

.text-link span {
  transition: transform 220ms ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.hero-art {
  position: relative;
  height: 470px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.2px);
}

.orb-large {
  width: 340px;
  height: 340px;
  right: 12px;
  top: 42px;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.72), transparent 31%),
    linear-gradient(145deg, #b9cdc4, #78988d);
  box-shadow: var(--shadow);
}

.orb-small {
  width: 110px;
  height: 110px;
  left: 36px;
  bottom: 36px;
  background: #ded9c9;
  opacity: 0.9;
}

.paper-card {
  position: absolute;
  background: rgba(251, 250, 246, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(38, 55, 49, 0.12);
}

.card-a {
  left: 0;
  top: 88px;
  width: 254px;
  padding: 28px;
  border-radius: 28px 28px 28px 8px;
}

.card-a p {
  margin: 16px 0 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
  line-height: 1.65;
}

.card-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.card-b {
  right: 10px;
  bottom: 12px;
  width: 196px;
  height: 118px;
  padding: 30px 26px;
  border-radius: 22px;
}

.mini-line {
  display: block;
  height: 5px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #aab7b2;
  opacity: 0.7;
}

.mini-line.short {
  width: 68%;
}

.services {
  background: var(--surface);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 56px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
  flex: 0 0 auto;
}

.section-heading h2 {
  max-width: 590px;
  margin-left: auto;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.22;
}

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

.service-card {
  min-height: 280px;
  padding: 34px 26px 36px;
  border-right: 1px solid var(--line);
  transition: background 220ms ease, transform 220ms ease;
}

.service-card:first-child {
  border-left: 1px solid var(--line);
}

.service-card:hover {
  background: rgba(120, 148, 139, 0.07);
  transform: translateY(-3px);
}

.service-index {
  display: block;
  margin-bottom: 92px;
  color: var(--green-deep);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 650;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.philosophy {
  padding-top: 156px;
  padding-bottom: 156px;
}

.philosophy-inner {
  max-width: 900px;
  text-align: center;
}

.philosophy blockquote {
  margin: 0 auto;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.35;
}

.philosophy-copy {
  max-width: 650px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.values {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 46px;
  color: var(--green-deep);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.values i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(73, 107, 97, 0.5);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-inner a {
  color: #8a938f;
  font-size: 12px;
}

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

.reveal-delay {
  transition-delay: 100ms;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .service-card,
  .text-link span {
    transition: none;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-inner {
    height: 80px;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 88px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-art {
    width: min(100%, 560px);
    height: 430px;
    margin: 0 auto;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin: 0;
  }

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

  .service-card:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .service-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-name {
    font-size: 16px;
  }

  .hero {
    padding-top: 126px;
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.85;
  }

  .desktop-break {
    display: none;
  }

  .hero-art {
    height: 350px;
  }

  .orb-large {
    width: 255px;
    height: 255px;
    right: -10px;
    top: 40px;
  }

  .orb-small {
    width: 78px;
    height: 78px;
    left: 16px;
  }

  .card-a {
    top: 72px;
    width: 220px;
    padding: 24px;
  }

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

  .card-b {
    right: 2px;
    width: 160px;
    height: 100px;
    padding: 25px 20px;
  }

  .section-shell {
    padding: 88px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:first-child,
  .service-card:nth-child(2) {
    min-height: 210px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-index {
    margin-bottom: 56px;
  }

  .philosophy {
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .philosophy blockquote {
    font-size: 42px;
  }

  .philosophy-copy {
    font-size: 15px;
    line-height: 1.9;
  }

  .values {
    gap: 11px;
    font-size: 12px;
  }

  .footer-inner {
    min-height: 76px;
  }
}
