/* carrie-cummings.com · Confetti */
:root {
  --paper: #FCFBF8;
  --card: #FFFFFF;
  --foot: #F5F0E5;
  --ink: #2A2824;
  --ink-2: #4C473E;
  --muted: #615B4C;
  --line: #E7E1D4;
  --line-2: #D9D2C1;
  --red: #C25B4A;
  --blue: #4E7A96;
  --yellow: #D9A83E;
  --shell: 1180px;
  --display: 'Titan One', 'Miriam Libre', system-ui, sans-serif;
  --body: 'Miriam Libre', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNicgaGVpZ2h0PScyNic+PHJlY3QgeD0nMScgeT0nMScgd2lkdGg9JzInIGhlaWdodD0nMicgZmlsbD0nJTIzRUVFOERCJy8+PC9zdmc+");
  background-repeat: repeat;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.55rem, 3.2vw, 2.2rem);
     line-height: 1.1; letter-spacing: .005em; margin: 0 0 .6rem; }
p { margin: 0 0 1rem; }
.sec-sub { color: var(--ink-2); max-width: 64ch; margin: 0 0 1.6rem; }
.note { color: var(--muted); font-size: .9rem; margin: 1.1rem 0 0; max-width: 78ch; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 251, 248, .94);
               border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1rem 1.4rem; padding: .85rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 400; font-size: 1.1rem;
            letter-spacing: .01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: .95rem 1.1rem; flex-wrap: wrap; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 400;
              position: relative; padding: .15rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 6px; height: 6px;
                     background: var(--red); opacity: 0; transition: opacity .18s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { opacity: 1; }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.main-nav a[aria-current="page"]::after { opacity: 1; background: var(--blue); }
.btn { display: inline-flex; align-items: center; background: var(--ink); color: var(--paper);
       font-family: var(--body); font-weight: 700; font-size: .95rem; line-height: 1.2;
       border: 1px solid var(--ink); border-radius: 5px; padding: .78rem 1.25rem;
       text-decoration: none; transition: background .18s ease, transform .18s ease; }
.btn::before { content: ""; width: 7px; height: 7px; background: var(--yellow); margin-right: .6rem; }
.btn:hover { background: #4A4438; border-color: #4A4438; transform: translateY(-1px); }
.btn-sm { padding: .45rem .85rem; font-size: .84rem; }
.main-nav a.btn { color: var(--paper); }
.main-nav a.btn:hover { color: var(--paper); }
.main-nav a.btn::after { display: none; }

/* hero */
.hero { padding: 3rem 0 2.4rem; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 3rem; align-items: center; }
.hero-copy { position: relative; }
.hero-kicker { font-size: .78rem; letter-spacing: .17em; text-transform: uppercase;
               color: var(--muted); margin: 0 0 1rem; }
.hero-title { font-family: var(--display); font-weight: 400; margin: 0 0 1rem;
              font-size: clamp(2.9rem, 6.6vw, 4.6rem); line-height: .96; letter-spacing: .005em; }
.hero-title span { display: block; }
.hero-tagline { font-size: 1.16rem; line-height: 1.45; font-weight: 700; margin: 0 0 .85rem; max-width: 34ch; }
.hero-intro { color: var(--ink-2); max-width: 46ch; margin: 0 0 1.7rem; }
.hero-photo { margin: 0; background: var(--card); border: 1px solid var(--line-2);
              border-radius: 8px; padding: 10px 10px 0; box-shadow: 0 16px 40px rgba(42, 40, 36, .08); }
.hero-photo img { display: block; width: 100%; border-radius: 4px; }
.dotstrip { display: flex; gap: 6px; padding: 9px 2px 10px; }
.dotstrip i { display: block; width: 6px; height: 6px; background: var(--line-2); }
.dotstrip i:nth-child(4n+1) { background: var(--red); }
.dotstrip i:nth-child(4n+2) { background: var(--blue); }
.dotstrip i:nth-child(4n+3) { background: var(--yellow); }

/* confetti (hero only) */
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; display: block; width: 12px; height: 12px; opacity: .9; }
.c1 { left: 2%; top: -20px; width: 15px; height: 15px; background: var(--red); transform: rotate(18deg); }
.c2 { left: 32%; top: -30px; width: 11px; height: 11px; background: var(--blue); transform: rotate(-24deg); }
.c3 { left: 68%; top: -17px; width: 9px; height: 9px; background: var(--yellow); transform: rotate(40deg); }
.c4 { left: 90%; top: -27px; width: 16px; height: 16px; background: var(--red); transform: rotate(-12deg); }
.c5 { left: 101%; top: 18%; width: 10px; height: 10px; background: var(--blue); transform: rotate(28deg); }
.c6 { left: 104%; top: 44%; width: 13px; height: 13px; background: var(--yellow); transform: rotate(-36deg); }
.c7 { left: 101%; top: 68%; width: 9px; height: 9px; background: var(--red); transform: rotate(14deg); }
.c8 { left: 94%; top: 95%; width: 15px; height: 15px; background: var(--blue); transform: rotate(-20deg); }

