:root {
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --navy: #12263a;
  --ink: #334558;
  --gold: #a98548;
  --gold-pale: #e9dfce;
  --line: #b5a996;
  --prepare: #e8f0f7;
  --practise: #e5f2ea;
  --connect: #f7e9e1;
  --ai: #f0ecf8;
  --eyebrow: #75582a;
  --radius: 18px;
  --shadow: 0 10px 32px #12263a0c;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 16px/1.6 Arial, Helvetica, sans-serif; }
button, input, textarea { font: inherit; }
button { min-height: 44px; padding: .7rem 1rem; border: 2px solid var(--navy); border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
button:hover { background: #233f57; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 5px var(--paper); }
a { color: inherit; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 5; padding: .7rem; background: var(--navy); color: #fff; }
.skip-link:focus { top: 1rem; }
.site-header { max-width: 1120px; margin: auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 700; text-decoration: none; }
.brand-mark { width: 2.25rem; height: 2.25rem; flex: 0 0 auto; border: 2px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font: .78rem Georgia, serif; }
.header-note { max-width: 240px; color: var(--ink); font-size: .8rem; text-align: right; }
main { max-width: 1120px; margin: auto; padding: 0 1.5rem; }
.hero { min-height: 350px; margin: 1.25rem 0; padding: clamp(1.4rem,4vw,3rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(190px, .8fr); align-items: center; gap: 2rem; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.hero-copy { max-width: 660px; }
.eyebrow { margin: 0 0 .6rem; color: var(--eyebrow); font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.hero h1 { margin: .25rem 0 1rem; font: 400 clamp(2.2rem,5vw,3.6rem)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.hero-copy > p { max-width: 610px; margin: .45rem 0; color: var(--ink); }
.welcome-question { color: var(--navy) !important; font-size: 1.2rem; font-weight: 700; }
.hero-copy > label { display: block; margin: .9rem 0 .35rem; font-size: .9rem; font-weight: 700; }
.hero-copy > label span { color: var(--ink); font-weight: 400; }
input[type=text], .hero-copy input, .short-draft { width: min(100%, 420px); min-height: 46px; padding: .7rem .8rem; border: 1px solid var(--ink); border-radius: 9px; background: #fffefa; color: var(--navy); }
.hero-copy button { margin-top: .75rem; }
.hero-art { width: 100%; min-height: 0; margin: 0; aspect-ratio: 1.18 / 1; max-height: 300px; border: 1px solid var(--navy); border-radius: 20px; background: var(--prepare); overflow: hidden; }
.hero-art img, .scene-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-art img { object-position: 45% center; }
.step-nav { margin: 0 0 1.3rem; padding: .8rem 0; display: flex; justify-content: space-between; gap: .35rem; border-block: 1px solid var(--line); }
.step-nav span { padding: .34rem .6rem; border-radius: 99px; color: var(--ink); font-size: .79rem; }
.step-nav span[aria-current=step] { background: var(--navy); color: #fff; font-weight: 700; }
.step-nav span.complete:before { content: "✓ "; font-weight: 700; }
.flow-card { margin-bottom: 2rem; padding: clamp(1.1rem,3vw,1.75rem); border: 1px solid var(--ink); border-top: 5px solid var(--gold); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.flow-card[data-experience="prepare"] { border-top-color: #627e98; }
.flow-card[data-experience="practise"] { border-top-color: #557d61; }
.flow-card[data-experience="connect"] { border-top-color: #95684f; }
.flow-card[data-experience="prepare"] .flow-intro { background: var(--prepare); }
.flow-card[data-experience="practise"] .flow-intro { background: var(--practise); }
.flow-card[data-experience="connect"] .flow-intro { background: var(--connect); }
.flow-intro { margin: -.15rem -.15rem 1rem; padding: .9rem 1rem; border-radius: 12px; }
.flow-card h2 { margin: .15rem 0 .8rem; font: 400 1.8rem/1.2 Georgia, "Times New Roman", serif; }
.flow-card h3 { margin: .1rem 0 .5rem; font: 400 1.3rem/1.3 Georgia, "Times New Roman", serif; }
.flow-card p { color: var(--ink); }
.choice-grid { margin: 1rem 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.goal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.choice-button { min-height: 64px; padding: .9rem 1rem; border: 2px solid #657487; background: var(--paper); color: var(--navy); text-align: left; font-weight: 600; line-height: 1.45; }
.choice-button:hover, .choice-button[aria-pressed=true] { border-color: var(--navy); background: var(--gold-pale); color: var(--navy); }
.goal-card { min-height: 102px; position: relative; padding: .95rem 3rem .9rem 1rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .2rem; }
.goal-card[data-experience="prepare"] { background: var(--prepare); }
.goal-card[data-experience="practise"] { background: var(--practise); }
.goal-card[data-experience="connect"] { background: var(--connect); }
.goal-card:hover { filter: brightness(.97); }
.goal-label { color: var(--navy); }
.goal-meta { color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.goal-arrow { position: absolute; top: 50%; right: 1rem; transform: translateY(-50%); color: var(--navy); font-size: 1.4rem; }
.step-actions { margin-top: 1.1rem; display: flex; justify-content: space-between; gap: .65rem; flex-wrap: wrap; }
.quiet-button { border: 2px solid #657487; background: transparent; color: var(--navy); }
.quiet-button:hover { border-color: var(--navy); background: var(--gold-pale); color: var(--navy); }
.guidance-banner { margin: .8rem 0; padding: 1rem 1.1rem; border: 1px solid #657487; border-left: 5px solid var(--gold); border-radius: 12px; background: var(--prepare); }
.flow-card[data-experience="practise"] .guidance-banner { background: var(--practise); }
.flow-card[data-experience="connect"] .guidance-banner { background: var(--connect); }
.guidance-banner p { margin: .2rem 0; }
.principle-note { font-weight: 700; }
.example-list { margin: 1rem 0; display: grid; gap: .7rem; }
.example { padding: .9rem 1rem; border: 1px solid #657487; border-radius: 12px; background: var(--paper); }
.example p { margin: .2rem 0; }
.scene-art { width: 100%; max-width: 700px; aspect-ratio: 16 / 9; max-height: 300px; margin: .9rem 0 1rem; border: 1px solid var(--navy); border-radius: 14px; background: var(--paper); overflow: hidden; }
.scene-art-a img { object-position: center 46%; }
.scene-art-b img { object-position: center 48%; }
.scene-art-c img { object-position: center 47%; }
.scene-art-d { max-width: 440px; max-height: 220px; }
.scene-art-d img { object-position: center 45%; }
.practice-scene { padding: .8rem 0; }
.feedback { margin: .8rem 0; padding: 1rem 1.1rem; border: 1px solid #657487; border-left: 5px solid var(--gold); border-radius: 12px; background: var(--practise); }
.feedback p { margin: .2rem 0; }
.pitch-warning { border-left-color: #8e5c48; background: var(--connect); }
.action-options { margin: 1rem 0; display: grid; gap: .6rem; }
.small-action { min-height: 48px; padding: .75rem; display: flex; align-items: flex-start; gap: .7rem; border: 1px solid #657487; border-radius: 10px; background: var(--paper); cursor: pointer; }
.small-action:has(input:checked) { border: 2px solid var(--navy); background: var(--practise); font-weight: 700; }
.small-action:has(input:checked)::after { content: "Selected"; margin-left: auto; color: var(--navy); font-size: .8rem; font-weight: 700; }
.small-action input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--navy); }
.completion { margin-top: 1rem; padding-top: .8rem; border-top: 2px solid var(--navy); }
.prompt-panel { margin: 1rem 0; padding: 1rem; border: 1px solid #657487; border-radius: 14px; background: var(--ai); }
.prompt-panel h3 { margin: 0 0 .3rem; }
.prompt-box { width: 100%; min-height: 150px; padding: .8rem; border: 1px solid var(--ink); border-radius: 9px; background: #fffefa; color: var(--ink); resize: vertical; font: .9rem/1.5 Arial,Helvetica,sans-serif; }
.privacy-note { padding: .7rem .8rem; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: .9rem; }
.copy-status { min-height: 1.5em; font-weight: 700; }
.error { color: #854d43 !important; }
footer { max-width: 1120px; margin: 0 auto; padding: 1rem 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .85rem; }
footer p { margin: 0; }
@media (max-width: 720px) {
  .site-header { padding: .8rem 1rem; }
  .header-note { max-width: 160px; font-size: .75rem; }
  main { padding: 0 1rem; }
  .hero { min-height: 0; grid-template-columns: minmax(0,1fr) minmax(120px,.55fr); gap: 1rem; padding: 1.25rem; }
  .hero-art { min-height: 0; }
  .step-nav { justify-content: center; flex-wrap: wrap; }
  .step-nav span { flex: 0 1 auto; text-align: center; white-space: normal; }
  .flow-card { padding: 1.1rem; }
  .goal-grid, .choice-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; padding: 1rem; }
}
@media (max-width: 390px) {
  .hero { grid-template-columns: minmax(0,1fr); }
  .hero-art { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .step-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .step-nav span { padding: .35rem .25rem; font-size: .72rem; }
  .step-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
