/* conniecarterweb.com · Crystal */
:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --panel-2: #eef1f5;
  --ink: #2b2b35;
  --smoke: #4a4a54;
  --muted: #63636f;
  --amethyst: #7a5a9a;
  --amethyst-deep: #634a7e;
  --amethyst-soft: #b3a1c9;
  --line: #dcdfe6;
  --line-soft: #e8ebf0;
  --radius: 4px;
  --shell: 1150px;
  --display: 'IM Fell DW Pica', Georgia, 'Times New Roman', serif;
  --body: 'Laila', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--smoke);
  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; }
.shell-narrow { max-width: 812px; }
h1, h2, h3 { color: var(--ink); }
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.14;
  letter-spacing: .005em;
  margin: 0 0 .6rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amethyst);
  margin: 0 0 .65rem;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--amethyst) 0 50%, var(--amethyst-soft) 50% 100%);
}
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.5rem; }
.note { color: var(--muted); font-size: .88rem; margin: 1.1rem 0 0; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 248, .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: .78rem 24px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: .01em;
  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(--smoke);
  text-decoration: none;
  font-size: .9rem;
  position: relative;
  padding: .12rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 0;
  background: var(--amethyst);
  transition: width .22s ease;
}
.main-nav a:hover { color: var(--amethyst); }
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"]::after { width: 100%; background: var(--amethyst-soft); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--amethyst);
  color: #ffffff;
  font-family: var(--body);
  font-weight: 600;
  font-size: .93rem;
  line-height: 1.2;
  padding: .64rem 1.18rem;
  text-decoration: none;
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn:hover {
  background: var(--amethyst-deep);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(99, 74, 126, .28);
  transform: translateY(-1px);
}
.btn-sm { padding: .4rem .85rem; font-size: .82rem; }
.main-nav a.btn { color: #ffffff; }
.main-nav a.btn:hover { color: #ffffff; background: var(--amethyst-deep); }

/* hero */
.hero { padding: 2.3rem 0 1.2rem; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 2.6rem; align-items: center; }
.hero-kicker {
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amethyst);
  margin: 0 0 .9rem;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.45rem, 5.4vw, 4.05rem);
  line-height: 1.02;
  letter-spacing: .004em;
  margin: 0 0 1rem;
}
.hero-accent { color: var(--amethyst); }
.hero-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--smoke);
  max-width: 34ch;
  margin: 0 0 .95rem;
}
.hero-intro { color: var(--muted); max-width: 47ch; margin: 0 0 1.6rem; }
.hero-figure { position: relative; margin: 0; }
.hero-facets {
  position: absolute;
  left: -58px;
  bottom: -44px;
  width: 52%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}
.hero-frame {
  position: relative;
  z-index: 1;
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 10px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  box-shadow: 0 30px 60px rgba(43, 43, 53, .12);
}
.hero-frame img { display: block; width: 100%; height: auto; }

/* sections */
.section { padding: 2.6rem 0; }
.section-tight { padding-top: 1rem; }
.section-last { padding-bottom: 3.6rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 14px; }
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  border: 1px solid var(--line);
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.partner-card:hover {
  border-color: var(--amethyst-soft);
  box-shadow: 0 14px 30px rgba(122, 90, 154, .14);
  transform: translateY(-2px);
}
.partner-card img { max-width: 190px; max-height: 64px; width: auto; height: auto; object-fit: contain; }

/* quick profile chips */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.chip {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 3px;
  padding: .5rem .95rem;
}
.chip .k {
  font-weight: 600;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amethyst);
}
.chip .v { font-size: .93rem; color: var(--smoke); }

/* facet cards */
.facets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.5rem; }
.facet-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.2rem 1.2rem 1.3rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.facet-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--amethyst), rgba(122, 90, 154, 0));
}
.facet-tag {
  font-weight: 600;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amethyst);
  margin: 0 0 .45rem;
}
.facet-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.22rem;
  line-height: 1.22;
  margin: 0 0 .5rem;
}
.facet-card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* about */
.about-grid { display: grid; grid-template-columns: .58fr 1.42fr; gap: 2.4rem; align-items: start; }
.portrait-frame { margin: 0; max-width: 320px; }
.facet-clip {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 8px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.facet-clip img { display: block; width: 100%; height: auto; }
.about-text p { margin: 0 0 1.05rem; color: var(--smoke); }

/* career split */
.career-wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: 2.6rem; align-items: start; }
.career-text p { color: var(--smoke); margin: 0 0 1rem; }