/* sections */
.section { padding: 2.8rem 0; }
.section-partners { padding-top: 1.6rem; }
.section-last { padding-bottom: 4rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 .7rem;
           font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow .num { display: inline-flex; align-items: center; justify-content: center;
                width: 26px; height: 26px; background: var(--ink); color: var(--paper);
                font-family: var(--display); font-size: .78rem; letter-spacing: 0; }
.eyebrow .lab { padding-top: 1px; }
.page-top .eyebrow .lab { color: var(--muted); }

/* 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: 100%; height: 150px;
                background: var(--card); border: 1px solid var(--line-2); border-radius: 6px;
                transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.partner-card:hover { border-color: var(--ink); transform: translateY(-2px);
                      box-shadow: 0 14px 30px rgba(42, 40, 36, .10); }
.partner-card img { max-width: 190px; max-height: 68px; width: auto; height: auto; object-fit: contain; }

/* quick profile */
.qgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
         list-style: none; margin: 0; padding: 0; }
.qcard { position: relative; background: var(--card); border: 1px solid var(--line-2);
         border-radius: 6px; padding: 1rem 1.1rem 1.05rem; }
.qdot { display: block; width: 10px; height: 10px; margin-bottom: .6rem; background: var(--line-2); }
.qc-0 .qdot { background: var(--red); }
.qc-1 .qdot { background: var(--blue); }
.qc-2 .qdot { background: var(--yellow); }
.qk { display: block; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
      color: var(--muted); margin-bottom: .25rem; }
.qv { display: block; font-size: 1rem; line-height: 1.4; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.35fr .92fr; gap: 2.6rem; align-items: start; }
.about-cols { columns: 2; column-gap: 2.1rem; }
.about-cols p { color: var(--ink-2); break-inside: avoid; }
.side-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 8px;
             padding: 12px 12px 14px; box-shadow: 0 16px 40px rgba(42, 40, 36, .07);
             transform: translateY(18px); }
.side-photo img { display: block; width: 100%; border-radius: 4px; }
.side-card blockquote { margin: .95rem .2rem 0; font-size: 1.04rem; line-height: 1.45; font-weight: 700; }
.side-card blockquote::before { content: ""; display: block; width: 10px; height: 10px;
                                background: var(--yellow); margin-bottom: .6rem; }
.quote-src { color: var(--muted); font-size: .82rem; margin: .4rem .2rem 0; }

/* career */
.career-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2.6rem; align-items: start; }
.career-text p { color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 1.35rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -1.5rem; top: .45em; margin-left: -5px;
                       width: 10px; height: 10px; background: var(--red); }
.timeline li:nth-child(3n+2)::before { background: var(--blue); }
.timeline li:nth-child(3n+3)::before { background: var(--yellow); }
.timeline .when { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
                  color: var(--muted); margin-bottom: .2rem; }
.timeline .what { display: block; color: var(--ink-2); font-size: .97rem; }

