@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

:root {
  --pine: #123c34;
  --pine-deep: #0d2d27;
  --pine-soft: #2e5a4e;
  --ivory: #f5f1e9;
  --paper: #eee8dc;
  --sand: #e3d8c7;
  --ink: #18362f;
  --muted: #6f7872;
  --gold: #b7a17a;
  --gold-light: #d7c7a6;
  --white: #fffdf8;
  --shadow: 0 18px 44px rgba(25, 39, 31, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --serif: "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(200, 180, 133, 0.16), transparent 28%),
    linear-gradient(135deg, #102b25, #0b1f1b 70%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { cursor: pointer; }

.site-shell {
  position: relative;
  min-height: 100vh;
  max-width: 560px;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--ivory);
  box-shadow: 0 0 80px rgba(3, 13, 11, 0.24);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: max(12px, env(safe-area-inset-top)) 22px 12px;
  background: rgba(245, 241, 233, 0.94);
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  border-bottom: 1px solid rgba(24, 54, 47, 0.09);
  backdrop-filter: blur(18px);
}

.topbar.is-dark {
  color: var(--ivory);
  background: rgba(13, 45, 39, 0.92);
  background: color-mix(in srgb, var(--pine-deep) 82%, transparent);
  border-color: rgba(255, 255, 255, 0.12);
}

.topbar-brand {
  color: inherit;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.14em;
}

.topbar-caption {
  color: inherit;
  opacity: 0.66;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  overflow: hidden;
  background: rgba(183, 161, 122, 0.15);
}

.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--pine-soft));
  transition: width 160ms ease-out;
}

.icon-button, .text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}

.icon-button {
  width: 36px;
  height: 36px;
  margin-left: -8px;
  color: inherit;
  font-size: 22px;
}

.page-wrap { padding-bottom: 88px; }

.hero {
  position: relative;
  min-height: 760px;
  color: var(--ivory);
  isolation: isolate;
  overflow: hidden;
  background: var(--pine-deep);
}

.hero::after {
  position: absolute;
  right: -100px;
  top: 56%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(219, 198, 155, 0.35);
  border-radius: 50%;
  content: "";
  opacity: 0.46;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/retreat.webp");
  background-position: 62% center;
  background-size: cover;
  filter: saturate(0.84) contrast(1.03);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(9, 32, 27, 0.95) 0%, rgba(12, 42, 35, 0.64) 37%, rgba(11, 39, 32, 0.16) 63%, rgba(10, 34, 28, 0.87) 100%),
    linear-gradient(90deg, rgba(8, 29, 25, 0.65), transparent 72%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  min-height: 760px;
  padding: 30px 24px 34px;
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(229, 211, 169, 0.58);
}

.brand-line strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.17em;
}