/* timeline as a faceted polyline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; }
.timeline li { position: relative; padding: 0 0 1.3rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: .58em;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--amethyst) 0 50%, var(--amethyst-soft) 50% 100%);
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -22px;
  top: calc(.58em + 17px);
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, var(--amethyst-soft), var(--line-soft));
  transform: rotate(6deg);
  transform-origin: top center;
}
.timeline li:nth-child(even):not(:last-child)::after { transform: rotate(-6deg); }
.timeline .when {
  display: block;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--amethyst);
  margin-bottom: .12rem;
}
.timeline .what { display: block; color: var(--smoke); font-size: .95rem; }

/* gallery 2x2 */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-top: .9rem; }
.g-item { margin: 0; }
.g-item .facet-clip { padding: 9px; }
.g-1 img, .g-2 img, .g-3 img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 24%;
  height: auto;
}
.g-4 { align-self: center; margin-top: 4px; }
.g-4 img { aspect-ratio: 900 / 506; object-fit: cover; height: auto; }

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

/* subpages */
.page-top { padding: 2.5rem 0 1.3rem; }
.page-top h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  line-height: 1.05;
  margin: .1rem 0 .75rem;
}
.page-top .lead { color: var(--muted); margin: 0; max-width: 72ch; }
.reading { padding-bottom: 2.6rem; }
.story { margin: 0 0 2.4rem; }
.story h2 { font-size: clamp(1.3rem, 2.6vw, 1.62rem); margin: 0 0 .75rem; }
.story p { color: var(--smoke); margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li {
  position: relative;
  color: var(--smoke);
  padding: .55rem 0 .55rem 1.35rem;
  border-bottom: 1px dashed var(--line-soft);
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--amethyst) 0 50%, var(--amethyst-soft) 50% 100%);
}
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; margin-top: 1.1rem; }
.credit-col h3 {
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amethyst);
  margin: 0 0 .5rem;
}
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--smoke); font-size: .9rem; padding: .3rem 0; border-bottom: 1px dashed var(--line-soft); }
.stat-strip { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .4rem; }
.stat {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: .85rem 1.1rem;
  min-width: 140px;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.32rem; color: var(--amethyst); }
.stat span { color: var(--muted); font-size: .84rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--ink);
  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(--amethyst); font-weight: 600; }
.faq-list details[open] summary::after { content: "/"; color: var(--amethyst-deep); }
.faq-list .answer p { color: var(--smoke); margin: .7rem 0 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); padding: 1.9rem 0 2.1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.08rem; color: var(--ink); }
.brand-line { color: var(--muted); font-size: .82rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .95rem; justify-self: center; }
.language-nav a { color: var(--smoke); text-decoration: none; font-size: .86rem; }
.language-nav a:hover { color: var(--amethyst); }
.language-nav a[aria-current="page"] { color: var(--amethyst); font-weight: 600; }
.footer-legal { color: var(--muted); font-size: .82rem; margin: 0; text-align: right; justify-self: end; max-width: 340px; }

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

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-facets { left: auto; right: -14px; bottom: -26px; width: 46%; }
  .about-grid, .career-wrap { grid-template-columns: 1fr; gap: 1.8rem; }
  .facets { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { justify-self: start; }
  .footer-legal { text-align: left; justify-self: start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .45rem .9rem; }
  .main-nav { gap: .65rem .85rem; }
  .main-nav a { font-size: .85rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 118px; }
  .partner-card img { max-width: 128px; max-height: 50px; }
  .gallery { grid-template-columns: 1fr; }
  .g-4 { align-self: stretch; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .15rem; }
  .section { padding: 2.1rem 0; }
}
