:root {
  --ink: #11110f;
  --paper: #f4f1e9;
  --acid: #d7ff43;
  --violet: #7557ff;
  --orange: #ff5b35;
  --line: rgba(17, 17, 15, .2);
  --muted: #696861;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, "Microsoft YaHei", sans-serif;
  --canvas-max: 1280px;
  --section-pad: max(7vw, calc(50vw - 560px));
  --header-pad: max(4vw, calc(50vw - 600px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}
button, input, select { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 99; padding: 10px 14px; background: var(--acid); color: var(--ink); }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.site-header {
  min-height: 76px;
  padding: 0 var(--header-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
  background: rgba(244, 241, 233, .94);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 14px; letter-spacing: .11em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: flex; align-items: end; gap: 3px; width: 29px; height: 28px; transform: rotate(-8deg); }
.brand-mark i { display: block; width: 7px; background: currentColor; border-radius: 50% 50% 1px 1px; }
.brand-mark i:nth-child(1) { height: 14px; }
.brand-mark i:nth-child(2) { height: 25px; background: var(--violet); }
.brand-mark i:nth-child(3) { height: 19px; }
.site-header nav { display: flex; align-items: center; gap: 18px; }
.site-header nav a { font-size: 12px; font-weight: 700; text-decoration: none; }
.site-header nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 11px 17px; color: white; background: var(--ink); }

.hero { width: min(100%, var(--canvas-max)); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; position: relative; border: 0 solid var(--ink); border-width: 0 1px 1px; }
.hero-copy { padding: clamp(48px, 5vw, 72px) clamp(22px, 4vw, 64px) clamp(46px, 4vw, 60px) clamp(22px, 6vw, 82px); position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.eyebrow > span { width: 27px; height: 2px; background: var(--orange); }
.eyebrow.light { color: rgba(255,255,255,.72); }
.eyebrow.light > span { background: var(--acid); }
.hero h1, .section-intro h2, .method-section h2, .proof-copy h2, .faq-section h2, .legal-page h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .91;
}
.hero h1 { margin: 0; font-size: clamp(64px, 6.5vw, 94px); }
.hero h1 em { color: var(--violet); font-weight: 400; }
.hero-lede { max-width: 590px; margin: 24px 0 0 10%; font-size: clamp(16px, 1.3vw, 19px); color: #42413c; }
.hero-actions { margin: 28px 0 0 10%; display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-width: 215px; padding: 16px 18px; font-weight: 800; font-size: 13px; text-decoration: none; border: 1px solid var(--ink); transition: transform .2s, background .2s; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--violet); }
.button-dark { color: #fff; background: var(--ink); }
.text-link { font-size: 13px; font-weight: 800; text-underline-offset: 5px; }
.hero-art { min-height: 540px; position: relative; overflow: hidden; background: var(--acid); border-left: 1px solid var(--ink); }
.hero-art::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(rgba(17,17,15,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,15,.08) 1px, transparent 1px); background-size: 32px 32px; }
.orb { position: absolute; z-index: 3; border: 1px solid var(--ink); border-radius: 50%; }
.orb-main { left: 50%; top: 48%; width: clamp(240px, 29vw, 450px); aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--violet); color: white; display: flex; align-items: center; justify-content: center; gap: 9px; box-shadow: inset -35px -30px 80px rgba(0,0,0,.15), 16px 18px 0 rgba(17,17,15,.12); }
.orb-main::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.orb-main span, .orb-main b { z-index: 2; font-size: 10px; letter-spacing: .16em; }
.orbit { position: absolute; left: 50%; top: 48%; border: 1px solid rgba(17,17,15,.4); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.orbit-one { width: 84%; height: 42%; }
.orbit-two { width: 52%; height: 75%; transform: translate(-50%, -50%) rotate(32deg); }
.signal-card { position: absolute; z-index: 5; width: 155px; padding: 14px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 5px 5px 0 var(--ink); }
.signal-card small { display: block; margin-bottom: 15px; font-size: 9px; letter-spacing: .16em; }
.signal-card strong { display: block; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.signal-card span { font-size: 10px; }
.signal-a { left: 8%; top: 17%; transform: rotate(-5deg); }
.signal-b { right: 7%; bottom: 14%; transform: rotate(6deg); background: #fff; }
.coordinates { position: absolute; right: 22px; top: 22px; text-align: right; font: 700 9px/1.5 monospace; letter-spacing: .08em; }
.hero-index { position: absolute; left: 2.2vw; bottom: 16px; font-size: 10px; font-weight: 800; writing-mode: vertical-rl; }
.hero-index strong { font-size: 23px; margin-top: 6px; }

.generator-section { color: #fff; background: var(--ink); padding: 105px var(--section-pad) 110px; }
.section-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 8vw, 120px); margin-bottom: 70px; }
.section-intro h2 { margin: 0; font-size: clamp(55px, 7vw, 105px); }
.section-intro > p { max-width: 520px; align-self: end; margin: 0 0 8px; color: #aaa9a2; font-size: 17px; }
.generator-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #4a4945; }
.field { padding: 25px 24px 30px 0; border-bottom: 1px solid #4a4945; }
.field:nth-child(even) { padding-left: 30px; border-left: 1px solid #4a4945; }
.field-wide { grid-column: span 2; }
.field-wide:nth-child(even) { padding-left: 0; border-left: 0; }
.field label, .field legend { display: block; margin-bottom: 16px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.field label > span, .field legend > span { margin-right: 10px; color: var(--acid); font: 700 10px monospace; }
.field label small { color: #777670; font-weight: 500; }
.field input[type="text"], .field select { width: 100%; height: 58px; padding: 0; border: 0; border-bottom: 1px solid #787770; border-radius: 0; color: #fff; background: transparent; font-size: clamp(20px, 2.2vw, 31px); }
.field input::placeholder { color: #5f5e59; }
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--acid) 50%), linear-gradient(135deg, var(--acid) 50%, transparent 50%); background-position: calc(100% - 16px) 27px, calc(100% - 9px) 27px; background-size: 7px 7px; background-repeat: no-repeat; }
.field select option { color: var(--ink); background: #fff; }
.field-hint { margin: 9px 0 0; color: #777670; font-size: 11px; }
.tone-field { margin: 0; padding: 25px 0 30px; border: 0; border-bottom: 1px solid #4a4945; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.choice-grid label { margin: 0; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid label > span { display: flex; min-height: 92px; margin: 0; padding: 17px; flex-direction: column; justify-content: space-between; border: 1px solid #4a4945; color: #c3c2bc; font-size: 15px; letter-spacing: 0; transition: .2s; }
.choice-grid label small { color: #777670; font: 700 9px monospace; letter-spacing: .15em; }
.choice-grid input:checked + span { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.choice-grid input:checked + span small { color: #545543; }
.choice-grid input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.generate-button { grid-column: span 2; width: 100%; margin-top: 34px; padding: 23px 24px; display: flex; justify-content: space-between; border: 1px solid var(--acid); color: var(--ink); background: var(--acid); cursor: pointer; font-size: 17px; font-weight: 800; transition: background .2s; }
.generate-button b { font-size: 27px; line-height: 1; }
.generate-button:hover { background: white; }
.noscript-box { margin-top: 30px; padding: 20px; color: var(--ink); background: var(--acid); }

.results-section { padding: 95px var(--section-pad); border-bottom: 1px solid var(--ink); }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 45px; }
.results-head h2 { margin: 0; font: 400 clamp(55px, 7vw, 100px)/.95 var(--serif); letter-spacing: -.055em; }
.results-head p { color: var(--muted); }
.results-actions { display: flex; gap: 8px; }
.ghost-button { padding: 11px 14px; border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; text-decoration: none; }
.ghost-button:hover:not(:disabled) { color: #fff; background: var(--ink); }
.ghost-button:disabled { opacity: .4; cursor: not-allowed; }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.name-card { min-height: 330px; padding: 25px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(255,255,255,.28); transition: background .2s, transform .2s; }
.name-card:nth-child(5n + 1) { background: #ebe6ff; }
.name-card:nth-child(5n + 3) { background: #effbc5; }
.name-card:hover { position: relative; z-index: 2; transform: translateY(-4px); box-shadow: 0 6px 0 var(--ink); }
.card-top { display: flex; justify-content: space-between; align-items: start; }
.card-index { color: var(--muted); font: 700 10px monospace; }
.save-button { width: 35px; height: 35px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; font-size: 18px; }
.save-button:hover, .save-button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.name-card h3 { margin: 25px 0 38px; font: 400 clamp(30px, 3vw, 46px)/1 var(--serif); letter-spacing: -.04em; overflow-wrap: anywhere; }
.card-detail { margin-top: auto; display: grid; gap: 19px; }
.card-detail p { margin: 0; font-size: 13px; }
.card-detail small { display: block; margin-bottom: 5px; color: var(--muted); font: 700 9px monospace; letter-spacing: .12em; }
.card-actions { display: flex; gap: 8px; margin-top: 20px; }
.copy-button { padding: 7px 10px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; }
.copy-button:hover { background: #fff; }
.matcher-card { position: relative; min-height: 285px; padding: 24px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); color: var(--ink); background: rgba(255,255,255,.28); text-decoration: none; transition: color .2s, background .2s, transform .2s; }
.matcher-card:nth-child(3n + 1) { background: #ebe6ff; }
.matcher-card:nth-child(3n + 3) { background: #effbc5; }
.matcher-card:hover { z-index: 2; color: #fff; background: var(--violet); transform: translateY(-4px); box-shadow: 0 6px 0 var(--ink); }
.matcher-card small { padding-right: 38px; color: var(--muted); font: 700 9px/1.4 monospace; letter-spacing: .1em; }
.matcher-card:hover small { color: #ded7ff; }
.matcher-arrow { position: absolute; right: 23px; top: 20px; font-size: 25px; }
.matcher-card h3 { max-width: 90%; margin: 44px 0 18px; font: 400 clamp(29px, 3vw, 43px)/1 var(--serif); letter-spacing: -.04em; }
.matcher-card p { margin: 0 0 26px; color: var(--muted); font-size: 13px; }
.matcher-card:hover p { color: #f0edff; }
.matcher-card strong { margin-top: auto; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.matcher-fallback { grid-column: 1 / -1; }
.results-note { margin-top: 25px; display: flex; gap: 14px; max-width: 800px; }
.results-note > span { flex: 0 0 auto; width: 25px; height: 25px; border: 1px solid var(--ink); border-radius: 50%; text-align: center; font-weight: 800; }
.results-note p { margin: 1px 0; color: var(--muted); font-size: 12px; }
.results-note strong { color: var(--ink); }

.method-section { padding: 105px var(--section-pad); background: #dad4f8; border-bottom: 1px solid var(--ink); }
.method-title-wrap { display: flex; justify-content: space-between; align-items: end; margin-bottom: 70px; }
.method-section h2 { margin: 0; text-align: right; font-size: clamp(55px, 7vw, 105px); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.method-grid article { min-height: 390px; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); position: relative; }
.method-num { font: 700 10px monospace; }
.method-icon { height: 120px; margin: 42px 0 35px; position: relative; }
.icon-wave { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: repeating-radial-gradient(ellipse at center, transparent 0 9px, var(--ink) 10px 11px, transparent 12px 20px); }
.icon-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 82px; height: 82px; background: var(--orange); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 25px -15px 0 var(--acid); }
.icon-frame::before, .icon-frame::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; border: 1px solid var(--ink); transform: translate(-50%, -50%) rotate(12deg); }
.icon-frame::after { transform: translate(-50%, -50%) rotate(45deg); border-radius: 50%; }
.method-grid h3 { margin: 0 0 12px; font: 400 31px var(--serif); }
.method-grid p { margin: 0; color: #4c4a53; font-size: 14px; }

.proof-section { width: min(100%, var(--canvas-max)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 670px; border: 0 solid var(--ink); border-width: 0 1px 1px; }
.proof-card { padding: 70px 6vw; color: #fff; background: var(--violet); position: relative; overflow: hidden; }
.proof-card::before { content: ""; position: absolute; right: -15%; top: 8%; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.06), 0 0 0 110px rgba(255,255,255,.06); }
.display-name { position: relative; margin: 120px 0 95px; font: italic 400 clamp(54px, 7vw, 110px)/1 var(--serif); letter-spacing: -.07em; }
.proof-lines { position: relative; display: grid; gap: 19px; border-top: 1px solid rgba(255,255,255,.4); padding-top: 24px; }
.proof-lines p { margin: 0; font-size: 13px; }
.proof-lines small { display: inline-block; width: 145px; font: 700 9px monospace; letter-spacing: .12em; opacity: .7; }
.proof-copy { padding: 110px 7vw; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.proof-copy h2 { margin: 0; font-size: clamp(55px, 7vw, 105px); }
.proof-copy > p:not(.eyebrow) { max-width: 500px; margin: 35px 0; color: var(--muted); font-size: 17px; }

.faq-section { padding: 105px var(--section-pad); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 7vw, 110px); }
.faq-section h2 { margin: 0; font-size: clamp(55px, 6vw, 90px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 22px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -4px 50px 25px 0; color: var(--muted); font-size: 14px; }

footer { padding: 68px var(--section-pad) 25px; color: #fff; background: var(--ink); }
.footer-top { min-height: 220px; display: flex; justify-content: space-between; align-items: start; }
.footer-top > p { margin: 0; text-align: right; font: 400 clamp(31px, 4vw, 61px)/1 var(--serif); letter-spacing: -.04em; }
.brand-light { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid #4a4945; color: #8a8983; font-size: 11px; }
.footer-bottom nav { display: flex; gap: 25px; }
.footer-bottom a { text-underline-offset: 4px; }
.footer-bottom p { margin: 0; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; padding: 12px 16px; color: #fff; background: var(--ink); transform: translateY(80px); opacity: 0; transition: .25s; pointer-events: none; font-size: 12px; }
.toast.show { transform: translateY(0); opacity: 1; }

.legal-main { min-height: 70vh; }
.legal-hero { padding: 95px var(--section-pad) 55px; border-bottom: 1px solid var(--ink); background: #dad4f8; }
.legal-page h1 { margin: 0; max-width: 900px; font-size: clamp(58px, 9vw, 130px); }
.legal-page h1 em { color: var(--violet); font-weight: 400; }
.legal-content { width: min(820px, 86vw); margin: 0 auto; padding: 75px 0 105px; }
.legal-content .lede { margin: 0 0 55px; font: 400 25px/1.45 var(--serif); }
.legal-content h2 { margin: 48px 0 14px; font: 400 30px var(--serif); }
.legal-content h3 { margin: 28px 0 9px; font-size: 16px; }
.legal-content p, .legal-content li { color: #4e4d47; }
.legal-content a { text-underline-offset: 4px; }
.legal-content .notice { padding: 20px; border: 1px solid var(--ink); background: var(--acid); color: var(--ink); }
.back-link { display: inline-block; margin-top: 45px; font-weight: 800; }
.not-found { min-height: 75vh; padding: 100px 7vw; display: grid; place-items: center; text-align: center; background: var(--acid); }
.not-found strong { display: block; font: italic 400 clamp(110px, 25vw, 330px)/.7 var(--serif); color: var(--violet); }
.not-found h1 { margin: 45px 0 12px; font: 400 42px var(--serif); }

@media (max-width: 900px) {
  .site-header nav > a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; padding: 58px 8vw 50px; }
  .hero-art { min-height: 360px; border-left: 0; border-top: 1px solid var(--ink); }
  .section-intro, .faq-section { grid-template-columns: 1fr; gap: 50px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .method-title-wrap { display: block; }
  .method-section h2 { text-align: left; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 300px; }
  .method-icon { height: 80px; margin: 20px 0; }
  .proof-section { grid-template-columns: 1fr; }
  .proof-card, .proof-copy { min-height: 620px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; padding: 0 18px; }
  .nav-cta { padding: 9px 11px; font-size: 11px; }
  .hero { min-height: auto; }
  .hero-copy { min-height: auto; padding: 32px 22px 30px; }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(52px, 16vw, 68px); }
  .hero-lede, .hero-actions { margin-left: 0; }
  .hero-lede { margin-top: 18px; font-size: 14px; line-height: 1.4; }
  .hero-actions { margin-top: 20px; align-items: start; flex-direction: column; gap: 10px; }
  .hero-actions .text-link { display: none; }
  .hero-art, .hero-index { display: none; }
  .signal-card { width: 132px; }
  .signal-a { left: 4%; top: 10%; }
  .signal-b { right: 4%; bottom: 8%; }
  .generator-section, .results-section, .method-section, .faq-section { padding: 54px 22px 70px; }
  .generator-section { padding-top: 38px; }
  .section-intro { gap: 20px; margin-bottom: 28px; }
  .section-intro h2 { font-size: 48px; line-height: .92; }
  .section-intro > p { font-size: 14px; line-height: 1.45; }
  .generator-form { grid-template-columns: 1fr; }
  .field, .field:nth-child(even), .field-wide, .generate-button { grid-column: 1; padding-left: 0; border-left: 0; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid label:last-child { grid-column: span 2; }
  .results-head { align-items: start; flex-direction: column; }
  .results-actions { width: 100%; }
  .ghost-button { flex: 1; }
  .results-grid { grid-template-columns: 1fr; }
  .matcher-card { min-height: 235px; }
  .name-card { min-height: 300px; }
  .method-grid { grid-template-columns: 1fr; }
  .proof-card, .proof-copy { min-height: 540px; padding: 70px 22px; }
  .display-name { margin: 100px 0 80px; }
  .proof-lines small { width: auto; display: block; margin-bottom: 5px; }
  .footer-top, .footer-bottom { flex-direction: column; gap: 35px; }
  .footer-top > p { text-align: left; }
  .footer-bottom nav { flex-wrap: wrap; }
  .legal-hero { padding: 75px 22px 45px; }
  .legal-content { width: calc(100% - 44px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Category architecture and specialised generators */
.catalog-main { background: var(--paper); }
.catalog-shell { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.catalog-hero { padding: clamp(58px, 7vw, 96px) 0 64px; border-bottom: 1px solid var(--ink); }
.catalog-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(38px, 7vw, 100px); align-items: end; }
.catalog-hero h1, .theme-hero h1, .article-hero h1 { max-width: 940px; margin: 0; font: 400 clamp(54px, 7vw, 104px)/.92 var(--serif); letter-spacing: -.062em; }
.catalog-hero h1 em, .theme-hero h1 em, .article-hero h1 em { color: var(--violet); font-weight: 400; }
.catalog-lede { max-width: 580px; margin: 0 0 8px; color: #4b4a45; font-size: clamp(16px, 1.4vw, 20px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs a { text-underline-offset: 4px; }
.catalog-section { padding: 76px 0; border-bottom: 1px solid var(--ink); }
.catalog-section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr); gap: 45px; align-items: end; margin-bottom: 42px; }
.catalog-section-head h2, .content-block h2, .theme-results-head h2 { margin: 0; font: 400 clamp(40px, 5vw, 70px)/.95 var(--serif); letter-spacing: -.052em; }
.catalog-section-head p { max-width: 620px; margin: 0; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.category-card { min-height: 320px; padding: 22px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.category-card:nth-child(1) { background: #d9ff52; }
.category-card:nth-child(2) { background: #e4ddff; }
.category-card:nth-child(3) { background: #ffc7b8; }
.category-card:nth-child(4) { background: #ccece5; }
.category-card:nth-child(5) { background: #ffe59d; }
.category-card:hover { position: relative; z-index: 2; transform: translateY(-5px); box-shadow: 0 6px 0 var(--ink); }
.category-card small, .type-card small, .insight-card small { font: 700 9px monospace; letter-spacing: .13em; }
.category-card strong { margin: auto 0 16px; font: 400 30px/1 var(--serif); letter-spacing: -.035em; }
.category-card span { font-size: 12px; font-weight: 800; }
.category-card p { margin: 0 0 24px; color: #494842; font-size: 13px; }
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.type-card { min-height: 210px; padding: 22px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; background: rgba(255,255,255,.3); }
.type-card:hover { color: #fff; background: var(--ink); }
.type-card h2, .type-card h3 { margin: auto 0 10px; font: 400 27px/1.05 var(--serif); letter-spacing: -.035em; }
.type-card p { margin: 0; color: var(--muted); font-size: 12px; }
.type-card:hover p { color: #c6c4bb; }
.type-card .arrow { align-self: end; font-size: 20px; }
.catalog-band { padding: 68px 0; color: #fff; background: var(--ink); }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.insight-card { min-height: 240px; padding: 24px; display: flex; flex-direction: column; color: var(--ink); background: var(--paper); text-decoration: none; }
.insight-card:nth-child(2n) { background: #dad4f8; }
.insight-card h3 { margin: auto 0 16px; font: 400 29px/1.05 var(--serif); }
.insight-card p { margin: 0; color: var(--muted); font-size: 13px; }
.category-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.category-switcher a { padding: 10px 13px; border: 1px solid currentColor; font-size: 11px; font-weight: 800; text-decoration: none; }
.category-switcher a:hover { color: var(--ink); background: var(--acid); }

.theme-hero { padding: 24px 0 34px; border-bottom: 1px solid var(--ink); }
.theme-hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: clamp(40px, 7vw, 100px); align-items: end; }
.theme-hero h1 { font-size: clamp(46px, 5.2vw, 74px); }
.theme-hero-copy { padding-bottom: 8px; }
.theme-hero-copy > p { max-width: 560px; margin: 0 0 4px; color: var(--muted); font-size: 15px; }
.theme-signal { min-height: 330px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--ink); background: var(--theme-color, var(--acid)); box-shadow: 9px 9px 0 var(--ink); }
.theme-signal small { font: 700 9px monospace; letter-spacing: .14em; }
.theme-signal strong { margin: auto 0 18px; font: italic 400 clamp(42px, 5vw, 68px)/.9 var(--serif); letter-spacing: -.05em; }
.theme-signal p { margin: 0; font-size: 13px; }
.theme-generator-section { padding: 46px 0 54px; color: #fff; background: var(--ink); }
.theme-generator-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; margin-bottom: 28px; align-items: end; }
.theme-generator-intro h2 { margin: 0; font: 400 clamp(39px, 4.4vw, 58px)/.95 var(--serif); letter-spacing: -.05em; }
.theme-generator-intro p { max-width: 610px; margin: 0; color: #aaa9a2; }
.theme-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #4a4945; }
.theme-field { padding: 17px 24px 19px 0; border-bottom: 1px solid #4a4945; }
.theme-field:nth-child(even) { padding-left: 28px; border-left: 1px solid #4a4945; }
.theme-field label { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.theme-field label span { margin-right: 8px; color: var(--acid); font: 700 10px monospace; }
.theme-field input, .theme-field select { width: 100%; height: 46px; padding: 0; border: 0; border-bottom: 1px solid #77756f; border-radius: 0; color: #fff; background: transparent; font-size: 18px; }
.theme-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--acid) 50%), linear-gradient(135deg, var(--acid) 50%, transparent 50%); background-position: calc(100% - 16px) 20px, calc(100% - 9px) 20px; background-size: 7px 7px; background-repeat: no-repeat; }
.theme-field select option { color: var(--ink); background: #fff; }
.theme-submit { grid-column: span 2; margin-top: 22px; padding: 17px 20px; display: flex; justify-content: space-between; border: 1px solid var(--acid); color: var(--ink); background: var(--acid); font-weight: 800; cursor: pointer; }
.theme-submit:hover { background: #fff; }
.theme-results { padding: 76px 0; border-bottom: 1px solid var(--ink); }
.theme-results-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 36px; }
.theme-results-head p { margin: 12px 0 0; color: var(--muted); }
.theme-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.theme-result-card { min-height: 345px; padding: 23px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(255,255,255,.3); }
.theme-result-card:nth-child(4n + 1) { background: #eeeaff; }
.theme-result-card:nth-child(4n + 3) { background: #effbc5; }
.theme-result-top { display: flex; justify-content: space-between; align-items: start; }
.theme-result-top > small { color: var(--muted); font: 700 10px monospace; }
.theme-result-card h3 { margin: 28px 0 auto; font: 400 clamp(29px, 3vw, 43px)/1 var(--serif); letter-spacing: -.04em; overflow-wrap: anywhere; }
.theme-result-card p { margin: 22px 0 0; font-size: 12px; }
.theme-result-card p small { display: block; margin-bottom: 5px; color: var(--muted); font: 700 9px monospace; letter-spacing: .1em; }
.content-section { padding: 78px 0; border-bottom: 1px solid var(--ink); }
.content-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(45px, 8vw, 110px); }
.content-block h2 { position: sticky; top: 22px; }
.content-copy { max-width: 720px; }
.content-copy > p:first-child { margin-top: 0; font: 400 24px/1.45 var(--serif); }
.content-copy h3 { margin: 40px 0 12px; font: 400 29px var(--serif); }
.content-copy p, .content-copy li { color: #4f4e48; }
.content-copy li + li { margin-top: 10px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card { min-height: 180px; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--ink); text-decoration: none; }
.related-card:hover { color: #fff; background: var(--violet); }
.related-card strong { margin-top: auto; font: 400 25px/1.05 var(--serif); }
.article-hero { padding: 58px 0 64px; border-bottom: 1px solid var(--ink); background: #dad4f8; }
.article-hero h1 { max-width: 1000px; }
.article-meta { margin-top: 24px; color: #56535f; font-size: 12px; font-weight: 800; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(45px, 8vw, 105px); padding: 72px 0 90px; }
.article-aside { font-size: 12px; font-weight: 800; }
.article-aside a { display: block; margin-top: 14px; text-underline-offset: 4px; }
.article-body h2 { margin: 50px 0 15px; font: 400 36px/1.05 var(--serif); }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: #4e4d47; font-size: 16px; line-height: 1.75; }
.article-note { margin: 34px 0; padding: 22px; border: 1px solid var(--ink); background: var(--acid); }

@media (max-width: 1000px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card:last-child { grid-column: span 2; }
  .theme-results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .catalog-shell { width: min(100% - 36px, 1120px); }
  .catalog-hero-grid, .theme-hero-grid, .catalog-section-head, .theme-generator-intro, .content-grid, .article-layout { grid-template-columns: 1fr; }
  .catalog-hero { padding: 28px 0 32px; }
  .theme-hero { padding: 12px 0 16px; }
  .catalog-hero .breadcrumbs, .theme-hero .breadcrumbs { margin-bottom: 16px; gap: 5px; font-size: 9px; }
  .catalog-hero .eyebrow { margin-bottom: 14px; }
  .theme-hero .eyebrow { display: none; }
  .catalog-hero h1, .article-hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .theme-hero h1 { font-size: clamp(34px, 10.8vw, 48px); }
  .catalog-lede, .theme-hero-copy > p { font-size: 14px; line-height: 1.45; }
  .theme-hero-copy { display: none; }
  .catalog-section, .content-section, .theme-results { padding: 58px 0; }
  .category-grid, .type-grid, .insight-grid, .related-grid { grid-template-columns: 1fr; }
  .category-card:last-child { grid-column: auto; }
  .category-card { min-height: 245px; }
  .type-card { min-height: 175px; }
  .theme-signal { min-height: 250px; }
  .theme-generator-section { padding: 22px 0 26px; }
  .theme-generator-intro { display: block; margin-bottom: 14px; }
  .theme-generator-intro h2 { font-size: 32px; }
  .theme-generator-intro p { display: none; }
  .theme-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-field, .theme-field:nth-child(even) { min-width: 0; padding: 9px 10px 11px 0; border-left: 0; }
  .theme-field:nth-child(even) { padding-right: 0; padding-left: 10px; border-left: 1px solid #4a4945; }
  .theme-field label { min-height: 28px; margin-bottom: 5px; font-size: 9px; line-height: 1.25; }
  .theme-field label span { margin-right: 4px; font-size: 8px; }
  .theme-field input, .theme-field select { height: 36px; font-size: 13px; }
  .theme-field select { background-position: calc(100% - 13px) 15px, calc(100% - 7px) 15px; background-size: 6px 6px; }
  .theme-submit { grid-column: span 2; margin-top: 13px; padding: 12px 14px; font-size: 12px; }
  .theme-results-grid { grid-template-columns: 1fr; }
  .theme-results-head { align-items: start; flex-direction: column; }
  .theme-result-card { min-height: 310px; }
  .content-block h2 { position: static; }
  .article-layout { padding-top: 54px; }
}
