:root {
  --green: #075840;
  --ink: #141815;
  --paper: #f6f6f6;
  --mint: #77c6a3;
  font: 16px/1.5 "Segoe UI", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, figure, h1, h2, h3, p { margin: 0; }
button { border: 0; padding: 0; background: none; }
:focus-visible { outline: 2px solid #159361; outline-offset: 4px; }
html { scroll-padding-top: max(76px, 6.5vw); }
section, footer { scroll-margin-top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header {
  position: fixed; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35vw 4.6% 1.35vw 3%; gap: 2vw;
  transition: background-color .22s ease, box-shadow .22s ease;
}
.header.is-scrolled { background: #fff; box-shadow: 0 3px 14px #14231b14; }
.header.is-scrolled .nav-pill { background: #edf5ef; }
.brand { flex: 0 0 15%; }
.header nav { display: flex; align-items: center; justify-content: space-between; gap: 1.4vw; font-size: clamp(11px, .94vw, 19px); white-space: nowrap; }
.header nav a, .header nav button { transition: color .22s ease, background-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.header nav a:hover, .header nav button:hover { color: var(--green); }
.nav-pill { display: inline-flex; align-items: center; justify-content: center; gap: .55em; border-radius: 50px; background: #ffffffb8; padding: .35em 1.35em; }
.nav-pill:hover { background: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 12px #07584018; }
.icon { display: grid; place-items: center; width: 36px; height: 36px; font-size: 1.16rem; }
.menu { display: none; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; height: 51.35vw; display: grid; place-items: center;
  background: #d9f1e4;
}
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-background { object-fit: cover; }
.hero-logo { position: relative; z-index: 2; width: 42vw; height: auto; pointer-events: none; }
.about {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  width: 90%; min-height: 46vw; margin: 4.5vw auto 0; padding: 3.8vw 6.5%;
  background: var(--about-image, url('../images/home-about.png')) center / cover no-repeat #f5f7f7; border-radius: 12px;
}
.about-copy { width: 41%; }
.about-brand { width: 54%; margin: 0 0 2.8vw; }
h2 { font-size: clamp(27px, 2.35vw, 52px); color: var(--green); line-height: 1.08; font-weight: 850; letter-spacing: -.035em; }
.about h2 { font-size: clamp(26px, 2.35vw, 48px); font-weight: 800; letter-spacing: .01em; }
.about h3 { color: #3d4340; font-size: clamp(18px, 1.55vw, 32px); line-height: 1.18; margin-top: .5em; }
.about em { color: #158752; font-style: normal; }
.about p { margin: 1.1em 0 1.3em; max-width: 50ch; color: #363c39; font-size: clamp(13px,.92vw,18px); line-height: 1.55; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  border: 1px solid currentColor; border-radius: 100px; padding: .32em .65em .32em .95em;
  font-size: clamp(13px,.94vw,20px); font-weight: 700; color: var(--green);
  background: #ffffff30; width: fit-content;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pill span { display: grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; color: white; background: var(--green); line-height: 1; transition: transform .25s ease; }
.pill .learn-arrow { flex: none; width: 1.85em; height: 1.85em; }
.learn-arrow i { font-size: .72em; }
.pill:hover { background: #e2f2e8; transform: translateY(-2px); box-shadow: 0 6px 16px #07584022; }
.pill:hover span { transform: translateX(2px) scale(1.06); }
.pill:active { transform: translateY(0) scale(.98); }
.milestone { margin-top: 2.2vw; font-size: clamp(12px,.92vw,18px); color: #2b312e; }
.milestone svg { display: block; width: 2.25em; height: 2.25em; color: #6ec19b; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .15em; }
.milestone strong { display: block; color: #7ac9a6; font-size: clamp(58px,5.6vw,110px); font-weight: 400; letter-spacing: -.02em; line-height: 1.04; margin-bottom: .08em; }
.spaces { width: 86%; margin: 0 auto; padding: 6.5vw 0; }
.centered { text-align: center; }
.section-heading p { margin-top: .55em; color: #545956; font-size: clamp(14px,1.17vw,24px); }
.section-heading .pill { margin-top: 2.2vw; }
.space-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.3%; width: 95%; margin: 4.2vw auto 0; }
.space-card {
  overflow: hidden; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: end;
  aspect-ratio: .704; border-radius: 13% / 9%; background: #fbfcfb; border: 1px solid #eceeed;
  box-shadow: 0 4px 18px #0000000d; padding: 16% 8% 14%; gap: 7%;
  font-size: clamp(15px,1.35vw,28px); line-height: 1.15; text-align: center;
  transition: transform .55s cubic-bezier(.22,.61,.36,1), box-shadow .55s ease, border-color .55s ease, color .55s ease;
}
.space-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 53%,#100e08a0); opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.space-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s ease, transform .75s ease; pointer-events: none; }
.space-card > :not(.space-bg) { position: relative; z-index: 1; }
.space-card strong { min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
.space-card .space-icon { position: absolute; top: 30%; display: grid; place-items: center; width: 25%; aspect-ratio: 1; background: #dce9e4; border-radius: 50%; color: var(--green); font-size: 1.32em; transition: transform .28s ease; }
.space-card .space-icon svg { width: 54%; height: 54%; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.space-card .arrow { display: grid; place-items: center; color: white; background: var(--green); width: 1.25em; aspect-ratio: 1; border-radius: 50%; transition: transform .25s ease; }
.space-card:is(:hover, :focus-visible),
.space-grid:not(:has(> .space-card:is(:hover, :focus-visible))) > .space-card:first-child {
  color: white; align-items: start; text-align: left; padding: 12%; border-color: transparent;
  transform: translateY(-4px); box-shadow: 0 12px 26px #173d2a38;

  & .space-bg { opacity: 1; transform: scale(1.04); }
  &::after { opacity: 1; }
  & .space-icon { position: static; background: none; color: white; width: auto; }
  & .space-icon svg { width: 1.45em; height: 1.45em; }
  & strong { min-height: 0; justify-content: start; }
  & .arrow { display: none; }
}
.service {
  min-height: 55vw; position: relative; padding: 8.5vw 4.9% 14.5vw 57.5%;
  background: var(--service-image, url('../images/home-service.jpg')) center / cover no-repeat #f5f5f3;
}
.service .section-heading .pill { margin-top: 2vw; background: #ffffff70; }
.service h2 { font-size: clamp(24px,2.18vw,45px); }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85vw; margin-top: 1.8vw; }
.service-card {
  min-height: 7.4vw; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.15em .5em; background: #ffffffd6; backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px #0000000a; font-size: clamp(13px,.9vw,18px); line-height: 1.2;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { background: #fffffff5; transform: translateY(-4px); box-shadow: 0 10px 24px #07584018; }
.service-card svg { width: 2.3em; height: 2.3em; color: var(--green); fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .45em; transition: transform .25s ease; }
.service-card:hover svg { transform: scale(1.08); }
.service-card small { margin-top: .32em; color: #545956; font-size: .86em; }
.membership { position: absolute; left: 50%; bottom: 2.8vw; transform: translateX(-50%); text-align: center; font-size: clamp(12px,.88vw,17px); color: #3d4340; line-height: 1.25; }
.membership img { width: clamp(94px,11.2vw,220px); margin: 0 auto .6em; }
.news { margin: 0 auto; width: 86%; padding: 6.5vw 0; }
.eyebrow { color: #569e6a !important; font-weight: 700; letter-spacing: .04em; font-size: clamp(11px,.86vw,17px) !important; margin-bottom: .45em; }
.news-grid { display: grid; grid-template-columns: .84fr 1fr; gap: 1.5vw; margin-top: 2.4vw; align-items: stretch; }
.news-feature {
  position: relative; isolation: isolate; overflow: hidden; min-height: 25.5vw;
  color: white; border-radius: 18px; padding: 5.5%; display: flex; align-items: end;
  text-align: left; background: #163c2a; transition: box-shadow .3s ease;
}
.news-feature::before, .news-feature::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.news-feature::before { background: url('../images/home-service.jpg') center top / cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.news-feature::after { background: linear-gradient(transparent 44%,#153e2b99 68%,#163c2af2 96%); }
.news-feature .news-summary { position: relative; z-index: 1; }
.news-feature:hover { box-shadow: 0 14px 30px #163c2a30; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .news-feature:hover::before { transform: scale(1.08); }
}
.news-feature strong { display: block; max-width: 24ch; font-size: clamp(20px,1.48vw,29px); line-height: 1.18; margin-bottom: .45em; }
.news-feature small { display: block; max-width: 38ch; line-height: 1.38; font-size: clamp(12px,.9vw,18px); color: #e2ece6; }
.news-list { display: grid; gap: .95vw; }
.news-item { display: grid; grid-template-columns: 34% 1fr auto; gap: 1.1vw; align-items: center; text-align: left; min-width: 0; border-radius: 16px; padding: .7vw 1.25vw .7vw .7vw; background: #ffffff; box-shadow: 0 4px 18px #14231b0d; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.news-item:hover { background: #f2f8f4; transform: translateY(-2px); box-shadow: 0 8px 22px #14231b16; }
.news-item img { width: 100%; aspect-ratio: 2.35; object-fit: cover; border-radius: 10px; transition: transform .35s ease; }
.news-item:hover img { transform: scale(1.03); }
.news-item > .news-summary { padding-left: 1.1vw; border-left: 1.5px solid #a8d5bc; }
.news-item strong { display: block; line-height: 1.22; font-size: clamp(14px,1.08vw,21px); }
.news-item small { display: block; margin-top: .35em; color: #5b625e; font-size: clamp(11px,.82vw,16px); line-height: 1.35; }
.news-item .article-arrow { border: 1px solid #4d8f6d; color: #196b47; border-radius: 50%; width: 2.1em; aspect-ratio: 1; display: grid; place-items: center; transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.news-item:hover .article-arrow { background: var(--green); color: white; transform: translateX(3px); }
.article-arrow i { font-size: .82em; }
.inspiration { width: 86%; margin: 0 auto; padding: 0 0 6.5vw; }
.inspiration .section-heading p { font-size: clamp(14px,1vw,19px); }
.gallery { position: relative; isolation: isolate; aspect-ratio: 2.6 / 1; margin-top: 2.4vw; margin-bottom: 0; }
.diamond { position: absolute; width: var(--size); aspect-ratio: 1; left: var(--x); top: var(--y); transform: translate(-50%,-50%) rotate(45deg); overflow: hidden; border-radius: 13%; border: clamp(3px,.5vw,10px) solid white; box-shadow: 2px 4px 12px #0002; transition: transform .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease; }
.diamond:not(.accent):not(.gallery-feature):hover { transform: translate(-50%,-50%) rotate(45deg) scale(1.06); z-index: 2; box-shadow: 4px 10px 24px #07584026; }
.diamond img { max-width: none; width: 167%; height: 167%; position: absolute; left: -33.5%; top: -33.5%; object-fit: cover; transform: rotate(-45deg); }
.accent { --size: 3.6%; border: 0; background: var(--green); }
.accent-one { --x: 3%; --y: 34%; }
.accent-two { --x: 59%; --y: 86%; }
.room-a { --x: 13%; --y: 52%; --size: 12.5%; }
.room-b { --x: 24.5%; --y: 22%; --size: 7.5%; }
.room-c { --x: 28.5%; --y: 72%; --size: 16.5%; }
.room-d { --x: 75.5%; --y: 32%; --size: 12%; }
.room-e { --x: 85%; --y: 16%; --size: 7.5%; }
.room-f { --x: 70%; --y: 72%; --size: 15%; }
.room-g { --x: 89%; --y: 52%; --size: 15.5%; }
.gallery-feature { --x: 50%; --y: 48%; --size: 24.5%; display: grid; place-items: center; color: white; background: #115237; }
.gallery-feature::before { content: ''; position: absolute; inset: -23%; background: linear-gradient(#064f36cf,#084a30cc),url('../images/73b4410089027ab63f786638f1edf0b3.jpg') center / cover; transform: rotate(-45deg); }
.gallery-feature > div { position: relative; width: 92%; transform: rotate(-45deg); text-align: center; }
.gallery-feature h3 { font-size: clamp(12px,1.38vw,27px); line-height: 1.2; }
.gallery-feature .pill { margin-top: 1.4vw; background: white; font-size: clamp(11px,.85vw,17px); }
footer { background: #042f1c; color: white; padding: 2vw 5.7% 4.8vw; font-size: clamp(13px,.9vw,18px); }
.footer-top, .footer-contact, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5em; }
.footer-top { padding-bottom: 1.6vw; border-bottom: 1px solid #ffffff3b; }
.footer-brand { position: relative; padding-left: 4.4em; line-height: 1; }
.footer-brand::before { content: ''; background: url('../images/logo.png') center / contain no-repeat; position: absolute; left: 0; top: 0; width: 3.9em; height: 3em; }
.footer-brand strong { font-size: 2.3em; letter-spacing: .09em; display: block; }
.footer-brand sup { font-size: .35em; }
.footer-brand small { display: block; letter-spacing: .29em; margin-top: .5em; }
footer .pill { background: white; padding: .57em 1.2em; }
.footer-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1rem; margin-top: 2vw; }
.footer-grid h3 { font-size: 1em; margin-bottom: 1em; }
.footer-grid a, .footer-grid button { display: block; margin: .65em 0; color: #d8e4dc; text-align: left; }
footer a:hover, footer button:hover { text-decoration: underline; }
.footer-contact { justify-content: start; margin: 2.5vw 0 2.1vw; gap: 6vw; }
.footer-contact small { display: block; }
.phone { display: block; margin-top: .45em; font-size: 1.55em; font-weight: bold; }
.social { display: flex; gap: .85em; margin-top: .9em; }
.social button { border: 1px solid #ffffff45; width: 2.3em; aspect-ratio: 1; border-radius: 50%; transition: background-color .22s ease, color .22s ease, transform .22s ease; }
.social button:hover { background: white; color: #042f1c; transform: translateY(-2px); text-decoration: none; }
.chat { margin-left: auto; }
.footer-bottom { padding-top: 1.8vw; border-top: 1px solid #ffffff3b; }
.footer-bottom div { display: flex; gap: 1em; flex-wrap: wrap; }
dialog { width: min(540px, calc(100% - 32px)); max-height: 85dvh; border: 0; border-radius: 20px; padding: 2.3rem 1.6rem 1.6rem; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #062c20a0; }
dialog .close { position: absolute; top: .3rem; right: .5rem; font-size: 1.75rem; }
dialog p { margin: 1em 0; }
dialog img { width: 100%; max-height: 240px; object-fit: cover; border-radius: 12px; margin-bottom: 1em; }
dialog img[hidden] { display: none; }
dialog input { width: 100%; font: inherit; padding: .65em; border: 1px solid #a3bcb0; border-radius: 8px; margin: 1em 0; }
.search-results button, .search-results a { display: block; padding: .4em 0; text-align: left; color: var(--green); }
@media (max-width: 1100px) {
  .menu { display: grid; }
  .header { padding: 14px 5%; }
  .brand { flex-basis: clamp(145px,22vw,215px); }
  .header nav { display: none; position: absolute; top: 100%; right: 5%; width: min(325px,90vw); padding: 1em; border-radius: 14px; background: #f7fff9; box-shadow: 0 5px 18px #0002; font-size: 15px; }
  .header nav.open { display: grid; gap: .5em; }
  .header nav > * { justify-content: start; padding: .45em .75em; }
}
@media (max-width: 700px) {
  .hero { min-height: min(520px,78svh); }
  .hero-logo { width: min(100%,480px); }
  .about { width: 92%; margin-top: 18px; padding: 30px 24px 50vw; display: block; background: linear-gradient(#f5f7f7,transparent 35%) center bottom / 100% 50vw no-repeat, var(--about-image, url('../images/home-about.png')) center bottom / 100% auto no-repeat #f5f7f7; }
  .about-copy { width: 100%; }
  .about-brand { width: min(210px,60%); margin-bottom: 25px; }
  .milestone { margin-top: 24px; }
  .spaces, .news { padding: 58px 0; width: 90%; margin-inline: auto; }
  .space-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 26px; }
  .space-card { min-height: 155px; }
  .section-heading .pill { margin-top: 20px; }
  .service { padding: 42px 5% 30px; background: linear-gradient(#f1ede8c9,#f1ede8ed 58%,#ede7e17a), var(--service-image, url('../images/home-service.jpg')) center / cover; }
  .service .section-heading .pill { margin-top: 20px; }
  .service-grid { gap: 8px; margin-top: 22px; }
  .service-card { min-height: 105px; font-size: 12px; }
  .membership { position: static; transform: none; margin-top: 20px; }
  .news-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  .news-feature { min-height: 260px; }
  .news-list { gap: 9px; }
  .news-item { grid-template-columns: 29% 1fr auto; padding: 9px; gap: 8px; }
  .news-item .article-arrow { width: 1.55em; }
  .inspiration { width: 90%; }
  .gallery { aspect-ratio: 2 / 1; margin: 21px 0 15px; }
  .gallery-feature { --size: 34%; --y: 43%; }
  .gallery-feature h3 { font-size: clamp(10px,2.6vw,17px); }
  .gallery-feature .pill { font-size: 10px; }
  .room-e { --y: 16%; }
  footer { padding: 26px 5%; }
  .footer-top { padding-bottom: 18px; }
  .footer-brand strong { font-size: 1.7em; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 24px; }
  .footer-contact { flex-wrap: wrap; align-items: start; gap: 20px; margin: 20px 0; }
  .chat { margin-left: 0; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; padding-top: 18px; }
}
[hidden] { display: none !important; }
dialog img.member-code { width: min(210px,100%); margin-inline: auto; object-fit: contain; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
