/* courtneytaylorcom.com · Rainbow */
:root {
  --bg: #faf8f4;
  --panel: #ffffff;
  --cream: #f4eee2;
  --ink: #2b2338;
  --soft: #4c4356;
  --muted: #6e6680;
  --violet: #5a4a8a;
  --violet-deep: #3f3268;
  --paper: #fdfbf7;
  --line: #e6dfd2;
  --c1: #d9822b;
  --c2: #cfae3d;
  --c3: #5b9c68;
  --c4: #4d7fae;
  --c5: #8465b8;
  --radius: 16px;
  --shell: 1160px;
  --display: 'Bungee Shade', 'Mali', system-ui, sans-serif;
  --body: 'Mali', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
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); color: var(--ink); font-weight: 400; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.18; margin: 0 0 .6rem; }
p { margin: 0 0 1rem; }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .14em;
           text-transform: uppercase; color: var(--violet); margin: 0 0 .55rem; }
.section-sub { color: var(--muted); max-width: 62ch; margin: 0 0 1.7rem; }
.note { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }
.rain-rule { display: block; width: 108px; height: 6px; border-radius: 3px; margin: .35rem 0 1.1rem;
  background: linear-gradient(90deg, var(--c1) 0 20%, var(--c2) 20% 40%, var(--c3) 40% 60%,
              var(--c4) 60% 80%, var(--c5) 80% 100%); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .94);
               border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.2rem; padding: .8rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.02rem; text-decoration: none; color: var(--ink);
            white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a { color: var(--soft); text-decoration: none; font-size: .9rem; font-weight: 700;
              position: relative; padding: .1rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 3px; width: 0;
                     border-radius: 2px; background: var(--violet); transition: width .22s ease; }
.main-nav a:hover { color: var(--violet); }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--violet); }
.main-nav a[aria-current="page"]::after { width: 100%; background: var(--c1); }
.btn { display: inline-flex; align-items: center; background: var(--violet); color: var(--paper);
       font-family: var(--body); font-weight: 700; font-size: .95rem;
       border-radius: 999px; padding: .72rem 1.35rem; text-decoration: none;
       transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn:hover { background: var(--violet-deep); color: var(--paper); transform: translateY(-1px);
             box-shadow: 0 10px 26px rgba(90, 74, 138, .28); }
.btn-sm { padding: .42rem 1rem; font-size: .84rem; }
/* explicit overrides: .main-nav a (0-1-1) outranks .btn (0-1-0) */
.main-nav a.btn { color: var(--paper); background: var(--violet); }
.main-nav a.btn:hover { color: var(--paper); background: var(--violet-deep); }
.main-nav a.btn::after { display: none; }

/* hero */
.hero { padding: 2.6rem 0 2.2rem; }
.hero-grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: 3rem; align-items: center; }
.hero-photo-wrap { position: relative; }
.hero-arc { position: absolute; top: -34px; left: -20px; width: 220px; height: 113px; z-index: 0; opacity: .95; }
.hero-photo { position: relative; z-index: 1; margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
              overflow: hidden; background: var(--panel);
              box-shadow: 0 26px 60px rgba(43, 35, 56, .16); }
.hero-photo img { display: block; width: 100%; height: auto; }
.hero-kicker { font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
               color: var(--violet); margin: 0 0 1rem; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.02; margin: 0 0 1.1rem; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--violet); }
.hero-tagline { font-weight: 700; color: var(--ink); font-size: 1.12rem; line-height: 1.45;
                max-width: 34ch; margin: 0 0 .9rem; }
.hero-intro { color: var(--soft); max-width: 52ch; margin: 0 0 1.6rem; }

/* sections */
.section { padding: 3rem 0; }
.section-tight { padding-top: 1.2rem; }
.section-last { padding-bottom: 4.2rem; }
.band-section { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 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: var(--c5); box-shadow: 0 14px 30px rgba(90, 74, 138, .14);
                      transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* band cards (rainbow) */
.band-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.band-card { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
             overflow: hidden; box-shadow: 0 14px 34px rgba(43, 35, 56, .08);
             transition: transform .2s ease, box-shadow .2s ease; }
.band-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(43, 35, 56, .13); }
.band { display: block; height: 8px;
        background: linear-gradient(90deg, var(--c1) 0 20%, var(--c2) 20% 40%, var(--c3) 40% 60%,
                    var(--c4) 60% 80%, var(--c5) 80% 100%); }
.band-body { padding: 1.1rem 1.25rem 1.3rem; }
.band-card h3 { font-size: 1.02rem; margin: 0 0 .7rem; }
.card-facts { list-style: none; margin: 0; padding: 0; }
.card-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0;
                 border-bottom: 1px dashed var(--line); }
.card-facts li:last-child { border-bottom: 0; }
.card-facts .k { color: var(--muted); font-size: .86rem; }
.card-facts .v { color: var(--ink); font-weight: 700; font-size: .92rem; text-align: right; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 2.6rem; align-items: start; }
.about-cols p { color: var(--soft); margin: 0 0 1.05rem; }
.pull { margin: 0; padding: 1.3rem 1.4rem; background: var(--panel); border: 1px solid var(--line);
        border-left: 6px solid var(--c1); border-radius: 4px var(--radius) var(--radius) 4px;
        box-shadow: 0 18px 40px rgba(43, 35, 56, .1); }
