/* Shared design for the Peace group sites. Each site's styles.css sets the theme
   tokens (--ink, --accent, --paper, --tint) and may add its own touches. Mobile first. */
:root {
  --ink: #14213d;
  --accent: #e07a2e;
  --paper: #fbfaf7;
  --tint: #f1eee6;
  --muted: #5b6475;
  --line: #d9d5cb;
  --white: #fff;
  --pw: #1f5f8b;
  --dfi: #2f7d6d;
  --thom: #e07a2e;
  --radius: 14px;
  --serif: Georgia, 'Times New Roman', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', 'Hiragino Sans', 'Yu Gothic UI', Meiryo, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--sans); overflow-wrap: break-word; }
:lang(ja) body, body:lang(ja) { line-height: 1.85; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }
.preview-bar { background: #fff3c4; color: #5a4500; font-size: 13px; text-align: center; padding: 6px 16px; }
.todo { background: #fff3c4; color: #5a4500; padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.muted { color: var(--muted); font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.nav.desktop { display: none; }
.header-tools { display: flex; gap: 10px; align-items: center; }
.lang { font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; border: 1px solid var(--ink); border-radius: 999px; padding: 4px 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .nav { position: absolute; right: 0; top: calc(100% + 10px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 12px 30px #14213d1f; min-width: 210px; }
.menu[open] .nav ul { flex-direction: column; gap: 10px; }
@media (min-width: 900px) { .nav.desktop { display: block; } .menu { display: none; } }

/* Type */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 7vw, 60px); max-width: 16ch; }
:lang(ja) h1 { max-width: 20ch; letter-spacing: 0; }
:lang(ja) :is(h1, h2, h3, h4, blockquote, .lede) { word-break: auto-phrase; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
:lang(ja) h1 em, :lang(ja) h2 em { font-style: normal; }
h2 { font-size: clamp(26px, 4.6vw, 38px); }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 62ch; }

/* Layout blocks */
main > section { padding: 44px 0; border-top: 1px solid var(--line); }
main > section:first-child { border-top: 0; }
.hero { padding-top: 56px !important; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; text-align: center; }
.btn:hover { background: color-mix(in srgb, var(--ink) 85%, var(--accent)); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.text-link { font-weight: 700; font-size: 15px; }
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 14px; }
.steps span { font-family: var(--serif); font-size: 28px; color: var(--accent); }
.steps h3 { margin: 4px 0 6px; }
.steps p { color: var(--muted); margin: 0; }
.band { background: var(--tint); border-radius: var(--radius); padding: 36px 22px !important; margin: 24px 0; border-top: 0 !important; }
@media (min-width: 700px) { .band { padding: 48px 44px !important; } }
blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(22px, 3.6vw, 32px); line-height: 1.35; max-width: 34ch; }
:lang(ja) blockquote { font-size: clamp(19px, 3vw, 26px); line-height: 1.6; max-width: 30em; }

/* Cards */
.doors, .cards, .ventures { display: grid; gap: 16px; }
@media (min-width: 700px) { .doors, .cards, .ventures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .doors, .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ventures { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.door, .card, .venture { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.door { border-top: 5px solid var(--ink); display: flex; flex-direction: column; }
.door p:last-of-type { flex: 1; }
.door-pw { border-top-color: var(--pw); }
.door-dfi { border-top-color: var(--dfi); }
.door-thom { border-top-color: var(--thom); }
.door-kicker { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.card p, .venture p { color: var(--muted); font-size: 15px; }
.venture { display: flex; flex-direction: column; }
.venture > p:not(.venture-status):not(.venture-note) { flex: 1; }
.venture-status { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.venture-note { font-size: 13px !important; background: var(--tint); border-radius: 8px; padding: 8px 10px; }
.venture .text-link { font-size: 14px; }

/* Ecosystem */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; }
.company-head { margin-bottom: 18px; }
.company-head .btn { margin-top: 4px; }
.company-pw .eyebrow { color: var(--pw); }
.company-dfi .eyebrow { color: var(--dfi); }
.company-thom .eyebrow { color: var(--thom); }
.group { margin-top: 26px; }
.group h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* Lists */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -29px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: var(--muted); margin: 0; }
.routes { list-style: none; margin: 0; padding: 0; }
.routes li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.routes a { font-weight: 700; }

/* Footer */
.site-footer { background: var(--ink); color: #e9ecf3; margin-top: 40px; padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: grid; gap: 26px; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #fff; }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #aab3c5; margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Video lists (music pages) */
.videos { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .videos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.video { display: block; text-decoration: none; min-width: 0; }
.video img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--tint); }
.video-title { display: block; font-weight: 700; font-size: 14px; line-height: 1.35; margin-top: 8px; }
.video-sub { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.video:hover .video-title { text-decoration: underline; text-decoration-color: var(--accent); }
.band-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.set { margin-top: 30px; }
.set h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.set-date { font-size: 14px; font-weight: 600; color: var(--muted); }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; max-width: 860px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.crumb { font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.card-link { text-decoration: none; display: block; transition: border-color .15s; }
.card-link:hover { border-color: var(--accent); }
.card-link h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }

/* thompeace.com theme: deep navy with the bass-amp orange accent. */
:root {
  --ink: #14213d;
  --accent: #d96c1f;
  --paper: #fbfaf7;
  --tint: #f3ece2;
}
