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

:root {
  --paper: #f8f0e8;
  --white: #fffaf5;
  --ink: #4b2035;
  --navy: #4b2035;
  --blue: #ecd4cc;
  --coral: #c75f48;
  --muted: #765f69;
  --line: rgba(75, 32, 53, .18);
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
}

body { font-family: var(--sans); background: var(--paper); }

.site-nav {
  width: min(1380px, calc(100% - clamp(48px, 8vw, 140px)));
  height: 88px;
  border-bottom-color: rgba(75, 32, 53, .2);
}

.brand { gap: 13px; color: var(--ink); }
.brand span { width: 38px; height: 38px; background: var(--ink); font-size: 19px; }
.brand b { font-size: 15px; }
.brand small { padding-left: 13px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.site-nav nav { gap: 34px; }
.site-nav nav a { font-size: 14px; font-weight: 600; }
.nav-cta { padding: 10px 0; border: 0; border-bottom: 1px solid var(--coral); border-radius: 0; }

.hero {
  width: min(1380px, calc(100% - clamp(48px, 8vw, 140px)));
  min-height: calc(100svh - 88px);
  grid-template-columns: minmax(0, 1fr) minmax(420px, .78fr);
  gap: clamp(64px, 9vw, 150px);
  padding: clamp(64px, 7vw, 104px) 0 80px;
}

.hero-kicker { margin: 0 0 30px; color: var(--coral); font-size: 15px; font-weight: 700; }
.hero h1 { max-width: 780px; color: var(--ink); font-size: clamp(46px, 5vw, 68px); line-height: 1.24; letter-spacing: -.055em; }
.hero h1 span { color: var(--ink); font-weight: 500; }
.hero-lead { max-width: 590px; margin-top: 32px; color: var(--muted); font-size: 18px; line-height: 1.85; text-wrap: pretty; word-break: auto-phrase; line-break: strict; }
.hero-actions { margin-top: 40px; }
.button { min-height: 54px; padding: 0 24px; border-radius: 4px; font-size: 15px; }
.primary { background: var(--ink); }
.text-link { padding-bottom: 6px; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: 15px; }

.hero-visual { position: relative; min-height: 650px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hero-visual::before,
.hero-visual::after { display: none; }
.hero-visual figure { position: absolute; inset: 0 0 0 8%; margin: 0; overflow: hidden; border-radius: 48% 48% 18px 18px; background: #d9bdb3; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-visual > p { position: absolute; right: 0; bottom: 26px; margin: 0; padding: 18px 22px; background: var(--white); color: var(--ink); font-family: var(--serif); font-size: 17px; }

@media (max-width: 850px) {
  .site-nav { height: 72px; }
  .brand small { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 54px; padding: 64px 0 76px; }
  .hero h1 { font-size: clamp(40px, 9vw, 56px); }
  .hero-visual { min-height: 620px; }
}

@media (max-width: 520px) {
  .site-nav, .hero { width: calc(100% - 36px); }
  .site-nav nav > a:not(.nav-cta) { display: none; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(36px, 10.2vw, 44px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 500px; }
  .hero-visual figure { left: 0; }
}

.stages,
.services,
.faq {
  width: min(1380px, calc(100% - clamp(48px, 8vw, 140px)));
  margin: 0 auto;
  padding: clamp(96px, 10vw, 150px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 58px;
}

.section-head h2,
.belief h2,
.tool-bridge h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 3.7vw, 52px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.section-head > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; text-wrap: pretty; }

.stage-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stage-tab { min-height: 72px; padding: 12px 18px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 16px; font-weight: 600; }
.stage-tab:hover { background: rgba(255, 250, 245, .7); }
.stage-tab.is-active { background: var(--ink); color: var(--white); }
.stage-tab:focus-visible { position: relative; z-index: 2; outline: 3px solid var(--coral); outline-offset: -3px; }

.stage-panel { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 460px; background: var(--ink); color: var(--white); }
.stage-panel > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(42px, 6vw, 86px); }
.stage-panel > div > p:first-child { margin: 0 0 22px; color: #e4aa96; font-size: 15px; font-weight: 700; }
.stage-panel h3 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(29px, 2.8vw, 40px); font-weight: 600; line-height: 1.45; letter-spacing: -.035em; text-wrap: balance; }
.stage-panel > div > p:not(:first-child) { max-width: 700px; margin: 24px 0 0; color: rgba(255, 250, 245, .7); font-size: 17px; line-height: 1.85; text-wrap: pretty; }
.stage-panel a { display: inline-flex; gap: 24px; margin-top: 36px; padding-bottom: 7px; border-bottom: 1px solid #e4aa96; color: #f1b9a5; font-size: 15px; font-weight: 700; text-decoration: none; }
.stage-panel ul { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: clamp(42px, 6vw, 86px); background: #5f2943; list-style: none; }
.stage-panel li { position: relative; padding: 23px 0 23px 32px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 17px; line-height: 1.6; }
.stage-panel li:first-child { border-top: 1px solid rgba(255, 255, 255, .18); }
.stage-panel li::before { content: ""; position: absolute; top: 31px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: #e8a68f; }

.belief { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: clamp(70px, 10vw, 170px); padding: clamp(100px, 11vw, 170px) max(24px, calc((100% - 1180px) / 2)); background: #efcfc5; }
.belief h2 { max-width: 790px; color: var(--ink); }
.belief p { max-width: 470px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.85; text-wrap: pretty; }

.services { width: 100%; padding-inline: max(24px, calc((100% - 1380px) / 2)); background: var(--white); }
.services .section-head { grid-template-columns: minmax(0, 900px); }
.service-list { border-top: 1px solid var(--line); }
.service-list article { min-height: 170px; display: grid; grid-template-columns: 90px minmax(240px, .7fr) minmax(300px, 1fr); align-items: center; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-list span { color: var(--coral); font-size: 15px; font-weight: 700; }
.service-list h3 { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); font-weight: 600; }
.service-list p { max-width: 600px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; text-wrap: pretty; }

.tool-bridge { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 70px; padding: clamp(80px, 9vw, 130px) max(24px, calc((100% - 1180px) / 2)); background: var(--coral); color: var(--white); }
.tool-bridge h2 { max-width: 800px; }
.tool-bridge p { max-width: 710px; margin: 28px 0 0; color: rgba(255, 250, 245, .76); font-size: 17px; line-height: 1.85; text-wrap: pretty; }
.tool-bridge > a { min-width: 260px; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 22px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }

.faq .section-head { grid-template-columns: minmax(0, 900px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.faq-item button > span { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.55; }
.faq-item button i { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: background .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1); }
.faq-item button i::before,
.faq-item button i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; background: var(--coral); transform: translate(-50%, -50%); transition: transform .4s cubic-bezier(.22, 1, .36, 1), background .3s ease; }
.faq-item button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-7px); transition: grid-template-rows .45s cubic-bezier(.22, 1, .36, 1), opacity .28s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.faq-answer > div { min-height: 0; overflow: hidden; }
.faq-answer p { max-width: 860px; margin: 0; padding: 0 70px 30px 0; color: var(--muted); font-size: 17px; line-height: 1.85; text-wrap: pretty; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; opacity: 1; transform: translateY(0); }
.faq-item.is-open button i { background: var(--ink); transform: rotate(180deg); }
.faq-item.is-open button i::before { background: var(--white); }
.faq-item.is-open button i::after { background: var(--white); transform: translate(-50%, -50%) rotate(0deg); }

.contact { width: 100%; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(70px, 10vw, 160px); padding: clamp(96px, 10vw, 150px) max(24px, calc((100% - 1380px) / 2)); background: var(--ink); color: var(--white); }
.contact > div > p { max-width: 500px; margin: 28px 0 0; color: rgba(255, 250, 245, .7); font-size: 17px; line-height: 1.85; text-wrap: pretty; }
.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: clamp(30px, 4vw, 52px); background: #fff5ef; color: var(--ink); }
.contact label { display: grid; gap: 10px; }
.contact label:nth-child(4) { grid-column: 1 / -1; }
.contact label span { font-size: 14px; font-weight: 700; }
.contact input,
.contact select,
.contact textarea { width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.contact textarea { resize: vertical; }
.contact input:focus,
.contact select:focus,
.contact textarea:focus { border-bottom-color: var(--coral); box-shadow: 0 1px 0 var(--coral); }
.contact form button { grid-column: 1 / -1; min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border: 0; background: var(--coral); color: var(--white); font-size: 16px; font-weight: 700; }
.contact form > p { grid-column: 1 / -1; min-height: 26px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

footer { width: 100%; padding: 34px max(24px, calc((100% - 1380px) / 2)) 46px; border: 0; background: #351425; color: rgba(255, 250, 245, .62); font-size: 13px; }

#stages,
#services,
#faq,
#contact { scroll-margin-top: 30px; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .stage-tabs { grid-template-columns: 1fr 1fr; }
  .stage-panel { grid-template-columns: 1fr; }
  .stage-panel ul { min-height: 330px; }
  .belief { grid-template-columns: 1fr; align-items: start; gap: 32px; }
  .service-list article { grid-template-columns: 50px 1fr; gap: 22px; }
  .service-list p { grid-column: 2; }
  .tool-bridge { grid-template-columns: 1fr; align-items: start; }
  .tool-bridge > a { min-width: 0; width: min(100%, 380px); }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stages, .faq { width: calc(100% - 36px); padding: 78px 0; }
  .services { padding: 78px 18px; }
  .section-head h2, .belief h2, .tool-bridge h2, .contact h2 { font-size: clamp(31px, 8.5vw, 39px); }
  .stage-tab { min-height: 66px; padding: 10px; font-size: 15px; }
  .stage-panel > div, .stage-panel ul { padding: 36px 24px 42px; }
  .stage-panel h3 { font-size: 27px; }
  .belief, .tool-bridge, .contact { padding: 78px 20px; }
  .service-list article { min-height: 0; grid-template-columns: 36px 1fr; padding: 28px 0; }
  .service-list h3 { font-size: 24px; }
  .faq-answer p { padding-right: 0; }
  .contact form { grid-template-columns: 1fr; padding: 30px 22px; }
  .contact label:nth-child(4), .contact form button, .contact form > p { grid-column: 1; }
  footer { flex-direction: column; padding-inline: 20px; }
}

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