:root {
  --cream: #f4f0e8;
  --paper: #faf8f3;
  --ink: #20211d;
  --muted: #6f6c64;
  --line: rgba(32, 33, 29, 0.16);
  --wine: #9a5060;
  --wine-deep: #713742;
  --blush: #ead8d6;
  --sage: #a8ae96;
  --shadow: 0 18px 60px rgba(54, 45, 35, 0.1);
  --serif: Georgia, "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  background-image: radial-gradient(rgba(55, 45, 32, 0.08) 0.55px, transparent 0.55px);
  background-size: 6px 6px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 72px; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -50px; left: 20px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header {
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  position: fixed;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border 0.3s ease, height 0.3s ease;
}
.site-header.scrolled { height: 64px; background: rgba(244, 240, 232, 0.9); backdrop-filter: blur(14px); border-color: var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 7px; font-family: var(--serif); font-size: 18px; letter-spacing: 0.01em; }
.wordmark i { color: var(--wine); font-size: 12px; font-style: normal; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: 13px; }
nav a { position: relative; color: #55544f; }
nav a:not(.nav-cta)::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -5px; background: var(--wine); transition: right 0.25s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.nav-cta { color: #fff; background: var(--wine); padding: 11px 18px; border-radius: 999px; }

.hero {
  min-height: 790px;
  padding: 150px clamp(24px, 7vw, 108px) 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(54px, 9vw, 150px);
  max-width: 1540px;
  margin: 0 auto;
}
.eyebrow { margin: 0 0 26px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wine-deep); font-weight: 700; }
.eyebrow span { margin-right: 9px; }
.hero h1, .section h2, .contact-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
  margin: 0;
}
.hero h1 { font-size: clamp(60px, 7vw, 104px); line-height: 0.98; }
.hero h1 span { color: var(--wine); font-style: italic; }
.hero-hand { margin: 24px 0 34px; color: var(--wine); font-family: "Bradley Hand", "Segoe Print", cursive; font-size: 17px; transform: rotate(-1deg); }
.hero-intro { max-width: 640px; color: #55544e; line-height: 1.9; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags span { border: 1px solid var(--line); background: rgba(255,255,255,0.35); border-radius: 999px; padding: 7px 12px; font-size: 11px; color: #67645e; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(30,30,25,0.11); }
.button-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.button-light { background: rgba(255,255,255,0.36); }

.portrait-wrap { position: relative; width: min(100%, 470px); justify-self: center; transform: rotate(1.1deg); }
.portrait-card { margin: 0; padding: 14px 14px 0; border: 1px solid rgba(32,33,29,0.15); background: #f7f2e9; box-shadow: var(--shadow); }
.portrait-card img { width: 100%; height: 470px; object-fit: cover; object-position: 69% center; filter: saturate(0.82) contrast(0.96); }
.portrait-card figcaption { display: flex; justify-content: space-between; gap: 18px; align-items: end; padding: 19px 6px 21px; border-bottom: 1px solid var(--line); }
.portrait-card figcaption span { font-family: var(--serif); font-size: 27px; }
.portrait-card figcaption small { font-size: 10px; color: var(--muted); text-align: right; line-height: 1.5; }
.tape { position: absolute; z-index: 2; top: -22px; left: 40px; margin: 0; padding: 9px 20px; background: rgba(244,233,218,0.92); box-shadow: 0 3px 8px rgba(60,40,20,0.08); font-family: "Bradley Hand", cursive; font-size: 12px; transform: rotate(-5deg); }
.status-pill { position: absolute; z-index: 3; top: 34px; right: -28px; background: rgba(250,248,243,0.93); border: 1px solid rgba(32,33,29,0.11); border-radius: 999px; padding: 11px 15px; font-size: 10px; box-shadow: 0 5px 18px rgba(40,35,30,0.08); transform: rotate(-1.2deg); }
.status-pill i { display: inline-block; width: 7px; height: 7px; background: #69ad84; border-radius: 50%; margin-right: 6px; }
.scribble { position: absolute; width: 125px; left: -68px; bottom: 52px; transform: rotate(-7deg); overflow: visible; }
.scribble path { fill: none; stroke: var(--wine); stroke-width: 1.5; stroke-linecap: round; }

.proof-strip { max-width: 1400px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-strip article { min-height: 150px; padding: 32px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-right: 1px solid var(--line); }
.proof-strip article:last-child { border-right: 0; }
.proof-strip strong { font-family: var(--serif); font-size: 46px; font-weight: 400; line-height: 1; }
.proof-strip sup { color: var(--wine); font-size: 19px; }
.proof-strip span { color: var(--muted); font-size: 11px; margin-top: 12px; letter-spacing: 0.04em; }

.section { padding: 132px clamp(24px, 7vw, 108px); max-width: 1540px; margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 0.7fr 1.4fr 0.8fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.section-heading .eyebrow { align-self: start; }
.section h2, .contact-section h2 { font-size: clamp(48px, 6vw, 82px); line-height: 1.03; }
.section h2 em, .contact-section h2 em { color: var(--wine); font-weight: 400; }
.section-heading > p:last-child, .method-intro > p:last-child { color: var(--muted); line-height: 1.8; font-size: 14px; }

.featured-case { border: 1px solid var(--line); background: rgba(250,248,243,0.54); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 180px 1fr; }
.case-index { padding: 30px; border-right: 1px solid var(--line); color: var(--wine); font-size: 10px; letter-spacing: 0.16em; writing-mode: vertical-rl; }
.case-main { padding: clamp(32px, 5vw, 68px); }
.case-title-row { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.case-kicker { margin: 0 0 17px; color: var(--wine-deep); font-size: 12px; letter-spacing: 0.06em; }
.case-title-row h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.1vw, 58px); line-height: 1.12; letter-spacing: -0.04em; }
.case-date { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.case-lede { max-width: 800px; margin: 30px 0 48px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.case-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 52px; align-items: start; }
.problem-note { background: var(--blush); padding: 32px; transform: rotate(-1.1deg); box-shadow: 0 10px 30px rgba(88,51,55,0.08); }
.problem-note span { font-size: 9px; letter-spacing: 0.2em; color: var(--wine-deep); }
.problem-note p { margin: 19px 0 0; font-family: var(--serif); font-size: 22px; line-height: 1.58; }
.case-steps { list-style: none; margin: 0; padding: 0; }
.case-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.case-steps li:last-child { margin-bottom: 0; }
.case-steps b { color: var(--wine); font-family: var(--serif); font-size: 20px; font-weight: 400; }
.case-steps strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.case-steps p { margin: 7px 0 0; color: var(--muted); line-height: 1.7; font-size: 13px; }
.case-outcomes { margin-top: 45px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.case-outcomes span, .card-result span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted); font-size: 10px; }

.research-grid { min-width: 0; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.research-card { min-width: 0; min-height: 570px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; padding: clamp(30px, 4vw, 54px); background: var(--paper); display: flex; flex-direction: column; }
.card-top { display: flex; justify-content: space-between; color: var(--wine-deep); font-size: 9px; letter-spacing: 0.16em; }
.mini-visual { height: 120px; margin: 42px 0 26px; display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; }
.mini-visual span { border: 1px solid rgba(113,55,66,0.22); background: rgba(234,216,214,0.5); border-radius: 999px; padding: 12px 14px; color: var(--wine-deep); font-family: var(--serif); font-size: 14px; transform: translateY(var(--offset, 0)); }
.mini-visual span:nth-child(1) { --offset: 18px; }
.mini-visual span:nth-child(2) { --offset: -12px; }
.mini-visual span:nth-child(3) { --offset: 8px; }
.mini-visual span:nth-child(4) { --offset: -18px; }
.research-card h3 { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 48px); font-weight: 400; line-height: 1.15; letter-spacing: -0.04em; margin: 10px 0 20px; }
.research-card > p { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0 0 28px; }
.card-result { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.dark-card { background: var(--ink); color: #f7f1e8; }
.dark-card .card-top { color: #d9aab2; }
.dark-card > p { color: #bbb8af; }
.dark-card .card-result span { border-color: rgba(255,255,255,0.15); color: #c8c4bb; }
.funnel { height: 120px; margin: 42px 0 26px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.funnel span { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.22); border-radius: 50%; font-family: var(--serif); font-size: 27px; }
.funnel .final { background: var(--wine); border-color: var(--wine); width: 88px; height: 88px; }
.funnel i { color: #9b968c; font-style: normal; }
.ops-numbers { height: 120px; margin: 42px 0 26px; display: flex; align-items: center; justify-content: center; gap: 26px; }
.ops-numbers span { width: 116px; height: 88px; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ops-numbers b { font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1; }
.ops-numbers small { margin-top: 8px; color: #c4bfb6; font-size: 9px; letter-spacing: 0.14em; }
.ops-numbers i { color: #d9aab2; font-style: normal; }
.research-proof { margin-top: 24px; padding: 30px 34px; display: grid; grid-template-columns: 170px 1fr auto; gap: 34px; align-items: center; border: 1px solid var(--line); border-radius: 20px; background: rgba(168,174,150,0.13); }
.research-proof > span { color: var(--wine-deep); font-size: 9px; letter-spacing: 0.18em; }
.research-proof p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.research-proof p b { color: var(--ink); font-weight: 600; }
.research-proof small { color: var(--wine); font-family: var(--serif); font-size: 13px; white-space: nowrap; }

.method-section { border-top: 1px solid var(--line); }
.method-intro { display: grid; grid-template-columns: 0.6fr 1.25fr 0.75fr; gap: 40px; align-items: end; }
.method-flow { list-style: none; margin: 76px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-flow li { min-height: 320px; padding: 30px; border-right: 1px solid var(--line); position: relative; }
.method-flow li:last-child { border-right: 0; }
.method-flow li > span { font-family: var(--serif); color: var(--wine); font-size: 18px; }
.method-flow i { display: block; font-family: "Bradley Hand", cursive; color: var(--wine); margin: 65px 0 9px; transform: rotate(-3deg); }
.method-flow h3 { margin: 0 0 17px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.method-flow p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.about-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(54px, 9vw, 130px); align-items: center; }
.about-photo { position: relative; }
.about-photo-main { width: 100%; height: 650px; object-fit: cover; object-position: 68% center; filter: saturate(0.8) contrast(0.93); border: 12px solid var(--paper); box-shadow: var(--shadow); transform: rotate(-1.6deg); }
.about-photo-fan { position: absolute; z-index: 2; right: -46px; bottom: -46px; width: 42%; height: 305px; object-fit: cover; object-position: center 56%; border: 9px solid var(--paper); box-shadow: 0 18px 50px rgba(26,25,45,0.22); transform: rotate(4deg); }
.about-photo > span { position: absolute; z-index: 3; right: 78px; bottom: 42px; padding: 13px 20px; background: var(--blush); font-family: "Bradley Hand", cursive; color: var(--wine-deep); transform: rotate(-3deg); white-space: nowrap; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.95; max-width: 660px; }
.personal-ops { margin-top: 30px; padding: 22px 24px; border: 1px solid rgba(113,55,66,0.18); background: rgba(234,216,214,0.32); display: grid; grid-template-columns: 145px 1fr; gap: 22px; }
.personal-ops > span { color: var(--wine-deep); font-size: 8px; line-height: 1.6; letter-spacing: 0.17em; }
.personal-ops b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.personal-ops p { margin: 8px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.personal-ops small { color: var(--wine); font-size: 9px; letter-spacing: 0.08em; }
.education-list { margin-top: 40px; border-top: 1px solid var(--line); }
.education-list article { display: grid; grid-template-columns: 105px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.education-list article > span { color: var(--wine); font-family: var(--serif); font-size: 14px; }
.education-list b { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.education-list p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }

.contact-section { margin: 10px clamp(14px, 3vw, 42px) 30px; border-radius: 30px; background: var(--wine-deep); color: #f8f3ea; padding: clamp(64px, 9vw, 130px) clamp(24px, 7vw, 110px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(60px, 10vw, 160px); align-items: center; }
.contact-copy, .contact-card { min-width: 0; }
.contact-section .eyebrow { color: #e6b8bf; }
.contact-copy > p:last-child { max-width: 620px; color: #dbc9c4; line-height: 1.9; font-size: 14px; }
.contact-card { background: #f6efe5; color: var(--ink); padding: 24px 32px 28px; transform: rotate(1.2deg); box-shadow: 0 24px 80px rgba(25,12,15,0.2); }
.contact-note { margin: -42px auto 21px; width: max-content; background: #e8d4c6; padding: 10px 22px; font-family: "Bradley Hand", cursive; color: var(--wine-deep); transform: rotate(-3deg); }
.contact-card a { display: grid; grid-template-columns: 72px 1fr 20px; align-items: center; gap: 18px; padding: 21px 4px; border-bottom: 1px solid var(--line); }
.contact-card a:last-child { border-bottom: 0; }
.contact-card small { color: var(--wine); font-size: 9px; letter-spacing: 0.14em; }
.contact-card strong { font-family: var(--serif); font-size: clamp(16px, 1.5vw, 22px); font-weight: 400; overflow-wrap: anywhere; }
.contact-card a span { color: var(--wine); }

footer { min-height: 120px; padding: 0 clamp(24px, 7vw, 108px); display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; color: var(--muted); font-size: 11px; }
footer p:nth-child(2) { font-family: "Bradley Hand", cursive; color: var(--wine); font-size: 13px; }
footer p:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(.2,.75,.25,1); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 135px; gap: 78px; }
  .hero-copy { max-width: 760px; }
  .portrait-wrap { justify-self: end; margin-right: 4vw; width: min(78vw, 520px); }
  .section-heading, .method-intro { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p:last-child, .method-intro > p:last-child { max-width: 540px; }
  .featured-case { grid-template-columns: 72px 1fr; }
  .case-index { padding: 24px; }
  .case-grid { grid-template-columns: 1fr; }
  .method-flow { grid-template-columns: 1fr 1fr; }
  .method-flow li:nth-child(2) { border-right: 0; }
  .method-flow li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-section { grid-template-columns: 1fr; }
  .about-photo { width: min(72vw, 560px); }
  .about-photo-main { height: 560px; }
  .about-photo-fan { right: -70px; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { height: 66px; padding: 0 18px; }
  .site-header nav { gap: 16px; }
  .site-header nav a:nth-child(2), .site-header nav a:nth-child(3) { display: none; }
  .nav-cta { padding: 9px 13px; }
  .hero { padding: 116px 22px 76px; min-height: 0; }
  .hero h1 { font-size: clamp(52px, 15vw, 72px); }
  .hero-intro { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 300px; }
  .portrait-wrap { width: calc(100% - 18px); margin-right: 4px; }
  .portrait-card img { height: 420px; }
  .status-pill { right: -11px; top: 28px; }
  .scribble { display: none; }
  .proof-strip { grid-template-columns: 1fr 1fr; margin: 0 14px; }
  .proof-strip article { min-height: 130px; padding: 24px 14px; }
  .proof-strip article:nth-child(2) { border-right: 0; }
  .proof-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-strip strong { font-size: 38px; }
  .proof-strip span { max-width: 125px; line-height: 1.5; }
  .section { padding: 100px 20px; }
  .section h2, .contact-section h2 { font-size: 47px; }
  .section-heading { margin-bottom: 48px; }
  .featured-case { display: block; border-radius: 20px; }
  .case-index { writing-mode: initial; border-right: 0; border-bottom: 1px solid var(--line); }
  .case-main { padding: 30px 22px; }
  .case-title-row { display: block; }
  .case-title-row h3 { font-size: 35px; }
  .case-date { display: inline-block; margin-top: 18px; }
  .problem-note { padding: 25px; }
  .problem-note p { font-size: 19px; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { min-height: 530px; }
  .research-proof { grid-template-columns: 1fr; gap: 14px; padding: 26px 24px; }
  .research-proof small { white-space: normal; }
  .mini-visual { gap: 4px; }
  .mini-visual span { padding: 10px 9px; font-size: 12px; }
  .method-flow { grid-template-columns: 1fr; }
  .method-flow li { min-height: 245px; border-right: 0; border-bottom: 1px solid var(--line); }
  .method-flow li:last-child { border-bottom: 0; }
  .method-flow i { margin-top: 40px; }
  .about-photo { width: 92%; }
  .about-photo-main { height: 470px; }
  .about-photo-fan { right: -18px; bottom: -74px; width: 46%; height: 240px; border-width: 7px; }
  .about-photo > span { right: 42px; bottom: 28px; padding: 11px 14px; font-size: 12px; }
  .about-copy { margin-top: 54px; }
  .personal-ops { grid-template-columns: 1fr; gap: 10px; }
  .education-list article { grid-template-columns: 85px 1fr; }
  .contact-section { margin: 0 10px 18px; border-radius: 22px; padding: 82px 22px 60px; overflow: hidden; }
  .contact-card { padding: 22px 19px; }
  .contact-card a { grid-template-columns: 55px 1fr 16px; gap: 10px; }
  footer { grid-template-columns: 1fr 1fr; min-height: 100px; }
  footer p:nth-child(2) { display: none; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 39px; line-height: 1.04; }
  .mini-visual { gap: 3px; }
  .mini-visual span { padding: 9px 7px; font-size: 11px; }
  .funnel { gap: 9px; }
  .funnel span { width: 58px; height: 58px; font-size: 22px; }
  .funnel .final { width: 68px; height: 68px; }
  .contact-card a { grid-template-columns: 48px 1fr 12px; }
  .contact-card strong { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

