/* codi-bryant.com · Drum Kit: stage black, cymbal gold, warning red */
:root {
  --bg: #141210;
  --panel: #1c1814;
  --panel-2: #241f19;
  --ink: #f4eee0;
  --soft: #dcd4c2;
  --muted: #b8ad97;
  --gold: #c9b06a;
  --gold-hi: #e6cf97;
  --red: #a03a2a;
  --line: #302a22;
  --shell: 1180px;
  --display: 'Lilita One', 'Kanit', system-ui, sans-serif;
  --body: 'Kanit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: #141210; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 82% -140px, rgba(201, 176, 106, .10), rgba(201, 176, 106, 0) 62%),
    radial-gradient(760px 420px at 6% 12%, rgba(160, 58, 42, .08), rgba(160, 58, 42, 0) 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.1rem); line-height: 1.1; letter-spacing: .01em;
     margin: 0 0 .7rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem;
           font-family: var(--body); font-weight: 500; font-size: .78rem;
           letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
           margin: 0 0 .75rem; }
.sec-num { display: inline-grid; place-items: center; width: 30px; height: 30px;
           border-radius: 50%; font-family: var(--display); font-size: .8rem;
           letter-spacing: 0; color: #191410;
           background: radial-gradient(circle at 36% 30%, #f2e2b6, var(--gold) 58%, #8c7638 100%);
           box-shadow: 0 0 14px rgba(201, 176, 106, .35); }
.section-sub { color: var(--muted); max-width: 60ch; margin: 0 0 1.7rem; }
.note { color: var(--muted); font-size: .9rem; margin: 1.1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20, 18, 16, .93);
               border-bottom: 1px solid var(--line); backdrop-filter: blur(9px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.1rem; padding: .8rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.12rem; letter-spacing: .02em;
            text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: .55rem 1rem; flex-wrap: wrap; }
.main-nav a { color: #d3cab6; text-decoration: none; font-size: .9rem; position: relative;
              padding: .1rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
                     background: var(--gold); transition: width .2s ease; }
.main-nav a:hover { color: #e6cf97; }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: #e6cf97; }
.main-nav a[aria-current="page"]::after { width: 100%; background: var(--red); }
/* CTA overrides: must outrank .main-nav a / .main-nav a:hover (kept after them on purpose) */
.main-nav a.btn { color: #191410; background: var(--gold); }
.main-nav a.btn:hover { color: #191410; background: var(--gold-hi); }
.btn { display: inline-flex; align-items: center; justify-content: center;
       background: var(--gold); color: #191410; font-family: var(--body); font-weight: 600;
       border-radius: 999px; padding: .72rem 1.35rem; text-decoration: none;
       letter-spacing: .02em;
       transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn:hover { background: var(--gold-hi); color: #191410;
             box-shadow: 0 0 28px rgba(201, 176, 106, .35); transform: translateY(-1px); }
.btn-sm { padding: .42rem 1rem; font-size: .84rem; }

/* hero: right text, left photo, cymbal fan behind */
.hero { position: relative; overflow: hidden; padding: 2.6rem 0 2.2rem; }
.cymbal-fan { position: absolute; top: -150px; right: -110px; width: 470px; height: 470px;
              opacity: .5; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr;
             gap: 2.5rem; align-items: center; }
.hero-photo { margin: 0; position: relative; border-radius: 16px; overflow: hidden;
              border: 1px solid var(--line);
              box-shadow: 0 0 0 6px rgba(201, 176, 106, .07), 0 26px 60px rgba(0, 0, 0, .55); }
.hero-photo img { display: block; width: 100%; height: auto; }
.hero-kicker { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
               color: var(--gold); margin: 0 0 .9rem; font-weight: 500; }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 4.5rem); line-height: .94; margin: 0 0 1rem;
              letter-spacing: .01em; }
.hero-title span { display: block; color: var(--gold); }
.hero-tagline { font-family: var(--display); font-size: 1.12rem; line-height: 1.35;
                margin: 0 0 .85rem; color: var(--ink); }
.hero-intro { color: var(--muted); max-width: 46ch; margin: 0 0 1.6rem; }

/* sections */
.section { padding: 3rem 0; }
.section-tight { padding-top: 1.3rem; }
.section-last { padding-bottom: 4.2rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: #4a3f2c; box-shadow: 0 0 30px rgba(201, 176, 106, .16);
                      transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* rhythm cards (quick profile) */
.beat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.beat-card { border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 14px;
             background: linear-gradient(180deg, var(--panel-2), var(--panel));
             padding: 1.15rem 1.25rem 1.3rem; }
.beat-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.beat-head h3 { margin: 0; font-size: 1.22rem; letter-spacing: .01em; }
.beat-facts { margin: 0; }
.beat-facts .kv { border-top: 1px dashed #362f26; padding: .5rem 0 .35rem; }
.beat-facts .kv:first-child { border-top: 0; padding-top: 0; }
.beat-facts dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
                 color: var(--gold); }
.beat-facts dd { margin: .15rem 0 0; color: var(--soft); font-size: .97rem; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.32fr 1fr; gap: 2.2rem; align-items: start; }
.about-text p { color: var(--soft); margin: 0 0 1.05rem; }
.quote-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px;
              background: linear-gradient(180deg, var(--panel-2), var(--panel));
              padding: 1.6rem 1.4rem 1.3rem; margin-top: 1.4rem; }
.cymbal-mini { position: absolute; top: -70px; right: -70px; width: 220px; height: 220px; opacity: .55; }
.quote-card blockquote { position: relative; margin: 0; font-family: var(--display);
                         font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.28; color: var(--ink); }
.quote-card .quote-src { position: relative; color: var(--muted); font-size: .82rem; margin: .8rem 0 0; }
.about-photo { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
               background: var(--panel); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.about-photo img { display: block; width: 100%; height: auto; }

/* career split + timeline (cymbal line) */
.career-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 2.6rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.55rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; top: .45rem; bottom: .45rem; width: 2px;
                    background: linear-gradient(180deg, rgba(230, 207, 151, .85), rgba(201, 176, 106, .3) 55%, rgba(201, 176, 106, .05)); }
.timeline li { position: relative; padding: 0 0 1.35rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.55rem; top: .42em; width: 13px; height: 13px;
                       margin-left: -6px; border-radius: 50%;
                       background: radial-gradient(circle at 36% 30%, #f2e2b6, var(--gold) 58%, #8c7638 100%);
                       box-shadow: 0 0 10px rgba(201, 176, 106, .5), inset 0 0 0 1px rgba(20, 18, 16, .5); }
.timeline li::after { content: ""; position: absolute; left: -1.55rem; top: .42em; width: 13px; height: 13px;
                      margin-left: -6px; border-radius: 50%;
                      border: 1px solid rgba(201, 176, 106, .45); transform: scale(1.75); opacity: .4; }
.timeline .when { display: block; font-family: var(--display); font-size: .92rem; color: var(--gold-hi);
                  letter-spacing: .01em; }
.timeline .when::after { content: ': '; }
html[lang="fr"] .timeline .when::after { content: ' : '; }
.timeline .what { display: block; color: var(--soft); font-size: .96rem; }

/* gallery 2x2 */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
                  background: var(--panel); }
.g-cell img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1;
              object-fit: cover; object-position: center top; }

/* social */
.social-list { border-top: 1px solid var(--line); }
.social-row { display: flex; align-items: baseline; gap: 1.1rem; flex-wrap: wrap;
              padding: 1.1rem .4rem; border-bottom: 1px solid var(--line); }
.social-row .platform { font-family: var(--display); font-size: clamp(1.1rem, 2.4vw, 1.45rem); }
.social-row .handle { color: var(--soft); font-size: .95rem; }
.social-row .state { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto;
                     color: var(--muted); font-size: .86rem; }
.social-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* subpages */
.page-top { padding: 2.4rem 0 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.page-top h1 { font-size: clamp(2rem, 4.8vw, 2.9rem); line-height: 1.02; margin: .1rem 0 .75rem; }
.page-top .lead { color: var(--muted); max-width: 620px; margin: 0; }
.reading { max-width: 660px; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin: 0 0 .75rem; }
.story p { color: var(--soft); margin: 0 0 1rem; }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin-top: 1.1rem; }
.credit-col h3 { font-family: var(--body); font-weight: 600; font-size: .74rem; letter-spacing: .16em;
                 text-transform: uppercase; color: var(--gold); margin: 0 0 .5rem; }
.credit-col p { color: var(--soft); font-size: .92rem; margin: 0; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .92rem; padding: .32rem 0;
                 border-bottom: 1px dashed #362f26; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .3rem; }
.stat { border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
        padding: .85rem 1.2rem; min-width: 150px; }
.stat b { display: block; font-family: var(--display); font-size: 1.45rem; color: var(--gold-hi); }
.stat span { color: var(--muted); font-size: .85rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-family: var(--body); font-weight: 600; font-size: 1.04rem; line-height: 1.35;
                    cursor: pointer; list-style: none; display: flex; justify-content: space-between;
                    gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--display); color: var(--gold); }
.faq-list details[open] summary::after { content: "/"; color: var(--red); }
.faq-list .answer p { color: var(--soft); margin: .65rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #100e0c; padding: 2rem 0 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 1.1rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.05rem; }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center; }
.language-nav a { color: #b8ad97; text-decoration: none; font-size: .87rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--gold-hi); }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.2rem 0 5.2rem; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.7rem; }
  .cymbal-fan { width: 340px; height: 340px; top: -120px; right: -120px; opacity: .4; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .5rem .9rem; }
  .main-nav { gap: .5rem .85rem; }
  .main-nav a { font-size: .85rem; }
  .main-nav a.btn { font-size: .8rem; }
  .beat-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 124px; }
  .partner-card img { max-width: 130px; max-height: 50px; }
  .gallery { grid-template-columns: 1fr; }
  .g-cell img { aspect-ratio: auto; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row .state { margin-left: 0; }
  .section { padding: 2.3rem 0; }
}
