:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #5d5d58;
  --line: #e4dfd6;
  --accent: #55695a;
  --accent-soft: #e8eee9;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }

header.site { border-bottom: 1px solid var(--line); background: var(--bg); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { text-decoration: none; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 24px; letter-spacing: .02em; }
.brand small { display: block; font: 11px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.brand:hover { color: var(--ink); }
.logo-sm { height: 90px; width: auto; display: block; margin: 0 0 18px; }
nav ul { list-style: none; display: flex; gap: 6px 26px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { border-bottom-color: var(--accent); }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.5vw, 56px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.5vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1.1em; }
.lede { font-size: 20px; color: var(--muted); max-width: 40em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--accent); margin-bottom: 14px; }

.hero { padding: 72px 24px 56px; text-align: center; }
.hero img.big { width: min(520px, 86%); height: auto; margin: 0 auto 28px; display: block; }
.hero .lede { margin: 0 auto 28px; }
.btn { display: inline-block; background: var(--ink); color: #fff; padding: 12px 26px; text-decoration: none; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.btn:hover { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); margin-left: 8px; }
.btn.ghost:hover { background: var(--ink); color: #fff; }

section.block { padding: 56px 0; border-top: 1px solid var(--line); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.card p { color: var(--muted); margin-bottom: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.group { margin-bottom: 44px; }
.group h2 { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.plugin { background: var(--surface); border: 1px solid var(--line); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.plugin h3 { margin: 0; }
.plugin p { margin: 0; color: var(--muted); font-size: 16px; flex: 1; }
.tag { align-self: flex-start; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); padding: 3px 9px; border-radius: 2px; }

.page-head { padding: 56px 24px 32px; }
.prose { max-width: 42em; padding-bottom: 64px; }
.prose h2 { margin-top: 1.6em; }
.formats { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 0; padding: 0; list-style: none; }
.formats li { border: 1px solid var(--line); background: var(--surface); padding: 4px 12px; font-size: 14px; letter-spacing: .05em; }

footer.site { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 15px; color: var(--muted); }
footer.site .wrap { display: block; }
footer.site a { color: var(--muted); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 6px; }
footer.site p { margin: 0 0 6px; }

/* ---- polish ---- */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(250,248,244,.92); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); }
.brand { font-size: 26px; }
nav a { font-size: 14px; letter-spacing: .08em; }
nav a[aria-current="page"] { color: var(--accent); }

.hero-band { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 50% 0%, #25352b 0%, #16201a 55%, #0f1612 100%); color: #f3f1ea; }
.hero-band .wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; opacity: .5; pointer-events: none; }
.hero-band .wrap.hero { position: relative; padding-top: 104px; padding-bottom: 96px; }
.hero-band h1 { color: #fff; font-size: clamp(40px, 7vw, 76px); letter-spacing: -.02em; }
.hero-band .eyebrow { color: #a9c3b0; }
.hero-band .lede { color: #cfd6cf; }
.hero-band .btn { background: #f3f1ea; color: #141414; }
.hero-band .btn:hover { background: #fff; color: #141414; }
.hero-band .btn.ghost { background: transparent; color: #f3f1ea; border: 1px solid rgba(243,241,234,.6); }
.hero-band .btn.ghost:hover { background: #f3f1ea; color: #141414; }

.btn { border-radius: 2px; transition: background .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }

.card { position: relative; border-top: 3px solid var(--accent); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(20,20,20,.08); }
.card .kicker { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.card h3 { font-size: 24px; }

.plugin { border-left: 3px solid var(--accent-soft); transition: border-color .15s, box-shadow .15s, transform .15s; }
.plugin:hover { border-left-color: var(--accent); box-shadow: 0 8px 22px rgba(20,20,20,.07); transform: translateY(-2px); }

.group h2 { display: flex; align-items: baseline; gap: 12px; }
.group h2 span { font: 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .1em; color: var(--muted); }

.band { background: var(--accent-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.band .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.band strong { display: block; font: 400 34px/1.1 Georgia, "Times New Roman", serif; color: var(--ink); margin-bottom: 6px; }
.band span { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

footer.site { background: #16201a; color: #b9c2ba; border-top: 0; }
footer.site a { color: #dfe6df; }
footer.site a:hover { color: #fff; }
footer.site strong { color: #fff; }

@media (max-width: 760px) {
  .hero-band .wrap.hero { padding-top: 64px; padding-bottom: 60px; }
  .band .wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero-band .wave { height: 45%; }
  header.site { position: static; }
}

/* ---- color + graphics ---- */
:root { --amber: #e3a23a; --teal: #2f9a94; --coral: #e0694e; --leaf: #6aa84f; --slate: #5b7fb0; }
.hero-band { background: radial-gradient(60% 80% at 82% 18%, rgba(227,162,58,.28) 0%, rgba(227,162,58,0) 60%), radial-gradient(70% 90% at 12% 0%, rgba(47,154,148,.35) 0%, rgba(47,154,148,0) 62%), linear-gradient(160deg, #1a2a30 0%, #16201a 55%, #0f1612 100%); }
.hero-band .eyebrow { color: var(--amber); }
.hero-band h1 em { font-style: normal; background: linear-gradient(90deg, var(--amber), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-band .btn { background: var(--amber); color: #1b1408; }
.hero-band .btn:hover { background: #f0b552; color: #1b1408; }
.hero-band .wave { opacity: .9; }

.card.c-post { --c: var(--coral); }
.card.c-music { --c: var(--amber); }
.card.c-plug { --c: var(--teal); }
.card { border-top-color: var(--c, var(--accent)); }
.card .kicker { color: var(--c, var(--accent)); }
.card .ico { width: 54px; height: 54px; border-radius: 50%; background: color-mix(in srgb, var(--c, var(--accent)) 14%, #fff); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .ico svg { width: 30px; height: 30px; stroke: var(--c, var(--accent)); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.band { background: linear-gradient(90deg, #eef4f0, #f8f1e3 50%, #e9f2f1); }
.band .meter { display: flex; justify-content: center; gap: 3px; height: 26px; align-items: flex-end; margin-bottom: 10px; }
.band .meter i { width: 6px; border-radius: 2px; background: var(--teal); }
.band .meter i:nth-child(n+7) { background: var(--amber); }
.band .meter i:nth-child(n+10) { background: var(--coral); }

.group { --g: var(--accent); }
.group.g-dyn { --g: var(--coral); }
.group.g-tone { --g: var(--amber); }
.group.g-space { --g: var(--teal); }
.group.g-level { --g: var(--leaf); }
.group.g-tools { --g: var(--slate); }
.group h2 { border-bottom: 2px solid var(--g); }
.group h2 .gi { width: 34px; height: 34px; align-self: center; flex: none; }
.group h2 .gi svg { width: 34px; height: 34px; stroke: var(--g); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plugin { border-left: 3px solid var(--g); }
.plugin:hover { border-left-color: var(--g); }
.tag { background: color-mix(in srgb, var(--g) 16%, #fff); color: color-mix(in srgb, var(--g) 70%, #000); }

.page-art { display: block; width: 100%; max-width: 360px; height: 54px; margin: 18px 0 4px; }
footer.site .foot-wave { display: block; width: 100%; height: 36px; margin-bottom: 22px; opacity: .55; }

@media (max-width: 760px) {
  .cols, .two, footer.site .wrap { grid-template-columns: 1fr; }
  .hero { padding: 40px 24px 36px; }
  .btn.ghost { margin: 12px 0 0; }
  header.site .wrap { justify-content: center; }
}

nav ul { gap: 4px 20px; }
nav a { font-size: 13px; letter-spacing: .07em; }
.prose.wide { max-width: 1040px; }
.prose.wide > p, .prose.wide > ul, .prose.wide > ol, .prose.wide > h2 { max-width: 44em; }
.prose.wide .cols { margin: 18px 0 8px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.crumbs a { color: var(--muted); }
ul.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; }
ul.ticks li { position: relative; padding: 4px 0 4px 26px; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
ul.plain { list-style: none; margin: 0 0 12px; padding: 0; }
ul.plain li { margin-bottom: 6px; }
.detail { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding-bottom: 64px; align-items: start; }
.detail-side .card { margin-bottom: 20px; }
.detail-main h2 { margin-top: 1.4em; }
.detail-main h2:first-child { margin-top: 0; }
ol.steps { padding-left: 1.2em; }
ol.steps li { margin-bottom: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 14px 20px; margin-bottom: 12px; max-width: 46em; }
.faq summary { cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.faq details[open] summary { margin-bottom: 8px; }
.faq details p { margin: 0; color: var(--muted); }
.post { background: var(--surface); border: 1px solid var(--line); padding: 24px 28px; margin-bottom: 20px; max-width: 46em; }
.post .date { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.post h2 { margin-top: 0; }
.plugin h3 a, .card h3 a { color: var(--ink); text-decoration: none; }
.plugin h3 a:hover, .card h3 a:hover { color: var(--accent); text-decoration: underline; }
footer.site .foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
footer.site .foot-cols .wrap { display: block; }
@media (max-width: 760px) {
  .detail { grid-template-columns: 1fr; gap: 24px; }
  footer.site .foot-cols { grid-template-columns: 1fr 1fr; }
}
