/* © 2026 TennoTenRyu Inh. Cesarano · Gilbert Cesarano Authority Hub */
:root {
  --ink: #0B1730;
  --ink-soft: #1A2547;
  --gold: #C9A227;
  --gold-soft: #DCB94B;
  --paper: #FBF9F4;
  --paper-warm: #F4F0E6;
  --text: #1A1F2E;
  --text-mut: #5C6478;
  --text-soft: #8A93A8;
  --line: #E5E2D8;
  --max: 1200px;
  --max-narrow: 760px;
  --font-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); color: var(--text); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--max-narrow); }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

/* HEADER */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--ink); color: var(--gold); font-family: var(--font-serif); font-weight: 700; font-size: 18px; border-radius: 4px; }
.brand-mark-img { width: 40px; height: 40px; border-radius: 4px; display: block; }
.brand-name { font-family: var(--font-serif); font-size: 20px; font-weight: 700; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta { background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 4px; }
.nav-links .nav-cta:hover { background: var(--gold); color: var(--ink); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); padding: 8px 14px; font-size: 18px; border-radius: 4px; cursor: pointer; }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 18px; box-shadow: 0 8px 20px rgba(11,23,48,0.08); }
  .nav-links.open { display: flex; }
}

/* HERO */
.hero { padding: 80px 0 60px; background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.hero-eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
h1 { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.15; font-weight: 700; margin: 0 0 24px; color: var(--ink); }
.accent { color: var(--gold); font-style: italic; }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--text-mut); max-width: 720px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 4px; font-weight: 600; text-decoration: none; font-size: 15px; transition: all 0.2s; border: 2px solid transparent; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.hero-meta { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-mut); }

/* PAGE HERO */
.page-hero { padding: 60px 0 40px; background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4vw, 44px); margin: 16px 0 18px; }
.page-lead { font-size: 18px; line-height: 1.6; color: var(--text-mut); max-width: 700px; }
.crumbs { font-size: 13px; color: var(--text-soft); }
.crumbs a { color: var(--text-soft); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* SECTIONS */
section { padding: 64px 0; }
.section-alt { background: var(--paper-warm); }
.section-eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.section-title { font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 38px); margin: 0 0 18px; color: var(--ink); }
.section-lead { font-size: 17px; color: var(--text-mut); max-width: 720px; margin: 0 0 40px; }

/* GRID & CARDS */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px; transition: all 0.2s; }
.card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,23,48,0.06); }
.card .icon { font-family: var(--font-serif); font-size: 28px; color: var(--gold); margin-bottom: 12px; }
.card h3 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 12px; color: var(--ink); }
.card p { color: var(--text-mut); margin: 0 0 14px; font-size: 15px; }
.card .card-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; font-size: 14px; }
.card-link-block { display: block; text-decoration: none; }
.card-link-block:hover { text-decoration: none; }
.card-eyebrow { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }

/* CONTENT TYPOGRAPHY */
.container.narrow h2 { font-family: var(--font-serif); font-size: 28px; margin: 48px 0 16px; color: var(--ink); }
.container.narrow h3 { font-family: var(--font-serif); font-size: 22px; margin: 28px 0 12px; color: var(--ink); }
.container.narrow p { font-size: 17px; line-height: 1.75; color: var(--text); margin: 0 0 18px; }
.container.narrow ul, .container.narrow ol { font-size: 17px; line-height: 1.75; color: var(--text); padding-left: 24px; }
.container.narrow li { margin-bottom: 8px; }
blockquote { border-left: 4px solid var(--gold); margin: 24px 0; padding: 16px 24px; background: var(--paper-warm); font-style: italic; color: var(--text); border-radius: 0 4px 4px 0; }
details { background: var(--paper-warm); padding: 14px 20px; border-radius: 4px; margin-bottom: 12px; border-left: 3px solid var(--gold); }
details summary { font-weight: 600; cursor: pointer; color: var(--ink); font-family: var(--font-serif); font-size: 17px; }
details[open] summary { margin-bottom: 12px; }

/* SPECIAL */
.tldr { background: var(--ink); color: var(--paper); padding: 32px; border-radius: 6px; margin: 32px 0; }
.tldr-title { font-family: var(--font-serif); color: var(--gold); margin: 0 0 16px; font-size: 22px; }
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { color: var(--paper); margin-bottom: 8px; font-size: 16px; }
.tldr strong { color: var(--gold); }
.tldr a { color: var(--gold-soft); }

.star-list { list-style: none; padding: 0; }
.star-list li { padding: 16px 20px; margin-bottom: 12px; background: var(--paper-warm); border-left: 4px solid var(--gold); border-radius: 0 4px 4px 0; }
.star-list strong { color: var(--ink); font-family: var(--font-serif); }

.creds-list { list-style: none; padding: 0; }
.creds-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px dotted var(--line); }
.creds-list li:before { content: "·"; position: absolute; left: 8px; color: var(--gold); font-size: 24px; line-height: 1; top: 8px; }

.link-cluster { list-style: none; padding: 0; }
.link-cluster li { padding: 8px 0; }

.case { padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 24px; }
.case-meta { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.case h2 { font-family: var(--font-serif); font-size: 24px; margin: 0 0 16px; color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.cta-band { background: var(--ink); color: var(--paper); padding: 64px 0; text-align: center; }
.cta-band h2 { font-family: var(--font-serif); color: var(--paper); margin: 0 0 18px; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { color: #C7CCDC; max-width: 640px; margin: 0 auto 28px; font-size: 17px; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--paper); }
.centered { text-align: center; }

.text-mut { color: var(--text-mut); }
.text-soft { color: var(--text-soft); }

/* FOOTER */
.site-footer { background: var(--ink); color: #C7CCDC; padding: 56px 0 24px; margin-top: 64px; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-name { color: var(--paper); }
.site-footer .text-mut { color: #9BA3BD; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h5 { color: var(--gold); font-family: var(--font-serif); font-size: 16px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 5px 0; font-size: 15px; }
.footer-grid a { color: #C7CCDC; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid #1F2A4A; font-size: 13px; color: #8A93A8; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #8A93A8; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { flex-direction: column; gap: 12px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
