/* carolinasweetsweb.com : Peony (Crete Round + Volkhov)
   Contrast pairs on this sheet (WCAG, computed in check.py):
   .main-nav a           #6B5B60 on .site-header #FDF9F6
   .main-nav a:hover     #2F2728 on .site-header #FDF9F6
   .main-nav a[aria-current=page] #2F2728 on .site-header #FDF9F6
   .main-nav a.btn       #FDF9F6 on .btn #2F2728
   .main-nav a.btn:hover #FDF9F6 on .btn:hover #463B3D
   .btn / .btn:hover     same foreground, same two backgrounds
*/
:root {
  --paper: #FDF9F6;
  --paper-2: #FBF2EE;
  --ink: #2F2728;
  --soft: #4A4041;
  --muted: #6B5B60;
  --pink: #C77E96;
  --pink-line: #E7CDD5;
  --gold: #B8913E;
  --line: #EADDD9;
  --shell: 1180px;
  --display: 'Crete Round', 'Volkhov', Georgia, serif;
  --body: 'Volkhov', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  -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); font-weight: 400; letter-spacing: 0; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.16; margin: 0 0 .65rem; }
.section-sub { color: var(--muted); max-width: 60ch; margin: 0 0 1.8rem; }
.note { color: var(--muted); font-size: .9rem; margin: 1.1rem 0 0; max-width: 74ch; }
.dot { color: var(--pink); }
.eyebrow {
  font-family: var(--display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--soft); margin: 0 0 .8rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::after { content: ""; flex: 0 0 34px; height: 1px; background: var(--pink-line); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #FDF9F6;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .85rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.12rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.main-nav a {
  color: #6B5B60;
  text-decoration: none; font-size: .93rem; padding: .12rem 0; border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.main-nav a:hover { color: #2F2728; border-bottom-color: var(--pink); }
.main-nav a[aria-current="page"] { color: #2F2728; border-bottom-color: var(--pink); }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #2F2728; color: #FDF9F6;
  border: 1px solid #2F2728; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: .95rem;
  padding: .72rem 1.4rem; text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.btn:hover { background: #463B3D; border-color: #463B3D; color: #FDF9F6; }
.btn-sm { padding: .42rem 1rem; font-size: .85rem; }
.main-nav a.btn { color: #FDF9F6; border-bottom: 1px solid #2F2728; }
.main-nav a.btn:hover { color: #FDF9F6; border-bottom-color: #463B3D; }

/* hero */
.hero { padding: 3.1rem 0 1.6rem; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 2.9rem; align-items: center; }
.hero-kicker { font-family: var(--display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin: 0 0 1.1rem; }
.hero-head { display: flex; align-items: center; gap: 1.2rem; }
.hero-title { font-size: clamp(2.7rem, 6.4vw, 4.6rem); line-height: .96; margin: 0 0 1.1rem; }
.peony { flex: 0 0 auto; opacity: .95; }
.hero-tagline { font-family: var(--display); font-size: 1.2rem; line-height: 1.42; margin: 0 0 .95rem; max-width: 32ch; }
.hero-intro { color: var(--soft); max-width: 50ch; margin: 0 0 1.7rem; }
.hero-photo {
  margin: 0; border-radius: 30px; overflow: hidden; border: 1px solid var(--pink-line);
  background: var(--paper-2); box-shadow: 0 18px 46px rgba(47, 39, 40, .1);
}
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 16%; }

/* sections */
.section { padding: 2.9rem 0; }
.section-tight { padding-top: 1.1rem; }
.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: 16px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.partner-card:hover { border-color: var(--pink); box-shadow: 0 10px 26px rgba(199, 126, 150, .16); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile: thin-line two-column list */
.fact-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.2rem; }
.fact {
  display: flex; align-items: baseline; gap: 1rem; justify-content: space-between;
  padding: .72rem 0; border-bottom: 1px solid var(--line);
}
.fact dt { font-family: var(--display); font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0; text-align: right; font-size: .98rem; }
.fact-wide { grid-column: 1 / -1; }
.fact-wide dt { text-transform: none; letter-spacing: .02em; font-size: .95rem; color: var(--ink); }

/* about: photo left, two text columns right */
.split { display: grid; grid-template-columns: .82fr 1.5fr; gap: 2.8rem; align-items: start; }
.split-media { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--pink-line); background: var(--paper-2); }
.split-media img { display: block; width: 100%; height: auto; }
.cols { columns: 2; column-gap: 2.3rem; }
.cols p { margin: 0 0 1.05rem; color: var(--soft); break-inside: avoid; }
.pull { margin: 1.6rem 0 0; padding: 1.1rem 0 0 1.35rem; border-top: 1px solid var(--line); border-left: 1px solid var(--pink-line); }
.pull p { font-family: var(--display); font-size: 1.12rem; line-height: 1.5; margin: 0 0 .4rem; }
.pull cite { font-style: normal; font-size: .84rem; color: var(--muted); }

/* career: petal-node timeline */
.career-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2.9rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--pink-line); }
.timeline li { position: relative; padding: 0 0 1.45rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -1.5rem; top: .5em; width: 9px; height: 13px; margin-left: -5px;
  background: #fff; border: 1.5px solid var(--pink); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transform: rotate(-24deg);
}
.timeline .when { display: block; font-family: var(--display); font-size: .88rem; color: var(--soft); margin-bottom: .16rem; }
.timeline .what { display: block; color: var(--soft); font-size: .97rem; }

/* gallery: three staggered portraits */
.gallery { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 22px; align-items: start; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--pink-line); background: var(--paper-2); }
.gallery img { display: block; width: 100%; height: auto; }
.g-1 { margin-top: 0; }
.g-2 { margin-top: 54px; }
.g-3 { margin-top: 108px; }
.g-3 img { aspect-ratio: 1 / 1; object-fit: cover; }

/* social: thin-line capsules */
.capsule-wrap { display: flex; flex-wrap: wrap; gap: .7rem; }
.capsule {
  display: inline-flex; align-items: baseline; gap: .7rem; text-decoration: none;
  border: 1px solid var(--pink-line); border-radius: 999px; padding: .6rem 1.2rem; background: #fff;
  transition: border-color .2s ease, background .2s ease;
}
.capsule .platform { font-family: var(--display); font-size: .95rem; }
.capsule .handle { color: var(--muted); font-size: .88rem; }
.capsule:hover { border-color: var(--pink); background: var(--paper-2); }
.capsule:hover .platform { color: #8E4E66; }

/* subpages */
.page-top { padding: 2.7rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.4rem; }
.page-top h1 { font-size: clamp(2.05rem, 5vw, 3.1rem); line-height: 1.04; margin: .1rem 0 .8rem; }
.page-top .lead { color: var(--muted); max-width: 62ch; margin: 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.5rem; }
.story h2 { font-size: clamp(1.28rem, 2.7vw, 1.62rem); margin: 0 0 .8rem; }
.story p { color: var(--soft); margin: 0 0 1rem; }
.petal-list { list-style: none; margin: 0; padding: 0; }
.petal-list li { position: relative; color: var(--soft); padding: .6rem 0 .6rem 1.5rem; border-bottom: 1px solid var(--line); }
.petal-list li::before {
  content: ""; position: absolute; left: 3px; top: 1.05em; width: 8px; height: 11px;
  background: #fff; border: 1.5px solid var(--pink); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transform: rotate(-24deg);
}
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 1.3rem; }
.credit-col h3 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .55rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .93rem; padding: .34rem 0; border-bottom: 1px solid var(--line); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.stat { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: .95rem 1.3rem; min-width: 154px; }
.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: .86rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq-list summary {
  font-family: var(--display); font-size: 1.08rem; 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(--pink); }
.faq-list details[open] summary::after { content: "-"; color: var(--gold); }
.faq-list .answer p { color: var(--soft); margin: .7rem 0 0; max-width: 74ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 2.1rem 0 2.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 1.2rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.footer-name { font-family: var(--display); text-decoration: none; color: var(--ink); }
.footer-line { color: var(--muted); font-size: .86rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .95rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .88rem; border-bottom: 1px solid transparent; }
.language-nav a:hover { color: var(--ink); border-bottom-color: var(--pink); }
.language-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--pink-line); }
.footer-legal { color: var(--muted); font-size: .86rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4.6rem 0 5.4rem; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .hero-photo { max-width: 520px; }
  .split, .career-split { grid-template-columns: 1fr; gap: 1.9rem; }
  .split-media { max-width: 440px; }
  .cols { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .55rem 1rem; }
  .main-nav { gap: .65rem .9rem; }
  .main-nav a { font-size: .86rem; }
  .hero { padding-top: 2.2rem; }
  .peony { width: 76px; height: 76px; }
  .hero-head { gap: .7rem; }
  .fact-list { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 118px; }
  .partner-card img { max-width: 130px; max-height: 50px; }
  .gallery { grid-template-columns: 1fr; }
  .g-2, .g-3 { margin-top: 0; }
  .credit-grid { grid-template-columns: 1fr; }
  .section { padding: 2.3rem 0; }
  .timeline .what { font-size: .94rem; }
}
