/* cecelia-taylor.com · Constellation (star-chart paper, point-and-line network) */
:root {
  --paper: #faf8f2;
  --panel: #ffffff;
  --tint: #f2efe6;
  --ink: #253858;
  --text: #45506a;
  --muted: #636c7f;
  --gold: #c8a24a;
  --gold-line: rgba(200, 162, 74, .55);
  --dash: #c6cad4;
  --radius: 4px;
  --shell: 1180px;
  --display: 'Metrophobic', 'DM Mono', system-ui, sans-serif;
  --body: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  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 26px; }
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--ink);
  margin: 0 0 .7rem;
}
.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .8rem;
}
.section-sub { color: var(--muted); max-width: 64ch; margin: 0 0 1.9rem; }
.note { color: var(--muted); font-size: .86rem; margin: 1.1rem 0 0; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px dashed var(--dash);
}
.header-inner { display: flex; align-items: center; justify-content: space-between;
                gap: 1.2rem; padding: .85rem 26px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-size: 1.1rem; letter-spacing: .02em;
            text-decoration: none; color: var(--ink); white-space: nowrap;
            display: inline-flex; align-items: center; gap: .55rem; }
.wm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
          box-shadow: 0 0 0 3px var(--gold-line); }
.main-nav { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.main-nav a { color: var(--text); text-decoration: none; font-size: .88rem;
              position: relative; padding: .15rem 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
                     border-bottom: 1px dashed var(--gold); transition: width .22s ease; }
.main-nav a:hover { color: var(--ink); }
.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%; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--ink);
  font-family: var(--display); font-size: .95rem; letter-spacing: .02em;
  border-radius: 3px; padding: .72rem 1.35rem; text-decoration: none;
  border: 1px solid rgba(37, 56, 88, .12);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.btn:hover { background: var(--ink); color: var(--paper); box-shadow: 0 10px 26px rgba(37, 56, 88, .22); }
.btn:hover::before { background: var(--gold); }
.btn-sm { padding: .42rem .95rem; font-size: .84rem; }
/* explicit override: .main-nav a wins on color unless restated here */
.main-nav a.btn { color: var(--ink); }
.main-nav a.btn:hover { color: var(--paper); }

/* hero */
.hero {
  padding: 2.7rem 0 2.5rem;
  border-bottom: 1px dashed var(--dash);
  background-image: radial-gradient(rgba(37, 56, 88, .055) 1px, transparent 1.2px);
  background-size: 27px 27px;
}
.hero-inner { display: grid; grid-template-columns: .94fr 1.06fr; gap: 3rem; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem;
          letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.1rem; }
.k-star { width: 11px; height: 11px; background: var(--gold);
          clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.hero-title { font-family: var(--display); font-weight: 400; color: var(--ink);
              font-size: clamp(2.5rem, 6vw, 4.3rem); line-height: 1; letter-spacing: .005em;
              margin: 0 0 1.15rem; }
.hero-tagline { font-family: var(--display); color: var(--ink); font-size: 1.12rem;
                line-height: 1.42; margin: 0 0 .95rem; max-width: 34ch; }
.hero-intro { color: var(--text); max-width: 52ch; margin: 0 0 1.8rem; font-size: .96rem; }

/* star-chart frame: dashed outline, four corner points, connecting edges */
.chart-frame {
  position: relative;
  background: var(--panel);
  border: 1px dashed var(--dash);
  padding: 13px;
  margin: 0;
}
.c-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%;
         background: var(--gold); box-shadow: 0 0 0 3px var(--gold-line); z-index: 2; }
.c-dot.tl { top: -5px; left: -5px; }
.c-dot.tr { top: -5px; right: -5px; }
.c-dot.bl { bottom: -5px; left: -5px; }
.c-dot.br { bottom: -5px; right: -5px; }
.c-star { position: absolute; width: 13px; height: 13px; background: var(--gold);
          clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
          z-index: 2; }
.cs-1 { top: 34%; left: -20px; }
.cs-2 { bottom: -19px; right: 26%; width: 10px; height: 10px; }
.hero-photo img { display: block; width: 100%; height: clamp(400px, 58vh, 620px);
                  object-fit: cover; object-position: center 4%; }
.hero-photo { box-shadow: 0 24px 60px rgba(37, 56, 88, .12); }

/* sections */
.section { padding: 3.2rem 0; border-bottom: 1px dashed var(--dash); }
.section-tight { padding-top: 2.1rem; }
.section-last { padding-bottom: 4.6rem; border-bottom: 0; }

/* 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; background: var(--panel);
                border: 1px dashed var(--dash); border-radius: var(--radius);
                transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { border-color: var(--gold); box-shadow: 0 12px 30px rgba(37, 56, 88, .12);
                      transform: translateY(-2px); }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile: charted coordinates */
.star-table { list-style: none; margin: 0; padding: 0;
              display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.2rem; }
.star-table li { display: flex; align-items: baseline; gap: .6rem;
                 padding: .66rem 0; border-bottom: 1px dashed var(--dash); }
.star-table .k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
                 color: var(--muted); white-space: nowrap; }
.star-table .leader { flex: 1; border-bottom: 1px dotted var(--dash); transform: translateY(-3px); }
.star-table .v { color: var(--ink); font-weight: 500; text-align: right; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 2.8rem; align-items: start; }
.about-text p { margin: 0 0 1.15rem; }
.about-card { background: var(--panel); }
.about-card img { display: block; width: 100%; height: auto; }
.about-card blockquote { font-family: var(--display); color: var(--ink);
                         font-size: 1.06rem; line-height: 1.45; margin: 1.1rem .2rem .4rem; }
.about-card .q-src { color: var(--muted); font-size: .8rem; margin: 0 .2rem .2rem; }

