/* chrismatakas.com. Colors and type from the Matakas Jiu Jitsu brand guide (July 2026):
   white page, black text, Spartan Green for headings, bars and bands, Lime once per page, Libre Baskerville only. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #000000;
  --green: #18453b;
  --on-green: #ffffff;
  --lime: #7bbd00;
  --muted: #33413d;
  --rule: #c5d1cd;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --wide: 1160px;
  --prose: 680px;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--green); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(32px, 6vw, 54px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.prose-wrap { max-width: var(--prose); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 50; }
.label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.wordmark span { color: var(--green); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); text-decoration: underline; }
.nav .btn { color: var(--on-green); text-decoration: none; }
.nav .btn { white-space: nowrap; }
@media (min-width: 881px) and (max-width: 1120px) { .nav { gap: 16px; } .nav a { font-size: 14px; } .wordmark { font-size: 17px; letter-spacing: .12em; } }
.btn.head-apply { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: 15px; padding: 7px 14px; border-radius: 2px; cursor: pointer; }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .btn.head-apply { display: inline-block; margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule);
         flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
}
@media (max-width: 520px) {
  .site-head .wrap { gap: 10px; }
  .wordmark { font-size: 15px; letter-spacing: .1em; }
  .btn.head-apply { padding: 8px 12px; }
  .menu-btn { padding: 7px 11px; }
}

/* Buttons */
button, input, select, textarea { font-family: inherit; }
.btn { display: inline-block; cursor: pointer; background: var(--green); color: var(--on-green); text-decoration: none; padding: 13px 22px; border: 1px solid var(--green);
       border-radius: 2px; font-size: 15px; font-weight: 700; letter-spacing: .02em; line-height: 1.3; text-align: center; }