/* gallery */
.gallery { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
.gallery figure { position: relative; margin: 0; background: var(--card); border: 1px solid var(--line-2);
                  border-radius: 6px; padding: 9px; box-shadow: 0 12px 28px rgba(42, 40, 36, .07); }
.gallery img { display: block; width: auto; border-radius: 3px; }
.gallery .gdot { position: absolute; top: 5px; right: 5px; width: 11px; height: 11px; }
.g-1 { margin-top: 26px; }
.g-1 .gdot { background: var(--red); }
.g-2 { margin-top: 0; }
.g-2 .gdot { background: var(--blue); }
.g-3 { margin-top: 52px; }
.g-3 .gdot { background: var(--yellow); }

/* subpages */
.page-top { padding: 2.6rem 0 1.3rem; border-bottom: 1px solid var(--line-2); margin-bottom: 2.3rem; }
.page-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 5.2vw, 3.2rem);
               line-height: 1.02; margin: .1rem 0 .8rem; }
.page-top .lead { color: var(--ink-2); max-width: 64ch; margin: 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.4rem; }
.story h2 { position: relative; font-size: clamp(1.2rem, 2.5vw, 1.55rem);
            margin: 0 0 .9rem; }
.story h2::before { content: ""; position: absolute; left: -1.35rem; top: .42em; width: 11px; height: 11px;
                    background: var(--red); }
.reading .story:nth-of-type(3n+2) h2::before { background: var(--blue); }
.reading .story:nth-of-type(3n+3) h2::before { background: var(--yellow); }
.story p { color: var(--ink-2); }
.dot-list { list-style: none; margin: 0 0 .2rem; padding: 0; }
.dot-list li { position: relative; padding: .5rem 0 .5rem 1.25rem; color: var(--ink-2);
               border-bottom: 1px dashed var(--line-2); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 7px; height: 7px;
                       background: var(--blue); }
.dot-list li:nth-child(2n)::before { background: var(--yellow); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; margin-top: 1rem; }
.credit-col h3 { font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
                 margin: 0 0 .5rem; font-weight: 700; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--ink-2); font-size: .93rem; padding: .32rem 0 .32rem 1.05rem;
                 border-bottom: 1px dashed var(--line-2); position: relative; }
.credit-col li::before { content: ""; position: absolute; left: 0; top: 1em; width: 6px; height: 6px;
                         background: var(--red); }
.credit-col li:nth-child(2n)::before { background: var(--blue); }
.credit-col li:nth-child(3n)::before { background: var(--yellow); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .3rem; }
.stat { background: var(--card); border: 1px solid var(--line-2); border-radius: 6px;
        padding: .9rem 1.2rem; min-width: 158px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.stat span { color: var(--muted); font-size: .85rem; }
.faq-list details { border-bottom: 1px solid var(--line-2); padding: 1rem 0; }
.faq-list summary { font-size: 1.06rem; font-weight: 700; line-height: 1.35; cursor: pointer;
                    list-style: none; display: flex; justify-content: space-between; align-items: flex-start;
                    gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-top: .45rem;
                           border: 2px solid var(--ink); transition: transform .2s ease, background .2s ease; }
.faq-list details[open] summary::after { background: var(--red); border-color: var(--red);
                                         transform: rotate(45deg); }
.faq-list .answer p { color: var(--ink-2); margin: .7rem 0 0; max-width: 74ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line-2); background: var(--foot); padding: 2rem 0 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.02rem; }
.brand-line { color: var(--muted); font-size: .85rem; }
.language-nav { display: flex; flex-wrap: nowrap; gap: .35rem .95rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .87rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.footer-legal { color: var(--muted); font-size: .85rem; 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.8rem; }
  .hero-photo { max-width: 560px; }
  .confetti .c5, .confetti .c6, .confetti .c7, .confetti .c8 { display: none; }
  .about-grid, .career-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .about-cols { columns: 1; }
  .side-card { transform: none; max-width: 420px; }
  .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { flex-wrap: wrap; 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: .55rem .7rem; }
  .main-nav a { font-size: .84rem; }
  .story h2 { padding-left: 1.45rem; }
  .story h2::before { left: 0; }
  .hero { padding: 2.2rem 0 1.8rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { height: 118px; }
  .partner-card img { max-width: 132px; max-height: 50px; }
  .qgrid { grid-template-columns: 1fr; }
  .gallery { gap: 1.1rem; }
  .g-1, .g-2, .g-3 { margin-top: 0; }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.1rem 0; }
  .side-card { max-width: 100%; }
}
