:root {
  color-scheme: light;
  --ink: #342719;
  --subtle: #746454;
  --green: #39ae32;
  --blue: #3ba8d2;
  --orange: #ff7600;
  --cream: #fff5e6;
  --paper: #fffdf8;
  --line: #e8d9c7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.75;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
  padding: 20px 0;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand > span:last-child { display: grid; line-height: 1.25; }
.brand strong { font-size: 20px; letter-spacing: .04em; }
.brand small { color: var(--subtle); font-size: 10px; }
.brand-leaf { position: relative; width: 34px; height: 34px; border-radius: 48% 52% 48% 52%; background: #ffe3bf; border: 2px solid var(--blue); }
.brand-leaf::before { content: ""; position: absolute; width: 9px; height: 14px; left: 18px; top: -8px; border-radius: 100% 0 100% 0; background: #76b94a; rotate: 20deg; }
.home-link { border-bottom: 1px solid currentColor; color: var(--subtle); font-size: 13px; font-weight: 700; text-decoration: none; }

main { width: min(100% - 32px, 1080px); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgb(80 52 22 / 9%);
}

.hero-copy { padding: clamp(34px, 6vw, 72px); padding-right: 16px; }
.eyebrow { margin: 0 0 10px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(42px, 7vw, 76px); line-height: 1.13; letter-spacing: .02em; }
h1 em { color: var(--green); font-style: normal; }
.lead { max-width: 620px; margin-bottom: 24px; font-size: clamp(17px, 2vw, 20px); font-weight: 700; }
.notice { max-width: 650px; margin: 0; padding: 16px 18px; border-left: 5px solid #ffd548; border-radius: 0 12px 12px 0; background: #fff7d6; color: #5c4e3d; font-size: 13px; }
.hero-character { align-self: end; margin: 0 -3% -2% 0; }
.hero-character img { display: block; width: min(100%, 480px); height: auto; }

.poses { padding: 96px 0 84px; }
.section-heading { max-width: 680px; margin: 0 auto 34px; text-align: center; }
.section-heading h2, .meaning h2, .next-step h2 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.3; }
.section-heading > p:last-child { color: var(--subtle); }
.pose-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pose-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 12px 30px rgb(80 52 22 / 7%); transition: translate .2s ease, box-shadow .2s ease; }
.pose-card:hover { translate: 0 -4px; box-shadow: 0 18px 36px rgb(80 52 22 / 12%); }
.pose-card figure { display: grid; min-height: 240px; margin: 0; place-items: end center; background-color: #f8fbf2; background-image: radial-gradient(#b9dba4 1.5px, transparent 1.5px); background-size: 15px 15px; }
.pose-card img { display: block; width: 100%; height: auto; }
.pose-card > div { padding: 20px 22px 24px; }
.pose-card span { display: inline-block; border-radius: 999px; padding: 3px 9px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.pose-card h3 { margin: 8px 0 4px; font-size: 21px; }
.pose-card p { margin: 0; color: var(--subtle); font-size: 14px; }

.meaning { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; padding: 48px; border-radius: 28px; background: #33291f; color: #fffaf2; }
.meaning dl { display: grid; gap: 14px; margin: 0; }
.meaning dl div { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 18px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 16px; background: rgb(255 255 255 / 6%); }
.meaning dt { color: #ffdc55; font-weight: 900; }
.meaning dd { margin: 0; }

.next-step { display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 32px; margin: 84px 0; padding: 30px 44px; border: 2px solid #badeaa; border-radius: 28px; background: #effbe9; }
.next-step img { width: 100%; height: auto; }
.next-step p:not(.eyebrow) { color: var(--subtle); }
.next-step a { display: inline-flex; border-radius: 999px; padding: 13px 22px; background: var(--green); color: white; font-weight: 900; text-decoration: none; }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px max(24px, calc((100vw - 1080px) / 2)); background: #30271e; color: #fff8ee; font-size: 13px; }
footer p { margin: 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
footer a { text-underline-offset: 4px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 38px 26px 8px; }
  .hero-character { width: min(78%, 390px); margin: 0 auto -2%; }
  .pose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meaning { grid-template-columns: 1fr; gap: 12px; padding: 32px 24px; }
}

@media (max-width: 540px) {
  .site-header, main { width: min(100% - 24px, 1080px); }
  .brand small { display: none; }
  .hero { min-height: 0; border-radius: 24px; }
  h1 { font-size: 43px; }
  .pose-grid { grid-template-columns: 1fr; }
  .pose-card { display: grid; grid-template-columns: minmax(130px, 42%) 1fr; }
  .pose-card figure { min-height: 0; }
  .pose-card > div { align-self: center; padding: 16px 14px 16px 4px; }
  .pose-card h3 { font-size: 18px; }
  .pose-card p { font-size: 12px; }
  .next-step { grid-template-columns: 120px 1fr; gap: 14px; margin: 64px 0; padding: 22px 18px; }
  .next-step h2 { font-size: 23px; }
  footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pose-card { transition: none; }
}
