:root {
  --violet: #552878;
  --violet-dark: #2e153d;
  --violet-soft: #7b4c97;
  --gold: #f3c34f;
  --ivory: #fbf7ef;
  --paper: #fffdf9;
  --ink: #1c1722;
  --muted: #6d6571;
  --line: rgba(46, 21, 61, .15);
  --white: #fff;
  --shadow: 0 24px 70px rgba(46, 21, 61, .13);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: "Manrope", system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(3.6rem, 7.8vw, 7.8rem); }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
h3 { font-size: 1.4rem; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--violet-dark); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.identity-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: auto; padding: 24px; color: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-size: .9rem; }
.brand small { margin-top: 3px; color: rgba(255,255,255,.58); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.identity-header nav { display: flex; gap: 24px; }
.identity-header nav a { color: rgba(255,255,255,.72); font-size: .75rem; font-weight: 700; text-decoration: none; }
.identity-header nav a:hover { color: var(--gold); }

.identity-hero { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 8vw, 120px); min-height: 100svh; padding: 140px max(24px, calc((100vw - var(--max)) / 2)) 100px; overflow: hidden; background: radial-gradient(circle at 80% 24%, rgba(243,195,79,.16), transparent 24%), var(--violet-dark); color: var(--white); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin-bottom: 18px; color: var(--violet); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.identity-hero .eyebrow { color: var(--gold); }
.identity-hero h1 { max-width: 860px; margin-bottom: 28px; }
.identity-hero h1 em { color: var(--gold); font-family: "Source Serif 4", Georgia, serif; font-weight: 500; }
.identity-hero .hero-copy > p:not(.eyebrow):not(.status-line) { max-width: 680px; color: rgba(255,255,255,.7); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-size: .78rem; font-weight: 800; text-decoration: none; }
.button-gold { background: var(--gold); color: var(--violet-dark); }
.button-outline { border-color: rgba(255,255,255,.25); color: var(--white); }
.button-dark { background: var(--violet-dark); color: var(--white); }
.status-line { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: rgba(255,255,255,.56); font-size: .72rem; }
.status-line span { padding: 5px 9px; border: 1px solid rgba(243,195,79,.38); border-radius: 999px; color: var(--gold); font-weight: 800; }
.hero-mark { position: relative; z-index: 1; display: grid; place-items: center; min-height: 580px; }
.hero-mark img { position: relative; z-index: 2; width: min(420px, 78%); filter: drop-shadow(0 28px 50px rgba(0,0,0,.24)); }
.hero-mark p { position: absolute; right: 0; bottom: 20px; z-index: 2; max-width: 230px; color: rgba(255,255,255,.55); font-size: .76rem; }
.hero-mark p strong { display: block; color: var(--gold); }
.orbit { position: absolute; border: 1px solid rgba(243,195,79,.22); border-radius: 50%; }
.orbit-one { width: 540px; height: 540px; }
.orbit-two { width: 360px; height: 360px; border-color: rgba(255,255,255,.12); }

.chapter-nav { display: grid; grid-template-columns: repeat(6, 1fr); max-width: var(--max); margin: -34px auto 0; position: relative; z-index: 5; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.chapter-nav a { min-height: 76px; padding: 17px; border-right: 1px solid var(--line); color: var(--violet-dark); font-size: .72rem; font-weight: 800; text-decoration: none; }
.chapter-nav a:last-child { border-right: 0; }
.chapter-nav span { display: block; margin-bottom: 3px; color: var(--violet-soft); font-size: .62rem; }

.guide-section { padding: clamp(95px, 12vw, 165px) max(24px, calc((100vw - var(--max)) / 2)); scroll-margin-top: 20px; }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; align-items: end; gap: 50px; margin-bottom: 60px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2 { margin-bottom: 0; color: var(--violet-dark); }
.section-heading.narrow { display: block; max-width: 760px; }
.section-heading.narrow h2 { margin-bottom: 24px; }
.section-heading.narrow > p:last-child { color: var(--muted); font-size: 1.08rem; }

.essence-section { background: var(--ivory); }
.message-stack { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.message-card { min-height: 290px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.message-card > span, .subheading { color: var(--violet); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.message-card p { margin-top: 46px; color: var(--muted); }
.message-primary { background: var(--violet); color: var(--white); }
.message-primary > span { color: var(--gold); }
.message-primary blockquote { margin: 52px 0 0; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.65rem, 2.7vw, 2.8rem); line-height: 1.15; }
.principle-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.principle-strip span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--violet-dark); font-size: .7rem; font-weight: 700; }

.voice-section { background: var(--paper); }
.voice-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.voice-grid article { min-height: 270px; padding: 28px; border-right: 1px solid var(--line); }
.voice-grid article:last-child { border-right: 0; }
.voice-number { color: var(--violet-soft); font-size: .65rem; font-weight: 800; }
.voice-grid h3 { margin-top: 70px; color: var(--violet-dark); }
.voice-grid p { color: var(--muted); font-size: .88rem; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 45px; }
.do-dont article { padding: 30px; border-radius: 22px; }
.do-dont span { display: block; margin-bottom: 28px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.do-card { background: #eee7f2; color: var(--violet-dark); }
.dont-card { background: #f3eee8; color: #5c4339; }
.do-dont p:last-child { margin-bottom: 0; }

.visual-section { background: var(--ivory); }
.symbol-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.symbol-stage { display: grid; place-items: center; min-height: 500px; border-radius: 32px; background: var(--violet-dark); }
.symbol-stage img { width: min(340px, 68%); }
.symbol-story dl { margin: 0; }
.symbol-story dl div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.symbol-story dl div:last-child { border-bottom: 1px solid var(--line); }
.symbol-story dt { color: var(--violet-dark); font-weight: 800; }
.symbol-story dd { margin: 0; color: var(--muted); }
.subheading { margin: 85px 0 24px; }
.color-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.color-card { display: flex; flex-direction: column; min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; }
.color-card span { font-size: .72rem; font-weight: 800; }
.color-card strong { margin-top: auto; font-size: 1.5rem; letter-spacing: -.04em; }
.color-card small { opacity: .7; }
.violet { background: #552878; color: white; }.violet-dark { background: #2e153d; color: white; }.gold { background: #f3c34f; color: #2e153d; }.ivory { background: #fbf7ef; color: #1c1722; }.paper { background: #fffdf9; color: #1c1722; }.ink { background: #1c1722; color: white; }
.type-layout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 70px; }
.type-card { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.type-card > span { color: var(--violet); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.type-card p { margin: 55px 0 28px; color: var(--violet-dark); font-size: clamp(1.6rem, 3vw, 3rem); line-height: 1.12; }
.type-card small { color: var(--muted); }
.serif-card p { font-family: "Source Serif 4", Georgia, serif; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.rules-grid article { padding: 34px; border-radius: 24px; background: var(--paper); }
.rule-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 1.4rem; font-weight: 800; }
.rule-mark.yes { background: #e5eddf; color: #31532d; }.rule-mark.no { background: #f0dedd; color: #7b302b; }
.rules-grid h3 { margin-top: 50px; color: var(--violet-dark); }
.rules-grid p { color: var(--muted); }

.application-section { background: var(--paper); }
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.application-grid article { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; }
.application-grid span { color: var(--violet-soft); font-size: .65rem; font-weight: 800; }
.application-grid h3 { margin-top: 62px; color: var(--violet-dark); }
.application-grid p { color: var(--muted); font-size: .86rem; }
.asset-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 100px); margin-top: 80px; padding: clamp(30px, 5vw, 60px); border-radius: 32px; background: var(--violet-dark); color: var(--white); }
.asset-panel h3 { font-size: clamp(1.8rem, 3vw, 3rem); }
.asset-panel > div > p:last-child { color: rgba(255,255,255,.6); }
.asset-links { display: grid; align-content: center; }
.asset-links a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.82); font-size: .78rem; font-weight: 700; text-decoration: none; }
.asset-links a:hover { color: var(--gold); }

.tools-section { background: #ede2f0; }
.context-card { overflow: hidden; border: 1px solid rgba(46,21,61,.18); border-radius: 24px; background: #170b20; box-shadow: var(--shadow); }
.context-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: .72rem; }
.context-toolbar div { display: flex; gap: 8px; }
.context-toolbar a, .context-toolbar button { min-height: 36px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: transparent; color: var(--white); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.context-toolbar button { border-color: var(--gold); background: var(--gold); color: var(--violet-dark); }
.context-card pre { max-height: 490px; margin: 0; padding: 28px; overflow: auto; color: #eee4f2; font: .76rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.copy-status { min-height: 24px; margin: 0; padding: 0 28px 10px; color: var(--gold); font-size: .72rem; }
.prompt-recipe { margin-top: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.48); }
.prompt-recipe > span { color: var(--violet); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.prompt-recipe code { display: block; margin: 16px 0; color: var(--violet-dark); font-size: clamp(1rem, 2vw, 1.45rem); font-weight: 800; }
.prompt-recipe p { margin-bottom: 0; color: var(--muted); }

.open-section { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(50px, 9vw, 120px); align-items: center; background: var(--gold); }
.open-copy h2 { color: var(--violet-dark); }
.open-copy > p:not(.eyebrow) { color: rgba(46,21,61,.72); font-size: 1.06rem; }
.open-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.text-link { color: var(--violet-dark); font-size: .76rem; font-weight: 800; text-decoration: none; }
.change-levels { margin: 0; padding: 0; list-style: none; }
.change-levels li { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(46,21,61,.2); }
.change-levels li:last-child { border-bottom: 1px solid rgba(46,21,61,.2); }
.change-levels > li > span { color: var(--violet); font-size: .68rem; font-weight: 800; }
.change-levels strong { color: var(--violet-dark); }
.change-levels p { margin: 4px 0 0; color: rgba(46,21,61,.67); font-size: .85rem; }

.identity-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; padding: 44px max(24px, calc((100vw - var(--max)) / 2)); background: #170b20; color: rgba(255,255,255,.6); }
.identity-footer p { margin: 0; font-size: .75rem; }
.identity-footer > div { display: flex; gap: 18px; }
.identity-footer > div a { color: var(--gold); font-size: .72rem; font-weight: 700; text-decoration: none; }

@media (max-width: 980px) {
  .identity-header nav { display: none; }
  .identity-hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-mark { min-height: 460px; }
  .chapter-nav { grid-template-columns: repeat(3, 1fr); margin: -24px 20px 0; }
  .chapter-nav a:nth-child(3) { border-right: 0; }
  .chapter-nav a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .message-stack { grid-template-columns: 1fr 1fr; }
  .message-primary { grid-column: 1 / -1; }
  .voice-grid, .application-grid { grid-template-columns: 1fr 1fr; }
  .voice-grid article:nth-child(2) { border-right: 0; }
  .voice-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .symbol-story { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: 1fr 1fr; }
  .open-section { grid-template-columns: 1fr; }
  .identity-footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .identity-header { padding: 18px 20px; }
  .identity-hero { padding-left: 20px; padding-right: 20px; }
  .identity-hero h1 { font-size: clamp(3.15rem, 17vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .status-line { align-items: flex-start; flex-direction: column; }
  .hero-mark { min-height: 360px; }
  .hero-mark p { position: relative; bottom: auto; text-align: center; }
  .orbit-one { width: 360px; height: 360px; }.orbit-two { width: 250px; height: 250px; }
  .chapter-nav { display: flex; overflow-x: auto; }
  .chapter-nav a { flex: 0 0 145px; border-right: 1px solid var(--line); border-bottom: 0 !important; }
  .message-stack, .voice-grid, .do-dont, .color-grid, .type-layout-grid, .rules-grid, .application-grid, .asset-panel { grid-template-columns: 1fr; }
  .message-primary { grid-column: auto; }
  .voice-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .voice-grid article:last-child { border-bottom: 0; }
  .symbol-stage { min-height: 360px; }
  .symbol-story dl div { grid-template-columns: 1fr; gap: 4px; }
  .asset-panel { padding: 28px 22px; }
  .context-toolbar { align-items: flex-start; flex-direction: column; }
  .context-card pre { padding: 22px 18px; }
  .open-actions { align-items: stretch; flex-direction: column; }
  .identity-footer > div { flex-direction: column; gap: 8px; }
}

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