.pull-q { font-weight: 700; color: var(--ink); font-size: 1.08rem; line-height: 1.5; margin: 0 0 .6rem; }
.pull-src { color: var(--muted); font-size: .82rem; margin: 0; }

/* timeline (rainbow arc segments) */
.tl { list-style: none; margin: 0; padding: 0 0 0 1.5rem; position: relative; }
.tl::before { content: ""; position: absolute; left: 5px; top: .4rem; bottom: .6rem; width: 4px;
              border-radius: 2px;
              background: linear-gradient(180deg, var(--c1) 0 20%, var(--c2) 20% 40%, var(--c3) 40% 60%,
                          var(--c4) 60% 80%, var(--c5) 80% 100%); }
.tl li { position: relative; padding: 0 0 1.35rem; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: -1.5rem; top: .5em; width: 14px; height: 14px;
                 border-radius: 50%; background: var(--c3); border: 3px solid var(--bg); margin-left: -5px; }
.tl li:nth-child(5n+1)::before { background: var(--c1); }
.tl li:nth-child(5n+2)::before { background: var(--c2); }
.tl li:nth-child(5n+3)::before { background: var(--c3); }
.tl li:nth-child(5n+4)::before { background: var(--c4); }
.tl li:nth-child(5n+5)::before { background: var(--c5); }
.tl-when { display: block; font-weight: 700; font-size: .88rem; color: var(--violet); margin-bottom: .12rem; }
.tl-what { display: block; color: var(--soft); font-size: .97rem; }
.career-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 2.8rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.gallery figure { margin: 0; position: relative; border: 1px solid var(--line); border-radius: 14px;
                  overflow: hidden; background: var(--panel); box-shadow: 0 16px 40px rgba(43, 35, 56, .1); }
.gallery figure::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
                         opacity: 0; transition: opacity .25s ease;
                         background: linear-gradient(90deg, var(--c1) 0 20%, var(--c2) 20% 40%,
                                     var(--c3) 40% 60%, var(--c4) 60% 80%, var(--c5) 80% 100%); }
.gallery figure:hover::after { opacity: 1; }
.gallery img { display: block; width: 100%; height: auto; }
.g3 { grid-column: 1 / -1; }
.g4 { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 520px; }
.credit { color: var(--muted); font-size: .84rem; margin: 1.1rem 0 0; max-width: 82ch; }

/* social */
.social-list { border-top: 1px solid var(--line); max-width: 780px; }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: 1.05rem .5rem; border-bottom: 1px solid var(--line); text-decoration: none;
              transition: background .2s ease, padding .2s ease, box-shadow .2s ease; }
.social-row .platform { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.social-row .handle { color: var(--muted); font-size: .92rem; }
.social-row:hover { background: var(--panel); box-shadow: inset 3px 0 0 var(--violet); padding-left: .9rem; }
.social-row:hover .platform { color: var(--violet); }

/* subpages */
.page-top { padding: 2.6rem 0 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 2.4rem;
            background: var(--cream); }
.page-top h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.05; margin: .15rem 0 .4rem; }
.page-top .lead { color: var(--muted); max-width: 66ch; margin: 0; }
.reading { max-width: 76ch; padding-bottom: 1rem; }
.story { margin: 0 0 2.5rem; }
.story h2 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin: 0 0 .8rem; }
.story p { color: var(--soft); margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { color: var(--soft); padding: .55rem 0 .55rem 1.2rem; position: relative;
               border-bottom: 1px dashed var(--line); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.18em; width: 8px; height: 8px;
                       border-radius: 50%; background: var(--c3); }
.dot-list li:nth-child(5n+1)::before { background: var(--c1); }
.dot-list li:nth-child(5n+2)::before { background: var(--c2); }
.dot-list li:nth-child(5n+3)::before { background: var(--c3); }
.dot-list li:nth-child(5n+4)::before { background: var(--c4); }
.dot-list li:nth-child(5n+5)::before { background: var(--c5); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 1.2rem; }
.credit-col h3 { font-family: var(--body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
                 color: var(--violet); margin: 0 0 .5rem; }
.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 var(--line); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
        padding: .9rem 1.25rem; min-width: 150px; }
.stat b { display: block; font-family: var(--display); color: var(--violet); font-size: 1.25rem; }
.stat span { color: var(--muted); font-size: .85rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.faq-list summary { font-weight: 700; color: var(--ink); font-size: 1.04rem; line-height: 1.4;
                    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: "+"; color: var(--violet); font-weight: 700; }
.faq-list details[open] summary::after { content: "·"; color: var(--c1); }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 72ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--cream); padding: 2.1rem 0 2.4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 1.2rem 2.4rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); color: var(--ink); }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .85rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .84rem; white-space: nowrap; }
.language-nav a:hover { color: var(--violet); }
.language-nav a[aria-current="page"] { color: var(--violet); font-weight: 700; }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.5rem 0 5.5rem; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-arc { width: 170px; height: 88px; top: -24px; left: -12px; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .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 1rem; }
  .main-nav { gap: .7rem .9rem; }
  .main-nav a { font-size: .85rem; }
  .band-cards { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 122px; }
  .partner-card img { max-width: 132px; max-height: 52px; }
  .gallery { grid-template-columns: 1fr; gap: 14px; }
  .g3, .g4 { grid-column: auto; max-width: none; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .2rem; }
  .section { padding: 2.4rem 0; }
}
