:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --cream: #fffdf7;
  --ink: #25342e;
  --muted: #5b675f;
  --line: #c8cbbf;
  --olive: #34473b;
  --olive-light: #e5e9e1;
  --coral: #c86b4d;
  --sand: #ece2d1;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
::selection { background: #e8ad91; color: var(--ink); }
.wrap { width: min(100% - 6.25rem, 1320px); margin-inline: auto; }
.skip { position: fixed; top: -4rem; left: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip:focus { top: 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.052em; }
h1 em, h2 em { color: var(--coral); font-weight: 400; }
.eyebrow { margin: 0 0 1.5rem; color: var(--coral); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-rule { display: inline-block; width: 28px; height: 1px; margin-right: .7rem; background: var(--coral); vertical-align: middle; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.75rem; min-height: 55px; padding: .85rem 1.25rem; border: 1px solid transparent; border-radius: 2px; font-size: .82rem; font-weight: 700; line-height: 1.25; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 1.2rem; font-weight: 400; line-height: .8; }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #40564a; }
.button-coral { color: white; background: var(--coral); }
.button-coral:hover { background: #af573b; }
.button-outline { border-color: #8c9c8f; color: var(--ink); background: transparent; }
.button-outline:hover { background: #e9eee6; }
.button-light { color: var(--ink); background: var(--cream); }
.button-light:hover { background: white; }
.text-link { font-size: .82rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .28rem; }
.text-link span { margin-left: .4rem; }
.micro { color: var(--muted); font-size: .74rem; }

.site-header { display: flex; align-items: center; gap: 2.5rem; min-height: 82px; padding-inline: max(3.125rem, calc((100% - 1320px) / 2)); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: 0 0 auto; text-decoration: none; font-size: .9rem; font-weight: 700; line-height: .84; letter-spacing: -.055em; }
.brand strong { font-size: 1.2rem; }
.brand-icon { position: relative; display: inline-block; width: 31px; height: 30px; }
.brand-icon span { position: absolute; display: block; background: var(--ink); }
.brand-icon span:nth-child(1) { left: 0; top: 0; width: 7px; height: 30px; }
.brand-icon span:nth-child(2) { left: 10px; top: 0; width: 7px; height: 19px; transform: rotate(45deg); transform-origin: top; }
.brand-icon span:nth-child(3) { left: 10px; bottom: 0; width: 7px; height: 19px; transform: rotate(-45deg); transform-origin: bottom; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); margin-left: auto; }
.main-nav a { text-decoration: none; font-size: .83rem; font-weight: 700; }
.main-nav a:hover, .footer a:hover { color: var(--coral); }
.owner { flex: 0 0 auto; padding-left: 2rem; border-left: 1px solid var(--line); color: var(--muted); font-size: .75rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: clamp(3rem, 5.5vw, 6rem); align-items: center; padding-block: clamp(4.5rem, 7.5vw, 8rem); }
.hero-copy { padding-block: 1rem; }
.hero h1 { max-width: 9.4em; margin: 0 0 1.65rem; font-size: clamp(4.3rem, 6.5vw, 7.2rem); line-height: .98; }
.lead { max-width: 37rem; margin: 0; color: #435249; font-size: 1.06rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.65rem; margin-top: 2.3rem; }
.hero-copy .micro { margin: 1.45rem 0 0; }
.hero-art { min-width: 0; padding: 1.4rem 1.45rem 1.2rem; background: var(--olive); color: var(--cream); box-shadow: 14px 14px 0 #e2d7c5; }
.art-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .1rem .15rem 1.4rem; border-bottom: 1px solid #819183; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.art-symbol { color: #e7a887; font-size: 1.55rem; line-height: 1; }
.hero-art svg { width: 100%; height: auto; }
.art-caption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem .15rem .1rem; border-top: 1px solid #819183; font-size: .7rem; }
.art-caption span { color: #c9d4c9; text-transform: uppercase; letter-spacing: .1em; }
.art-caption strong { font-size: .78rem; }

.intro-band { background: #e6e0d3; border-block: 1px solid #d7d0c2; }
.intro-grid { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 3rem; min-height: 145px; padding-block: 1.8rem; }
.intro-grid p { margin: 0; }
.intro-grid p:first-child { color: var(--coral); font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.04em; line-height: 1.15; }
.intro-grid p:nth-child(2) { max-width: 45rem; font-size: .96rem; line-height: 1.65; }
.intro-grid span { color: var(--coral); font-size: 3rem; }

.section { padding-block: clamp(5.5rem, 8vw, 9rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2, .quiz-intro h2, .recommend h2 { margin: 0; font-size: clamp(3.2rem, 5.3vw, 5.8rem); line-height: 1.02; }
.section-heading > p { width: min(100%, 22rem); margin-bottom: .3rem; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.layout-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.layout-card { display: flex; flex-direction: column; min-height: 430px; padding: clamp(1.3rem, 2.2vw, 2.4rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbf9f2; transition: background .2s; }
.layout-card:hover { background: #f0efe6; }
.layout-icon { position: relative; width: 112px; height: 112px; margin-bottom: 1.5rem; border: 1px solid #bfc8bb; background: #e8eee5; }
.layout-icon::before, .layout-icon::after, .layout-icon i { content: ""; position: absolute; display: block; background: var(--olive); }
.layout-icon.linear::before { left: 19px; right: 19px; top: 25px; height: 14px; }
.layout-icon.linear::after { left: 19px; right: 19px; top: 57px; height: 1px; background: #9cab9b; }
.layout-icon.corner::before { left: 19px; right: 20px; top: 25px; height: 14px; }
.layout-icon.corner::after { left: 19px; top: 39px; width: 14px; height: 51px; }
.layout-icon.parallel::before { left: 19px; right: 20px; top: 25px; height: 14px; }
.layout-icon.parallel::after { left: 19px; right: 20px; bottom: 25px; height: 14px; }
.layout-icon.parallel i { left: 54px; top: 43px; width: 1px; height: 26px; background: #9cab9b; }
.layout-icon.ushape::before { left: 19px; right: 20px; top: 25px; height: 14px; }
.layout-icon.ushape::after { left: 19px; top: 39px; width: 14px; height: 51px; }
.layout-icon.ushape i { right: 20px; top: 39px; width: 14px; height: 51px; }
.layout-meta { color: var(--coral); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.layout-card h3 { margin: .55rem 0 1rem; font-size: 2rem; line-height: 1.08; }
.layout-card p { color: #4f5c53; font-size: .82rem; line-height: 1.65; }
.layout-card .card-note { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid #d5d7cb; color: var(--ink); }
.layout-card .card-note strong { color: var(--coral); }

.quiz-section { padding-block: clamp(5.5rem, 8vw, 9rem); background: var(--olive); color: var(--cream); }
.quiz-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.quiz-intro { position: sticky; top: 2rem; }
.quiz-intro .eyebrow { color: #eab398; }
.quiz-intro h2 { margin-bottom: 1.6rem; }
.quiz-intro h2 em { color: #e9a987; }
.quiz-intro > p:not(.eyebrow) { max-width: 25rem; color: #d5dfd4; font-size: .95rem; line-height: 1.7; }
.quiz-aside { display: flex; align-items: center; gap: 1rem; max-width: 19rem; margin-top: 2.7rem; padding-top: 1.3rem; border-top: 1px solid #738476; }
.quiz-aside > span { align-self: start; color: #eab398; font-size: 1.8rem; }
.quiz-aside p { margin: 0; color: #c9d6ca; font-size: .77rem; line-height: 1.6; }
.quiz { padding: clamp(1.4rem, 3vw, 3.25rem); background: var(--cream); color: var(--ink); box-shadow: 12px 12px 0 #26372e; }
.quiz fieldset { min-width: 0; margin: 0 0 1.85rem; padding: 0 0 1.75rem; border: 0; border-bottom: 1px solid var(--line); }
.quiz legend { display: flex; align-items: center; gap: 1rem; width: 100%; margin-bottom: 1.1rem; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; letter-spacing: -.035em; }
.quiz legend span { flex: 0 0 1.3rem; color: var(--coral); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.choices { display: flex; flex-wrap: wrap; gap: .55rem; }
.choices label { position: relative; flex: 1 1 135px; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label > span { display: block; min-height: 52px; height: 100%; padding: .75rem .9rem; border: 1px solid #bdc4ba; color: var(--ink); background: #fbfaf5; font-size: .8rem; font-weight: 700; line-height: 1.25; transition: border-color .2s, background .2s; }
.choices label > span small { display: block; margin-top: .2rem; color: #68736a; font-size: .68rem; font-weight: 400; }
.choices input:checked + span { border-color: var(--olive); color: var(--ink); background: var(--olive-light); box-shadow: inset 0 0 0 1px var(--olive); }
.choices input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 3px; }
.choices label:hover > span { border-color: var(--olive); }
.quiz > .button { width: 100%; margin-top: .4rem; }
.result { margin-top: 3.5rem; padding: clamp(1.5rem, 4vw, 4rem); border: 1px solid #d1d5c7; background: #f7f5ed; color: var(--ink); box-shadow: 12px 12px 0 #2a3a30; }
.result-label { padding-bottom: 1rem; border-bottom: 1px solid #c2c9be; color: var(--coral); font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.result-main { display: flex; justify-content: space-between; gap: 2rem; padding-block: 2rem 1.1rem; }
.result-main .eyebrow { margin-bottom: .6rem; }
.result-main h3 { margin: 0 0 1rem; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.03; }
.result-main p:not(.eyebrow) { max-width: 50rem; color: #435348; font-size: .95rem; line-height: 1.7; }
.result-mark { color: #e2b39b; font-size: 7rem; line-height: .8; }
.result-alt { max-width: 54rem; padding: 1.1rem 0; border-top: 1px solid #c2c9be; color: #435348; font-size: .84rem; line-height: 1.6; }
.result-details { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1.1rem; }
.result-details summary { cursor: pointer; font-size: .85rem; font-weight: 700; }
.result-details summary:hover { color: var(--coral); }
.result-details pre { overflow-wrap: anywhere; white-space: pre-wrap; margin: .9rem 0 0; padding: 1.1rem; background: #eaece3; color: #405045; font: .82rem/1.65 var(--sans); }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.8rem; }
.result-actions .button { min-width: 150px; justify-content: center; }
#copy-status { min-height: 1.2em; color: var(--muted); font-size: .75rem; }

.scenario-section { border-block: 1px solid #d6d5c8; background: #eae8dc; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.scenario-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.5rem, 2.8vw, 2.7rem); background: var(--cream); border: 1px solid #cdd0c3; }
.scenario-card h3 { margin: .55rem 0 1rem; font-size: clamp(1.8rem, 2.5vw, 2.45rem); line-height: 1.1; }
.scenario-card > p:not(.layout-meta) { color: #4f5c53; font-size: .87rem; line-height: 1.7; }
.scenario-card .scenario-check { margin: auto 0 0; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.scenario-check strong { color: var(--coral); }
.scenario-plan { position: relative; width: 146px; height: 112px; margin: 0 0 1.65rem; background: #edf0e8; border: 2px solid #9eae9f; }
.scenario-plan::before, .scenario-plan::after, .scenario-plan span, .scenario-plan i { content: ""; position: absolute; display: block; }
.scenario-plan-long { width: 146px; height: 88px; margin-block: 12px 27px; }
.scenario-plan-long::before { left: 13px; top: 13px; bottom: 13px; width: 17px; background: var(--olive); }
.scenario-plan-long::after { right: 15px; top: 16px; bottom: 16px; width: 1px; background: #a7b8a8; }
.scenario-plan-long span { left: 39px; top: 43px; right: 42px; height: 1px; background: var(--coral); }
.scenario-plan-square { width: 112px; height: 112px; margin-inline: 17px; }
.scenario-plan-square::before { left: 13px; right: 14px; top: 13px; height: 17px; background: var(--olive); }
.scenario-plan-square::after { left: 13px; top: 30px; bottom: 14px; width: 17px; background: var(--olive); }
.scenario-plan-square span { left: 45px; top: 47px; width: 35px; height: 35px; border: 1px dashed var(--coral); border-radius: 50%; }
.scenario-plan-open { border-right: 2px dashed #9eae9f; }
.scenario-plan-open::before { left: 13px; right: 22px; top: 13px; height: 17px; background: var(--olive); }
.scenario-plan-open::after { left: 13px; top: 30px; height: 51px; width: 17px; background: var(--olive); }
.scenario-plan-open span { right: 22px; bottom: 18px; width: 39px; height: 24px; border: 1px solid var(--coral); border-radius: 50%; }

.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.check-grid > div { padding: 1.7rem clamp(1.5rem, 3vw, 3.5rem) 0 0; border-right: 1px solid var(--line); }
.check-grid > div + div { padding-left: clamp(1.5rem, 3vw, 3.5rem); }
.check-grid > div:last-child { border-right: 0; padding-right: 0; }
.check-grid span { color: var(--coral); font-family: var(--serif); font-size: 1.6rem; }
.check-grid h3 { margin: 2.5rem 0 1rem; font-size: 1.75rem; line-height: 1.18; }
.check-grid p { color: var(--muted); font-size: .87rem; line-height: 1.7; }

.path-section { background: #f1eee5; border-top: 1px solid #deddd1; }
.path-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.path-list li { min-width: 0; padding: 1.6rem clamp(1.1rem, 1.8vw, 1.8rem) 1.9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbf9f2; }
.path-list li > span { color: var(--coral); font-family: var(--serif); font-size: 1.6rem; }
.path-list h3 { min-height: 3.2em; margin: 2.25rem 0 .9rem; font-size: clamp(1.35rem, 1.65vw, 1.65rem); line-height: 1.12; }
.path-list p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.path-action { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2.25rem; }
.path-action p { max-width: 37rem; margin: 0; color: #4f5c53; font-size: .9rem; line-height: 1.6; }
.path-action .button { flex: 0 0 auto; }

.recommend { padding-block: clamp(5rem, 8vw, 8rem); background: #c47558; color: #fff9ec; }
.recommend-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; }
.recommend .eyebrow { color: #ffe6c9; }
.recommend h2 em { color: #ffe5c9; }
.recommend-grid > div:last-child > p:first-child { max-width: 33rem; font-size: .97rem; line-height: 1.75; }
.recommend .button { margin: .45rem 0 1.3rem; }
.recommend .micro { color: #ffead8; }
.footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3rem; align-items: start; padding-block: 2.7rem; }
.footer p { max-width: 46rem; margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.footer a { text-decoration: none; font-size: .82rem; font-weight: 700; }

@media (max-width: 1150px) {
  .wrap { width: min(100% - 3.4rem, 1320px); }
  .site-header { padding-inline: 1.7rem; }
  .hero { gap: 2.8rem; }
  .hero h1 { font-size: clamp(3.8rem, 6.1vw, 5.6rem); }
  .layout-card { padding: 1.4rem; }
  .layout-card h3 { font-size: 1.7rem; }
  .path-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path-list h3 { min-height: 0; }
}
@media (max-width: 870px) {
  .site-header { gap: 1.5rem; }
  .main-nav { display: none; }
  .owner { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-block: 4.5rem; }
  .hero h1 { max-width: none; font-size: clamp(4rem, 9vw, 6rem); }
  .hero-art { max-width: 680px; }
  .intro-grid { grid-template-columns: 1fr 2fr; }
  .intro-grid span { display: none; }
  .layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-layout { grid-template-columns: 1fr; }
  .quiz-intro { position: static; }
  .quiz-intro > p:not(.eyebrow) { max-width: 38rem; }
  .quiz-aside { margin-top: 1.2rem; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-card { min-height: 0; }
  .path-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recommend-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .wrap { width: min(100% - 2rem, 1320px); }
  .site-header { min-height: 69px; padding-inline: 1rem; }
  .owner { max-width: 92px; padding-left: .8rem; font-size: .65rem; line-height: 1.2; }
  .hero { gap: 2.5rem; padding-block: 3.7rem 4.8rem; }
  .hero h1 { font-size: clamp(3.4rem, 11.6vw, 4.9rem); }
  .lead { font-size: .96rem; }
  .hero-actions { align-items: start; flex-direction: column; gap: 1.2rem; }
  .hero-art { padding: .85rem; box-shadow: 8px 8px 0 #e2d7c5; }
  .art-top { font-size: .57rem; padding-bottom: .7rem; }
  .art-caption { font-size: .59rem; }
  .art-caption strong { font-size: .65rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 1.1rem; padding-block: 2rem; }
  .intro-grid p:first-child { font-size: 1.5rem; }
  .section { padding-block: 5rem; }
  .section-heading { display: block; margin-bottom: 2rem; }
  .section-heading h2, .quiz-intro h2, .recommend h2 { font-size: clamp(3rem, 10vw, 4rem); }
  .section-heading > p { margin-top: 1.2rem; }
  .layout-grid { grid-template-columns: 1fr; }
  .layout-card { min-height: 0; padding: 1.4rem; }
  .layout-icon { margin-bottom: 1rem; }
  .layout-card h3 { font-size: 1.75rem; }
  .layout-card .card-note { margin-top: 1rem; }
  .quiz-section { padding-block: 5rem; }
  .quiz-layout { gap: 2.2rem; }
  .quiz { padding: 1.35rem 1rem; box-shadow: 7px 7px 0 #26372e; }
  .quiz fieldset { margin-bottom: 1.45rem; padding-bottom: 1.4rem; }
  .quiz legend { font-size: 1.15rem; }
  .choices label { flex-basis: 100%; }
  .choices label > span { min-height: 49px; }
  .result { margin-top: 2.6rem; padding: 1.35rem 1rem; box-shadow: 7px 7px 0 #26372e; }
  .result-main { padding-top: 1.4rem; }
  .result-mark { display: none; }
  .result-main h3 { font-size: 2.85rem; }
  .result-actions { flex-direction: column; align-items: stretch; }
  .result-actions .button { width: 100%; }
  .check-grid { grid-template-columns: 1fr; }
  .check-grid > div, .check-grid > div + div, .check-grid > div:last-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
  .check-grid h3 { margin-top: 1rem; }
  .scenario-card { padding: 1.5rem; }
  .path-list { grid-template-columns: 1fr; }
  .path-list li { padding: 1.4rem; }
  .path-list h3 { margin-top: 1.1rem; }
  .path-action { align-items: stretch; flex-direction: column; gap: 1rem; }
  .path-action .button { width: 100%; }
  .recommend { padding-block: 5rem; }
  .recommend .button { width: 100%; }
  .footer { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2.5rem; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  @page { margin: 18mm; }
  body { color: #111; background: white; }
  .site-header, .hero, .intro-band, .section, .quiz-layout, .recommend, .footer, .result-actions { display: none !important; }
  .quiz-section { padding: 0; background: #fff; color: #111; }
  .result { display: block; margin: 0; border: 0; padding: 0; box-shadow: none; background: #fff; color: #111; }
  .result-details { display: block; }
  .result-details pre { display: block; padding: 0; background: #fff; color: #111; }
}