.brand-line span {
  color: rgba(245, 241, 233, 0.72);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.hero-copy { margin-top: auto; max-width: 480px; }

.eyebrow {
  margin: 0 0 17px;
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.22em;
  line-height: 1.6;
}

.hero h1 {
  max-width: 480px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 12vw, 76px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.14;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-lead {
  max-width: 320px;
  margin: 24px 0 0;
  color: rgba(245, 241, 233, 0.76);
  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.primary-button, .secondary-button, .outline-button {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 21px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.primary-button:hover, .secondary-button:hover, .outline-button:hover { transform: translateY(-2px); }

.primary-button {
  color: var(--pine);
  border: 1px solid transparent;
  background: var(--ivory);
  box-shadow: 0 8px 20px rgba(8, 21, 17, 0.18);
}

.secondary-button {
  color: var(--ivory);
  border: 1px solid rgba(245, 241, 233, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.outline-button {
  color: var(--pine);
  border: 1px solid rgba(18, 60, 52, 0.3);
  background: transparent;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
  color: rgba(245, 241, 233, 0.66);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.hero-meta::before {
  width: 38px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.section { padding: 70px 24px; }
.section.paper { background: var(--paper); }
.section.dark { color: var(--ivory); background: var(--pine); }

.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.section-title {
  margin: 0;
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(30px, 8vw, 46px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.22;
}

.section-intro {
  max-width: 360px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.dark .section-intro { color: rgba(245, 241, 233, 0.68); }

.service-list { margin-top: 42px; }

.service-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  color: inherit;
  text-align: left;
  border: 0;
  border-top: 1px solid rgba(18, 60, 52, 0.2);
  background: transparent;
}

.service-link:last-child { border-bottom: 1px solid rgba(18, 60, 52, 0.2); }

.service-link small {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.service-link strong {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.service-link span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-link .arrow {
  color: var(--gold);
  font-size: 28px;
  font-weight: 300;
}

.service-link:hover .arrow { transform: translateX(4px); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.process-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(18, 60, 52, 0.15);
  background: rgba(255, 253, 248, 0.5);
}

.process-card b {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.process-card span { color: var(--muted); font-size: 12px; }

.closing-panel {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 95px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 100% 10%, rgba(194, 170, 118, 0.2), transparent 28%),
    linear-gradient(140deg, var(--pine) 0%, var(--pine-deep) 100%);
}

.closing-panel::before {
  position: absolute;
  right: -90px;
  top: -80px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(215, 199, 166, 0.4);
  border-radius: 50%;
  content: "";
}

.closing-panel p { max-width: 290px; margin: 17px 0 26px; color: rgba(245, 241, 233, 0.7); line-height: 1.85; }

.bottom-nav {
  position: fixed;
  z-index: 40;
  bottom: 14px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(calc(100% - 28px), 532px);
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid rgba(215, 199, 166, 0.28);
  border-radius: 22px;
  color: var(--ivory);
  background: rgba(13, 45, 39, 0.92);
  box-shadow: 0 14px 30px rgba(6, 20, 16, 0.22);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  min-height: 46px;
  border: 0;
  border-radius: 15px;
  color: rgba(245, 241, 233, 0.65);
  background: transparent;
  font-size: 10px;
  white-space: nowrap;
}

.bottom-nav button.is-active {
  color: var(--pine);
  background: var(--ivory);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 24px 56px;
  color: var(--ivory);
  background: var(--pine);
}

.page-hero::before {
  position: absolute;
  right: -90px;
  bottom: -135px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(215, 199, 166, 0.3);
  border-radius: 50%;
  content: "";
}

.page-hero .section-title { position: relative; max-width: 400px; }
.page-hero .section-intro { position: relative; }

.preface-page {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  padding: 56px 24px 96px;
  background:
    radial-gradient(circle at 100% 9%, rgba(183, 161, 122, 0.22), transparent 25%),
    linear-gradient(145deg, #fbf8f0 0%, var(--paper) 60%, #e8dfcf 100%);
}

.preface-page::before {
  position: absolute;
  right: -115px;
  top: 184px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(183, 161, 122, 0.34);
  border-radius: 50%;
  content: "";
}

.preface-page::after {
  position: absolute;
  right: 42px;
  top: 245px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(183, 161, 122, 0.12), 0 0 0 16px rgba(183, 161, 122, 0.07);
  content: "";
}

.preface-page .back-row,
.preface-page .section-kicker,
.preface-page .preface-overline,
.preface-page .section-title,
.preface-page .preface-rule,
.preface-page .preface-body,
.preface-page .preface-signature,
.preface-page .preface-cta { position: relative; z-index: 1; }

.preface-page .back-row button { color: var(--pine); }
.preface-page .back-row span { color: var(--muted); }
.preface-page .section-kicker { margin-top: 54px; }
.preface-overline { margin: 0 0 12px; color: var(--gold); font-size: 12px; letter-spacing: 0.22em; }
.preface-page .section-title { font-size: clamp(40px, 11vw, 66px); }

.preface-preview {
  position: relative;
  overflow: hidden;
  padding: 70px 24px 78px;
  background:
    radial-gradient(circle at 100% 9%, rgba(183, 161, 122, 0.22), transparent 25%),
    linear-gradient(145deg, #fbf8f0 0%, var(--paper) 60%, #e8dfcf 100%);
}

.preface-preview::before {
  position: absolute;
  right: -125px;
  top: 150px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(183, 161, 122, 0.3);
  border-radius: 50%;
  content: "";
}

.preface-preview .section-title,
.preface-preview .preface-overline,
.preface-preview .preface-rule,
.preface-preview .preface-body,
.preface-preview .preface-signature { position: relative; z-index: 1; }

.preface-preview .section-title { max-width: 420px; font-size: clamp(38px, 10vw, 58px); }
.preface-preview .preface-body { max-width: 430px; }
.preface-preview .preface-body p { font-size: clamp(17px, 4.8vw, 21px); }
.preface-preview .preface-signature { margin-bottom: 0; }

.preface-rule {
  width: 100%;
  height: 1px;
  margin: 30px 0 34px;
  background: linear-gradient(90deg, var(--gold), rgba(183, 161, 122, 0));
}

.preface-body { max-width: 430px; }
.preface-body p { margin: 0 0 19px; color: var(--ink); font-family: var(--serif); font-size: clamp(18px, 5vw, 23px); letter-spacing: -0.03em; line-height: 2.02; }
.preface-body .preface-salutation { margin-bottom: 29px; font-size: 19px; }
.preface-signature { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; margin: 46px 0 30px; color: var(--pine); }
.preface-signature strong { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: 0.13em; }
.preface-signature span { color: var(--muted); font-size: 10px; letter-spacing: 0.16em; }
.preface-cta { color: var(--ivory); background: var(--pine); }

.back-row { display: flex; align-items: center; gap: 9px; margin-bottom: 38px; }
.back-row button { padding: 0; color: var(--gold-light); border: 0; background: none; font-size: 22px; }
.back-row span { color: rgba(245, 241, 233, 0.62); font-size: 11px; letter-spacing: 0.18em; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 34px;
}

.metric {
  min-height: 94px;
  padding: 15px 13px;
  border: 1px solid rgba(215, 199, 166, 0.3);
  background: rgba(255, 255, 255, 0.045);
}

.metric strong { display: block; margin-bottom: 9px; color: var(--gold-light); font-family: var(--serif); font-size: 20px; font-weight: 500; }
.metric span { color: rgba(245, 241, 233, 0.6); font-size: 11px; line-height: 1.45; }

.content-section {
  padding: 56px 24px;
  background: linear-gradient(140deg, rgba(245, 241, 233, 0.98), rgba(238, 232, 220, 0.74));
}
.content-section + .content-section { padding-top: 0; }

.content-heading { position: relative; margin: 0 0 18px; padding-left: 14px; font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.28; }
.content-heading::before { position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 3px; background: linear-gradient(var(--gold), rgba(183, 161, 122, 0.16)); content: ""; }
.content-copy { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.timeline { display: grid; gap: 0; margin-top: 32px; }

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  min-height: 82px;
}

.timeline-item:not(:last-child)::after { position: absolute; top: 19px; left: 10px; bottom: 0; width: 1px; background: var(--sand); content: ""; }
.timeline-dot { position: relative; z-index: 1; width: 21px; height: 21px; border: 1px solid var(--gold); border-radius: 50%; background: var(--ivory); }
.timeline-dot::after { position: absolute; inset: 5px; border-radius: 50%; background: var(--gold); content: ""; }
.timeline-item strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.timeline-item p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.rule-card {
  padding: 22px;
  border: 1px solid rgba(18, 60, 52, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.55);
}

.rule-card + .rule-card { margin-top: 12px; }
.rule-card h3 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.rule-card p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.82; }

.dark-card { color: var(--ivory); border-color: rgba(215, 199, 166, 0.2); background: rgba(255, 255, 255, 0.06); }
.dark-card p { color: rgba(245, 241, 233, 0.68); }

.page-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.tab-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -24px;
  padding: 2px 24px 8px;
  scrollbar-width: none;
}

.tab-row::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; min-height: 39px; padding: 0 15px; color: var(--muted); border: 1px solid rgba(18, 60, 52, 0.16); border-radius: 999px; background: transparent; font-size: 12px; }
.tab.is-active { color: var(--ivory); border-color: var(--pine); background: var(--pine); }

.package-summary { margin: 26px 0 28px; padding: 22px; color: var(--ivory); border-radius: var(--radius-md); background: var(--pine); }
.package-summary > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.package-summary strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.package-summary span { color: var(--gold-light); font-size: 12px; }
.package-summary p { margin: 12px 0 0; color: rgba(245, 241, 233, 0.67); font-size: 12px; line-height: 1.75; }

.package-table-wrap { overflow: hidden; border: 1px solid rgba(18, 60, 52, 0.12); border-radius: var(--radius-md); background: rgba(255, 253, 248, 0.7); box-shadow: 0 14px 28px rgba(38, 52, 43, 0.06); }
.package-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.package-table th, .package-table td { padding: 13px 12px; vertical-align: top; border-bottom: 1px solid rgba(18, 60, 52, 0.1); text-align: left; line-height: 1.55; }
.package-table thead { position: static; }
.package-table th { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; background: rgba(227, 216, 199, 0.92); backdrop-filter: blur(12px); }
.package-table td:first-child { width: 24%; color: var(--gold); font-size: 11px; }
.package-table td:nth-child(2) { width: 49%; }
.package-table td:last-child { width: 27%; color: var(--pine-soft); }
.package-table tr:last-child td { border-bottom: 0; }
.package-table tbody tr:nth-child(even) td { background: rgba(227, 216, 199, 0.12); }

.service-strip { display: grid; gap: 10px; margin-top: 28px; }
.service-strip .rule-card { min-height: 140px; }
.service-strip .rule-card h3 { display: flex; align-items: center; justify-content: space-between; }
.service-strip .rule-card h3::after { color: var(--gold); content: "↗"; font-family: var(--sans); font-size: 20px; }

.filter-row { display: flex; gap: 8px; margin: 30px 0 18px; }
.filter-row .tab { flex: 1; padding: 0 10px; }
.search-box { width: 100%; min-height: 48px; margin-bottom: 18px; padding: 0 15px; color: var(--ink); border: 1px solid rgba(18, 60, 52, 0.18); border-radius: 999px; outline: none; background: rgba(255, 253, 248, 0.7); }
.search-box:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183, 161, 122, 0.17); }

.institution-list { display: grid; gap: 10px; }
.institution-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid rgba(18, 60, 52, 0.12); border-radius: var(--radius-sm); background: rgba(255, 253, 248, 0.58); }
.institution-item strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.institution-item small { display: block; margin-bottom: 6px; color: var(--gold); font-size: 10px; letter-spacing: 0.14em; }
.institution-item p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.62; }
.institution-item button { width: 38px; height: 38px; color: var(--pine); border: 1px solid rgba(18, 60, 52, 0.2); border-radius: 50%; background: transparent; font-size: 18px; }

.contact-card { padding: 24px; border-radius: var(--radius-lg); background: var(--pine); color: var(--ivory); box-shadow: var(--shadow); }
.contact-card h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.contact-card > p { margin: 12px 0 0; color: rgba(245, 241, 233, 0.68); font-size: 13px; line-height: 1.8; }
.contact-grid { display: grid; grid-template-columns: 148px 1fr; gap: 22px; align-items: center; margin-top: 28px; }
.qr-placeholder { display: grid; place-items: center; aspect-ratio: 1; padding: 12px; color: var(--pine); border: 1px solid rgba(245, 241, 233, 0.38); background: var(--ivory); text-align: center; }
.qr-placeholder span { font-size: 11px; line-height: 1.65; }
.contact-details { display: grid; gap: 15px; }
.contact-details small { display: block; margin-bottom: 4px; color: var(--gold-light); font-size: 10px; letter-spacing: 0.13em; }
.contact-details strong { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.contact-details p { margin: 0; color: rgba(245, 241, 233, 0.72); font-size: 12px; line-height: 1.6; }

.faq-list { margin-top: 30px; border-top: 1px solid rgba(18, 60, 52, 0.14); }
.faq-list details { padding: 17px 0; border-bottom: 1px solid rgba(18, 60, 52, 0.14); }
.faq-list summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { float: right; color: var(--gold); content: "+"; font-family: var(--sans); font-size: 20px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 12px 25px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.empty-state { padding: 44px 10px; color: var(--muted); text-align: center; font-size: 13px; }
.source-note { margin-top: 24px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 88px; max-width: calc(100% - 48px); padding: 13px 18px; transform: translate(-50%, 14px); color: var(--ivory); border-radius: 999px; opacity: 0; background: rgba(13, 45, 39, 0.95); box-shadow: 0 12px 28px rgba(4, 18, 14, 0.22); transition: opacity 180ms ease, transform 180ms ease; pointer-events: none; font-size: 12px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 700px) {
  .site-shell { min-height: calc(100vh - 28px); margin-top: 14px; margin-bottom: 14px; border-radius: 30px; }
  .bottom-nav { bottom: 26px; }
}

@media (max-width: 390px) {
  .hero, .hero-content { min-height: 700px; }
  .hero-content { padding-left: 20px; padding-right: 20px; }
  .section, .page-hero, .preface-page, .content-section, .closing-panel { padding-left: 20px; padding-right: 20px; }
  .metric-grid { gap: 6px; }
  .metric { padding: 12px 10px; }
  .metric strong { font-size: 17px; }
  .contact-grid { grid-template-columns: 120px 1fr; gap: 15px; }
}

/* Editorial refinement layer */
.page-wrap > section { animation: rise-in 560ms cubic-bezier(.2,.72,.2,1) both; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero {
  background:
    radial-gradient(circle at 93% 5%, rgba(214, 192, 145, 0.18), transparent 26%),
    radial-gradient(circle at 0% 90%, rgba(72, 117, 94, 0.35), transparent 34%),
    linear-gradient(145deg, var(--pine) 0%, var(--pine-deep) 88%);
}

.page-hero::after {
  width: 410px;
  height: 410px;
  right: -150px;
  bottom: -210px;
  border-color: rgba(215, 199, 166, 0.2);
}

.metric {
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-list { display: grid; gap: 10px; }

.service-link,
.service-link:last-child {
  position: relative;
  min-height: 116px;
  margin: 0;
  padding: 20px 18px 20px 22px;
  border: 1px solid rgba(18, 60, 52, 0.12);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.82), rgba(255, 253, 248, 0.38));
  box-shadow: 0 10px 24px rgba(38, 52, 43, 0.05);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-link::before {
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(var(--gold), rgba(183, 161, 122, 0.15));
  content: "";
}

.service-link:hover {
  border-color: rgba(183, 161, 122, 0.55);
  box-shadow: 0 16px 30px rgba(38, 52, 43, 0.1);
  transform: translateY(-3px);
}

.service-link .arrow { transition: transform 200ms ease; }
.service-link:hover .arrow { transform: translate(3px, -3px); }

.process-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.85), rgba(227, 216, 199, 0.34));
  box-shadow: 0 10px 22px rgba(38, 52, 43, 0.04);
}

.process-card::before {
  position: absolute;
  right: 12px;
  top: 8px;
  color: rgba(183, 161, 122, 0.26);
  content: "";
  font-family: var(--serif);
  font-size: 58px;
  line-height: 1;
}

.process-card:nth-child(1)::before { content: "一"; }
.process-card:nth-child(2)::before { content: "二"; }
.process-card:nth-child(3)::before { content: "三"; }
.process-card:nth-child(4)::before { content: "四"; }

.rule-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(38, 52, 43, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rule-card::before {
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--gold);
  content: "";
  opacity: 0.55;
}

.rule-card:hover { box-shadow: 0 16px 30px rgba(38, 52, 43, 0.08); transform: translateY(-2px); }

.tab {
  background: rgba(255, 253, 248, 0.48);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.tab.is-active { box-shadow: 0 7px 16px rgba(18, 60, 52, 0.14); }

.package-summary {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 199, 166, 0.22), transparent 34%),
    linear-gradient(135deg, var(--pine), var(--pine-deep));
  box-shadow: 0 16px 28px rgba(18, 60, 52, 0.12);
}

.package-summary::after {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(215, 199, 166, 0.2);
  border-radius: 50%;
  content: "";
}

.image-feature {
  display: grid;
  gap: 0;
  padding: 24px 24px 60px;
  color: var(--ink);
  background: var(--paper);
}

.image-feature--reverse {
  color: var(--ivory);
  background: var(--pine-deep);
}

.image-feature--warm {
  background: linear-gradient(145deg, #f8f3ea, #e8dfcf);
}

.feature-media {
  min-height: 260px;
  border-radius: 26px 26px 8px 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 36px rgba(16, 37, 29, 0.17);
}

.feature-media--concierge {
  background-image: linear-gradient(180deg, rgba(12, 39, 32, 0.03), rgba(12, 39, 32, 0.22)), url("assets/concierge.webp");
  background-position: 45% center;
}

.feature-media--screening {
  background-image: linear-gradient(180deg, rgba(12, 39, 32, 0.01), rgba(12, 39, 32, 0.14)), url("assets/screening.webp");
  background-position: 56% center;
}

.feature-copy { padding: 28px 8px 0; }
.feature-copy .content-heading { max-width: 360px; margin: 0; }
.feature-copy > p:not(.section-kicker) { max-width: 370px; margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.88; }
.image-feature--reverse .feature-copy > p:not(.section-kicker) { color: rgba(245, 241, 233, 0.7); }
.image-feature--reverse .feature-copy .content-heading { color: var(--ivory); }
.feature-foot { display: flex; justify-content: space-between; margin-top: 25px; padding-top: 14px; border-top: 1px solid rgba(183, 161, 122, 0.35); color: var(--gold); font-size: 10px; letter-spacing: 0.16em; }

.network-banner {
  position: relative;
  display: grid;
  min-height: 280px;
  overflow: hidden;
  color: var(--ivory);
  background: var(--pine-deep);
}

.network-banner__image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(9, 32, 27, 0.92), rgba(9, 32, 27, 0.22)), url("assets/retreat.webp");
  background-position: 62% center;
  background-size: cover;
  filter: saturate(0.82);
}

.network-banner > div:last-child { position: relative; z-index: 1; align-self: end; padding: 28px 24px 32px; }
.network-banner h2 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: -0.05em; line-height: 1.25; }
.network-banner span { display: block; margin-top: 15px; color: rgba(245, 241, 233, 0.68); font-size: 12px; }

.concierge-intro { display: flex; gap: 16px; align-items: center; padding: 40px 24px 0; background: var(--ivory); }
.concierge-intro__line { flex: 0 0 44px; height: 1px; background: var(--gold); }
.concierge-intro p { max-width: 350px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 18px; line-height: 1.8; }

/* Tactile paper finish for the invitation letter. The grain is built from
   lightweight gradients so the mobile page stays crisp without another asset. */
.preface-page,
.preface-preview {
  background-image:
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 68%, rgba(120, 99, 67, 0.075) 0 1px, transparent 1.7px),
    repeating-linear-gradient(0deg, rgba(117, 96, 67, 0.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(91deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 6px),
    radial-gradient(circle at 100% 9%, rgba(183, 161, 122, 0.22), transparent 25%),
    linear-gradient(145deg, #fbf8f0 0%, var(--paper) 60%, #e8dfcf 100%);
  background-size: 17px 17px, 23px 23px, auto, auto, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), inset 0 -1px 0 rgba(128, 104, 69, 0.11);
}

.preface-page::before,
.preface-preview::before {
  box-shadow: inset 0 0 0 1px rgba(255, 250, 234, 0.08);
}

@media (min-width: 700px) {
  .image-feature { grid-template-columns: 1.08fr 0.92fr; align-items: end; gap: 28px; padding: 32px 34px 74px; }
  .image-feature--reverse { grid-template-columns: 0.92fr 1.08fr; }
  .image-feature--reverse .feature-media { order: 2; }
  .feature-media { min-height: 330px; }
  .feature-copy { padding: 18px 0 10px; }
  .network-banner { min-height: 340px; }
}

@media (max-width: 390px) {
  .image-feature, .network-banner, .concierge-intro { padding-left: 20px; padding-right: 20px; }
  .image-feature { padding-top: 20px; }
  .feature-media { min-height: 230px; }
  .network-banner > div:last-child { padding-left: 20px; padding-right: 20px; }
}
