:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #20372d;
  --forest: #193e32;
  --muted: #535d52;
  --line: #d8d9cc;
  --soft: #edf0e8;
  --accent: #687342;
  --sans: "Instrument Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --serif: "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.21;
  letter-spacing: -.045em;
}
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); }
h3 { font-size: 1.2rem; font-weight: 650; line-height: 1.45; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #9a682b; outline-offset: 5px; }
[id] { scroll-margin-top: 1.7rem; }
.frame { width: min(100% - 112px, 1320px); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  transform: translateY(-150%);
  background: var(--forest);
  color: white;
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.3rem 2.2rem;
}
.brand { width: 122px; display: block; }
.brand img { height: auto; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem, 4vw, 3.8rem); }
.nav a { white-space: nowrap; font-size: .9rem; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.header-contact { justify-self: end; }
.button, .text-link { display: inline-flex; align-items: center; gap: .9rem; font-size: .91rem; font-weight: 650; }
.button {
  min-height: 46px;
  justify-content: space-between;
  padding: .6rem 1.05rem;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button span, .text-link span { font-size: 1.05em; }
.button-outline { border-color: #9ea99b; }
.button-outline:hover { background: var(--soft); border-color: var(--forest); }
.button-solid { background: var(--forest); color: white; }
.button-solid:hover { background: #2b5345; }
.text-link { text-underline-offset: .34em; }
.text-link:hover { text-decoration-thickness: 2px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .12em;
}
.dot { display: inline-block; width: .43rem; height: .43rem; border-radius: 50%; background: currentColor; flex: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding-block: 2.6rem 2.35rem;
}
.hero h1 { font-size: clamp(2.85rem, 4.7vw, 5.2rem); }
.hero-intro { margin-top: 1.6rem; max-width: 25.5rem; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.9; }
.hero-actions { margin-top: 1.85rem; display: flex; gap: 1.35rem; align-items: center; flex-wrap: wrap; }
.hero-visual { position: relative; background: #d4cab5; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1.26; object-fit: cover; object-position: 53% 52%; }
.hero-visual figcaption {
  display: flex;
  align-items: center;
  gap: .55rem;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: .43rem .7rem;
  background: var(--paper);
  font-size: .75rem;
}
.hero-visual figcaption .dot { color: var(--accent); }
.overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-block: 1px solid var(--line);
}
.overview a {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding: .85rem 1.45rem;
  font-size: .88rem;
  text-decoration: none;
}
.overview a:first-child { padding-left: 0; }
.overview a:last-child { padding-right: 0; }
.overview a + a { border-left: 1px solid var(--line); }
.overview a:hover { text-decoration: underline; }
.overview span { color: var(--accent); }

.section { padding-block: clamp(3.7rem, 7vw, 7.4rem); }
.section-heading {
  display: grid;
  grid-template-columns: 1.5fr minmax(14rem, .75fr);
  align-items: end;
  gap: 1.5rem 4rem;
  margin-bottom: 2.45rem;
}
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 27rem; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-grid article { background: var(--paper); padding: clamp(1.3rem, 3vw, 2.5rem); }
.service-kind { color: var(--accent); font-size: .75rem; letter-spacing: .1em; margin-bottom: .85rem; }
.service-grid article p:last-child { color: var(--muted); font-size: .94rem; margin-top: .65rem; max-width: 20rem; line-height: 1.8; }

.spaces { background: var(--soft); }
.space-intro .text-link { margin-top: .75rem; }
.gallery {
  display: grid;
  grid-template-columns: 1.48fr 1fr 1fr;
  gap: 1.15rem;
}
.gallery-image { position: relative; display: block; overflow: hidden; background: #d5d8cd; }
.gallery-image img { width: 100%; height: clamp(12rem, 22vw, 21.5rem); object-fit: cover; transition: transform .28s ease; }
.gallery-image:hover img { transform: scale(1.035); }
.image-expand {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--paper);
  color: var(--forest);
}
.gallery-card figcaption { padding-top: .7rem; font-weight: 650; }
.gallery-card figcaption span { display: block; margin-top: .14rem; color: var(--muted); font-size: .82rem; font-weight: 400; }
.location { margin-top: 1.85rem; }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 5rem; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.steps li { position: relative; counter-increment: step; border-top: 1px solid var(--line); padding: 1.22rem 0 1.3rem 3.1rem; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 1.31rem; left: 0; color: var(--accent); font-size: .9rem; font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); margin-top: .32rem; font-size: .93rem; }

.contact { background: var(--forest); color: #fbfaf3; padding-block: clamp(3.5rem, 6vw, 5.75rem); }
.contact-inner { display: grid; grid-template-columns: 1fr minmax(15rem, .53fr); gap: 2rem 4rem; align-items: end; }
.contact .eyebrow { color: #e5e8b9; }
.contact h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.contact p:not(.eyebrow) { margin-top: 1.15rem; max-width: 31rem; color: #e2e8df; }
.contact address { font-style: normal; }
.button-light { background: #f6f2e7; color: var(--forest); }
.button-light:hover { background: #e3e7ce; }
.contact-email { display: block; margin-top: .85rem; overflow-wrap: anywhere; }
.contact :focus-visible { outline-color: #f6d795; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.4rem; }
.footer-inner .brand { width: 92px; }
.footer-inner p { font-size: .75rem; letter-spacing: .065em; color: var(--muted); }
.footer-inner .text-link { white-space: nowrap; }

.photo-dialog {
  padding: .7rem;
  border: 1px solid #607468;
  background: #142920;
  color: #fbfaf3;
  max-width: calc(100% - 1rem);
  max-height: 96dvh;
  overflow: auto;
}
.photo-dialog::backdrop { background: rgb(13 21 16 / 82%); }
.photo-dialog-top, .photo-controls { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.photo-dialog-top { margin-bottom: .65rem; padding-left: .3rem; }
.photo-dialog button { min-width: 42px; min-height: 42px; padding: 0 .4rem; border: 1px solid #819388; background: transparent; color: inherit; font-size: 1.25rem; }
.photo-dialog button:hover { background: #355549; }
.photo-dialog :focus-visible { outline-color: #f6d795; }
.full-photo { max-width: min(86vw, 1120px); max-height: 73dvh; width: auto; height: auto; margin-inline: auto; }
.photo-controls { margin-top: .65rem; justify-content: center; }

@media (max-width: 1040px) {
  .frame { width: calc(100% - 64px); }
}
@media (max-width: 820px) {
  .frame { width: calc(100% - 44px); }
  .hero { grid-template-columns: 1fr; gap: 1.9rem; padding-block: 2.4rem 1.6rem; }
  .hero h1 { font-size: clamp(2.85rem, 8vw, 4.75rem); }
  .hero-visual img { aspect-ratio: 1.45; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.6rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-feature { grid-column: span 2; }
  .gallery-feature img { height: clamp(13rem, 48vw, 24rem); }
  .process { gap: 1.5rem 2.1rem; }
}
@media (max-width: 570px) {
  .frame { width: calc(100% - 36px); }
  .header-inner { min-height: auto; grid-template-columns: 1fr auto; gap: .7rem; padding-block: .75rem 0; }
  .brand { width: 103px; }
  .nav { grid-row: 2; grid-column: 1 / -1; border-top: 1px solid var(--line); justify-content: space-between; gap: .55rem; padding-block: .65rem; }
  .nav a { font-size: .84rem; }
  .header-contact { min-height: 42px; font-size: .83rem; }
  .hero { padding-top: 1.8rem; gap: 1.45rem; }
  .hero h1 { font-size: clamp(2.45rem, 10.1vw, 3.5rem); }
  .hero-intro { margin-top: 1rem; }
  .hero-actions { gap: 1rem; margin-top: 1.25rem; }
  .hero-visual figcaption { right: .6rem; bottom: .6rem; }
  .overview a { font-size: .77rem; padding: .7rem .45rem; gap: .15rem; align-items: center; }
  .service-grid article { padding: .95rem .8rem 1.1rem; }
  .service-kind { margin-bottom: .48rem; }
  .service-grid h3 { font-size: 1.04rem; }
  .service-grid article p:last-child { font-size: .86rem; }
  .gallery { gap: 1rem .7rem; }
  .gallery-image img { height: clamp(7.5rem, 34vw, 12rem); }
  .gallery-feature img { height: clamp(12rem, 57vw, 18rem); }
  .gallery-card figcaption { font-size: .9rem; }
  .gallery-card figcaption span { font-size: .76rem; }
  .process, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; }
  .footer-inner p { order: 2; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