.btn:hover { background: #0f2e27; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--on-green); }
.btn.on-green { background: var(--on-green); color: var(--green); border-color: var(--on-green); }
.btn.on-green:hover { background: transparent; color: var(--on-green); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 480px) { .actions .btn { flex: 1 1 100%; } }

/* Sections */
.section { padding: 76px 0; }
.section.tight { padding: 52px 0; }
.section + .section.ruled { border-top: 1px solid var(--rule); }
.band { background: var(--green); color: var(--on-green); }
.band h1, .band h2, .band h3, .band .label, .band a { color: var(--on-green); }
.band .muted { color: #dfe8e5; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { font-size: 18px; color: var(--muted); }
.band .section-head p { color: #dfe8e5; }
@media (max-width: 640px) { .section { padding: 56px 0; } }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-areas: "copy fig" "creds fig"; column-gap: 56px; align-items: center; }
.hero-copy { grid-area: copy; align-self: end; }
.hero-creds { grid-area: creds; align-self: start; }
.hero-creds p { color: var(--muted); font-size: 16px; margin: 26px 0 0; max-width: 560px; }
.hero-creds .stats { margin-top: 18px; }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 560px; }
.accent { width: 56px; height: 5px; background: var(--lime); margin-bottom: 22px; }
.hero figure { grid-area: fig; margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.hero figure::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--green); z-index: -1; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--rule); }
.stats div { font-size: 14px; color: var(--muted); }
.stats strong { display: block; font-size: 26px; color: var(--green); line-height: 1.2; }
@media (max-width: 880px) {
  .hero { padding: 32px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; grid-template-areas: "copy" "fig" "creds"; row-gap: 36px; }
  .hero-creds p { margin-top: 0; }
  .hero figure { margin-right: 10px; }
  .hero figure img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
  .hero figure::after { inset: 10px -10px -10px 10px; }
}
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--rule); }
.page-hero .lede { font-size: 19px; color: var(--muted); max-width: 720px; }
.page-hero.with-media .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-hero.with-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 880px) { .page-hero { padding: 40px 0 36px; } .page-hero.with-media .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* Pull quote */
.pull { font-size: clamp(24px, 3.6vw, 36px); line-height: 1.35; font-style: italic; margin: 0 0 22px; max-width: 900px; }
.pull-cite { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }

/* Cards and grids */
.grid { display: grid; gap: 28px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .grid.three { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid.two { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid.four { grid-template-columns: 1fr; } }
.door { display: block; color: var(--ink); text-decoration: none; border: 1px solid var(--rule); background: var(--paper); }
.door img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.door div { padding: 22px 22px 26px; }
.door h3 { margin-bottom: 8px; }
.door p { color: var(--muted); margin: 0 0 14px; font-size: 16px; }
.door .more { color: var(--green); font-weight: 700; font-size: 15px; }
.door:hover { border-color: var(--green); }
.door:hover .more { text-decoration: underline; }
.step { border-top: 3px solid var(--green); padding-top: 18px; }
.band .step { border-top-color: var(--on-green); }
.step .num { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.band .step .num { color: #dfe8e5; }
.step p { font-size: 16px; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split.portrait img { aspect-ratio: 4 / 5; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
/* Pricing page */
.offer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.price-card { border: 2px solid var(--green); padding: 36px; }
.price-card h2 { font-size: 24px; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; }
.price strong { font-size: 56px; line-height: 1; color: var(--green); }
.price span { font-size: 18px; color: var(--muted); }
.price-note { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.price-card .actions { margin: 0 0 28px; }
.included { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--rule); }
.included li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--rule); }
.included li::before { content: ""; position: absolute; left: 0; top: 23px; width: 12px; height: 12px; background: var(--lime); }
.included strong { display: block; color: var(--green); }
.included span { display: block; font-size: 15px; color: var(--muted); }
.offer-side { position: sticky; top: 100px; }
.offer-side h3 { margin-top: 28px; }
.offer-side h3:first-child { margin-top: 8px; }
.offer-side .quote { margin-top: 32px; }
.names-note { font-size: 14px; margin: 18px 0 0; }
.service { border-top: 3px solid var(--green); padding-top: 18px; }
.service .label { margin-bottom: 4px; }
.service-price { font-size: 22px; font-weight: 700; color: var(--green); margin: 0 0 10px; }
.service p { font-size: 16px; }
@media (max-width: 880px) { .offer { grid-template-columns: 1fr; gap: 36px; } .offer-side { position: static; } .price-card { padding: 26px 22px; } .price strong { font-size: 46px; } }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 12px; background: var(--green); }
.band .checks li::before { background: var(--on-green); }

/* Quotes */
.quote { margin: 0; padding: 26px; border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 18px; background: var(--paper); color: var(--ink); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.65; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--green); font-size: 16px; }
.quote figcaption span { font-size: 14px; color: var(--muted); }

/* Books */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 34px 26px; }
.book { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; }
.book img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 8px 18px rgba(0,0,0,.12); margin-bottom: 14px; }
.book strong { color: var(--green); font-size: 16px; line-height: 1.3; display: block; }
.book .sub { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.book:hover strong { text-decoration: underline; }
@media (max-width: 480px) { .shelf { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.book-row { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start; padding: 26px 0; border-top: 1px solid var(--rule); }
.book-row img { width: 150px; box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 8px 18px rgba(0,0,0,.12); }
.book-row h3 { margin-bottom: 4px; }
.read-next { margin-top: 40px; border-top: 0; padding-top: 0; }
.book-row .sub { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
@media (max-width: 520px) { .book-row { grid-template-columns: 96px 1fr; gap: 16px; } .book-row img { width: 96px; } }

/* Writing list */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { font: inherit; font-size: 14px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); padding: 6px 13px; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--on-green); }
.search { width: 100%; max-width: 420px; font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid var(--muted); border-radius: 2px; margin-bottom: 26px; }
.year { font-size: 15px; letter-spacing: .14em; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin: 40px 0 0; font-weight: 700; }
.posts { list-style: none; margin: 0; padding: 0; }
.posts li { border-bottom: 1px solid var(--rule); }
.posts a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; text-decoration: none; color: var(--ink); }
.posts strong { color: var(--green); font-size: 18px; line-height: 1.35; }
.posts a:hover strong { text-decoration: underline; }
.posts .meta { font-size: 13px; color: var(--muted); white-space: nowrap; text-align: right; }
.posts .desc { grid-column: 1 / -1; font-size: 15px; color: var(--muted); line-height: 1.55; }
@media (max-width: 560px) { .posts a { grid-template-columns: 1fr; } .posts .meta { text-align: left; order: -1; } }
.empty { color: var(--muted); padding: 24px 0; }
.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-top: 3px solid var(--green); padding-top: 16px; }
.post-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.post-card strong { color: var(--green); font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.post-card span.d { color: var(--muted); font-size: 15px; line-height: 1.55; }
.post-card:hover strong { text-decoration: underline; }
@media (max-width: 880px) { .post-cards { grid-template-columns: 1fr; } }

/* A single post */
.article-head { padding: 56px 0 30px; }
.article-head .meta { font-size: 14px; color: var(--muted); }
.article-head h1 { font-size: clamp(30px, 5vw, 46px); }
.article-hero { max-width: 900px; margin: 0 auto 40px; padding: 0 var(--gutter); }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.prose { font-size: 18px; line-height: 1.8; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure { margin: 0 0 1.25em; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose blockquote { border-left: 3px solid var(--green); padding: 2px 0 2px 22px; font-style: italic; color: var(--muted); }
.prose img { margin: 0 auto; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.prose li { margin-bottom: .4em; }
.post-foot { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.cta-box { border: 1px solid var(--green); padding: 28px; margin: 48px 0 0; }
.cta-box h2 { font-size: 24px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.pager a { text-decoration: none; display: block; border: 1px solid var(--rule); padding: 16px 18px; }
.pager a:hover { border-color: var(--green); }
.pager span { display: block; font-size: 13px; color: var(--muted); }
.pager strong { color: var(--green); font-size: 16px; line-height: 1.35; }
.pager .next { text-align: right; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { text-align: left; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 700; color: var(--green); font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; color: var(--ink); }

/* Topics, media, downloads */
.topic { border-top: 1px solid var(--rule); padding: 26px 0; }
.topic h3 { margin-bottom: 6px; }
.topic ul { margin: 10px 0 0; padding-left: 20px; }
.topic li { margin-bottom: 6px; }
.media-list { list-style: none; padding: 0; margin: 0; }
.media-list li { border-top: 1px solid var(--rule); padding: 14px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.media-list li span { color: var(--muted); font-size: 14px; }
.press { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.press a { font-size: 14px; text-decoration: none; }
.press img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 6px; }
@media (max-width: 880px) { .press { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .press { grid-template-columns: repeat(2, 1fr); } }
.bio { border: 1px solid var(--rule); padding: 24px; position: relative; }
.copy-btn { position: absolute; top: 14px; right: 14px; }

/* Footer */
.site-foot { background: var(--green); color: var(--on-green); padding: 56px 0 30px; margin-top: 0; }
.site-foot a { color: var(--on-green); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: var(--on-green); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; font-size: 15px; }
.site-foot .wordmark { color: var(--on-green); }
.site-foot .wordmark span { color: var(--on-green); }
.site-foot p { color: #dfe8e5; font-size: 15px; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); font-size: 13px; color: #dfe8e5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.disclaimer { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Forms (apply and contact) */
.wrap.narrowed > * { max-width: 900px; }
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 880px) { .form-wrap { grid-template-columns: 1fr; gap: 36px; } }
.form { display: grid; gap: 18px; }
.form .row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
@media (max-width: 560px) { .form .row.two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.lab { font-weight: 700; font-size: 15px; color: var(--ink); }
.opt, .hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border: 1px solid var(--muted);
  border-radius: 2px; background: var(--paper); color: var(--ink); }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--green); outline-offset: 0; border-color: var(--green); }
.form [aria-invalid="true"] { border-color: #a1260d; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 15px; border: 1px solid var(--muted); border-radius: 999px; cursor: pointer; font-size: 15px; }
.pill input:checked + span { background: var(--green); border-color: var(--green); color: var(--on-green); }
.pill input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.form .btn { justify-self: start; padding: 15px 28px; font-size: 16px; }
@media (max-width: 480px) { .form .btn { justify-self: stretch; } }
.form-error { color: #a1260d; font-weight: 700; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp input { width: 1px; }
.form-done { border: 1px solid var(--green); padding: 28px; }
.form-side { border-top: 3px solid var(--green); padding-top: 18px; display: grid; gap: 18px; }
.form-side h3 { margin: 0; }
.next-steps { margin: 0; padding-left: 20px; }
.next-steps li { margin-bottom: 8px; }

/* Round 1: open FAQ, shelf blurbs, reader list */
.faq-item { border-top: 1px solid var(--rule); padding: 22px 0 8px; }
.faq-item h3 { font-size: 19px; margin-bottom: 10px; }
.book .blurb { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.reader { border: 1px solid var(--green); padding: 28px; margin-top: 48px; }
.reader h2 { font-size: 24px; }
.reader-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.reader-form .form-error { grid-column: 1 / -1; }
@media (max-width: 560px) { .reader-form { grid-template-columns: 1fr; } }