/* timeline: linked star points */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem;
            border-left: 1px dashed var(--dash); }
.timeline li { position: relative; padding: 0 0 1.45rem; }
.timeline li:last-child { padding-bottom: .2rem; }
.timeline li::before { content: ""; position: absolute; left: -1.6rem; top: .52em;
                       width: 9px; height: 9px; margin-left: -5px; border-radius: 50%;
                       background: var(--gold); box-shadow: 0 0 0 4px rgba(200, 162, 74, .2); }
.timeline .when { display: block; font-weight: 500; color: var(--ink); font-size: .84rem;
                  letter-spacing: .06em; margin-bottom: .16rem; }
.timeline .what { display: block; color: var(--text); font-size: .95rem; }

/* gallery: 2 x 2 with point-and-line frames */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; }
.g-a { grid-column: 1 / 3; }
.g-a img { height: clamp(220px, 30vw, 366px); object-fit: cover; object-position: center 35%; }
.g-b img { height: 440px; object-fit: cover; object-position: center 22%; }
.g-c img { height: 440px; object-fit: cover; object-position: center 30%; }

/* social */
.social-list { border-top: 1px dashed var(--dash); }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: 1rem .35rem; border-bottom: 1px dashed var(--dash); text-decoration: none;
              transition: background .18s ease, padding .18s ease; }
.social-row .platform { font-family: var(--display); color: var(--ink); font-size: 1.12rem; }
.social-row .handle { color: var(--muted); font-size: .88rem; }
.social-row:hover { background: var(--tint); padding-left: .8rem; }
.social-row:hover .platform { color: var(--ink); }

/* subpages */
.page-top { padding: 2.7rem 0 1.5rem; border-bottom: 1px dashed var(--dash); margin-bottom: 2.5rem; }
.page-top h1 { font-family: var(--display); font-weight: 400; color: var(--ink);
               font-size: clamp(1.95rem, 4.6vw, 2.9rem); line-height: 1.05;
               margin: .2rem 0 .85rem; }
.page-top .lead { color: var(--muted); max-width: 64ch; margin: 0; }
.reading { max-width: 78ch; }
.story { margin: 0 0 2.6rem; }
.story h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin: 0 0 .85rem; }
.story p { margin: 0 0 1rem; }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { padding: .6rem 0 .6rem 1.15rem; position: relative; border-bottom: 1px dashed var(--dash); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.2em; width: 6px; height: 6px;
                       border-radius: 50%; background: var(--gold); }
.dot-list li b { color: var(--ink); font-weight: 500; }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 1.3rem; }
.credit-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.credit-col h3 { font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
                 color: var(--muted); margin: 0 0 .5rem; font-family: var(--body); }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { font-size: .9rem; padding: .32rem 0; border-bottom: 1px dashed var(--dash); }
.year-table { list-style: none; margin: 0; padding: 0; }
.year-table li { display: flex; align-items: baseline; gap: .6rem; padding: .5rem 0;
                 border-bottom: 1px dashed var(--dash); }
.year-table .y { color: var(--ink); font-weight: 500; }
.year-table .leader { flex: 1; border-bottom: 1px dotted var(--dash); transform: translateY(-3px); }
.year-table .n { color: var(--text); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.stat { border: 1px dashed var(--dash); background: var(--panel); padding: .95rem 1.25rem; min-width: 152px; }
.stat b { display: block; font-family: var(--display); color: var(--ink); font-size: 1.35rem; font-weight: 400; }
.stat span { color: var(--muted); font-size: .82rem; }
.faq-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.faq-list > li { display: grid; grid-template-columns: 3.3rem 1fr; gap: 1.1rem;
                 padding: 1.5rem 0; border-bottom: 1px dashed var(--dash); }
.faq-num { font-weight: 500; color: var(--muted); letter-spacing: .12em; font-size: .95rem; }
.faq-body h2 { font-family: var(--display); color: var(--ink); font-size: 1.1rem; margin: 0 0 .5rem; }
.faq-body p { margin: 0; }

/* footer */
.site-footer { border-top: 1px dashed var(--dash); background: var(--tint); padding: 2.2rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.2rem; 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: .82rem; }
.language-nav { display: flex; flex-wrap: nowrap; gap: .3rem .85rem; justify-content: center; white-space: nowrap; }
.language-nav a { color: var(--text); text-decoration: none; font-size: .85rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.footer-legal { color: var(--text); font-size: .82rem; margin: 0; text-align: right; }
.nb { white-space: nowrap; }

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

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-photo img { height: clamp(380px, 62vw, 620px); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .language-nav { flex-wrap: wrap; white-space: normal; justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 780px) {
  body { font-size: 15.5px; }
  .site-header { position: static; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .3rem .8rem; padding-top: .55rem; padding-bottom: .55rem; }
  .main-nav { gap: .45rem .8rem; }
  .main-nav a { font-size: .8rem; }
  .btn-sm { padding: .34rem .7rem; font-size: .78rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 124px; }
  .partner-card img { max-width: 136px; max-height: 52px; }
  .star-table { grid-template-columns: 1fr; column-gap: 0; }
  .star-table .v { text-align: right; }
  .timeline { padding-left: 1.3rem; }
  .timeline li::before { left: -1.3rem; }
  .gallery { grid-template-columns: 1fr; }
  .g-a { grid-column: auto; }
  .g-a img, .g-b img, .g-c img { height: auto; }
  .g-b img { aspect-ratio: 4 / 5; object-position: center 20%; }
  .credit-grid, .credit-grid-2 { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .2rem; }
  .faq-list > li { grid-template-columns: 2.4rem 1fr; gap: .7rem; }
  .section { padding: 2.5rem 0; }
  .cs-1 { left: -8px; }
}
