/* ============================================================
   Aclara Advanced Materials — handcrafted site stylesheet
   Register: JAMA Network / 3M — restrained, scientific, evidence-first
   ============================================================ */

:root {
  --paper: #fcfcfa;
  --panel: #f4f5f2;
  --white: #ffffff;
  --ink: #171a1e;
  --body: #2b2f35;
  --muted: #5b6470;
  --faint: #8a93a0;
  --line: #dfe3e7;
  --line-dark: #b9c0c8;
  --rose: #b02a5c;
  --rose-deep: #8c2148;
  --rose-tint: #f6e8ee;
  --navy: #1f3550;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Menlo", "Consolas", monospace;

  --maxw: 1060px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); line-height: 1.2; margin: 0 0 .5em; }
h3 { font-size: 1.13rem; margin: 0 0 .4em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--rose-deep); text-decoration: none; border-bottom: 1px solid #d8a7bc; }
a:hover { color: var(--rose); }

strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 1rem;
}
.eyebrow .no-accent { color: var(--faint); }

.lede { font-size: 1.16rem; line-height: 1.6; color: var(--muted); max-width: 46em; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: none; }
.section.tight { padding: 44px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

@media (max-width: 1060px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
}

/* ---------- masthead / nav ---------- */
.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.wordmark { display: flex; align-items: baseline; gap: 10px; border: none; }
.wordmark:hover { border: none; }
.wordmark .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--ink);
}
.wordmark .name .dot { color: var(--rose); }
.wordmark .sub {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--body);
  border: none;
  padding: 4px 0;
}
.nav a:hover { color: var(--rose-deep); }
.nav a.active { color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.nav a.cta {
  color: var(--white);
  background: var(--rose-deep);
  padding: 8px 16px;
  border-radius: 2px;
  font-weight: 600;
}
.nav a.cta:hover { background: var(--rose); color: var(--white); }
@media (max-width: 920px) {
  .nav a:not(.cta) { display: none; }
}

/* ---------- hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 72px;
  align-items: center;
}
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding: 48px 24px; } }

.hero .lede { margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6rem; }
.btn {
  display: inline-block;
  font-size: .88rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 2px;
  border: 1px solid var(--rose-deep);
}
.btn.solid { background: var(--rose-deep); color: var(--white); }
.btn.solid:hover { background: var(--rose); border-color: var(--rose); }
.btn.ghost { color: var(--rose-deep); background: transparent; }
.btn.ghost:hover { background: var(--rose-tint); }

/* ---------- figures (journal treatment) ---------- */
figure { margin: 0; }
figure img, figure video {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
}
figcaption {
  font-size: .8rem;
  color: var(--muted);
  padding: 10px 2px 0;
  line-height: 1.45;
}
figcaption .figtag { font-weight: 700; color: var(--ink); letter-spacing: .04em; }
figure.dark img { border-color: #0d0f12; }

/* ---------- stat band ---------- */
.stats {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 34px;
  padding-bottom: 34px;
}
.stat { padding: 0 26px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 6px;
}
.stat .num .accent { color: var(--rose); }
.stat .lbl { font-size: .78rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .stat { padding: 0 18px; }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
}

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 26px 22px;
  border-radius: 2px;
}
.card .k {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 10px;
}
.card h3 a { color: var(--ink); border: none; }
.card h3 a:hover { color: var(--rose-deep); }
.card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }
.card .more { font-size: .82rem; font-weight: 600; display: inline-block; margin-top: 14px; }

/* ---------- people (executive cards) ---------- */
.person { background: var(--white); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; display: flex; align-items: stretch; }
.person img { display: block; flex: 0 0 176px; width: 176px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 15%; border-right: 1px solid var(--line); }
.person .body { flex: 1 1 auto; padding: 20px 22px; }
.person h3 { margin: 0 0 4px; font-size: 1.12rem; }
.person .role { font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 12px; }
.person p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 620px) {
  .person img { flex-basis: 120px; width: 120px; }
  .person .body { padding: 16px 18px; }
}

/* ---------- tables (docket style) ---------- */
table.docket {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  background: var(--white);
  border: 1px solid var(--line);
}
table.docket th {
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--panel);
}
table.docket td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.docket tr:last-child td { border-bottom: none; }
table.docket .b { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- spec list ---------- */
.specs { border-top: 2px solid var(--ink); }
.specs .row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}
.specs .row .k { font-weight: 600; color: var(--ink); }
.specs .row .v { color: var(--muted); }
@media (max-width: 700px) { .specs .row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- timeline ---------- */
.timeline { border-left: 2px solid var(--line-dark); margin-left: 8px; padding-left: 0; }
.t-item { list-style: none; position: relative; padding: 0 0 30px 34px; }
.t-item:last-child { padding-bottom: 0; }
.t-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rose);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--rose-deep);
}
.t-item .when {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 4px;
}
.t-item h3 { margin-bottom: 4px; }
.t-item p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- partner strip ---------- */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  align-items: baseline;
  padding: 22px 0 4px;
}
.partners .p {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  border: none;
}
.partners .p:hover { color: var(--rose-deep); }
.partners .tag {
  font-size: .68rem;
  color: var(--faint);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-left: 7px;
  font-family: var(--sans);
  font-weight: 500;
}

/* ---------- quote / note band ---------- */
.note {
  background: var(--rose-tint);
  border-left: 3px solid var(--rose);
  padding: 18px 22px;
  font-size: .9rem;
  color: var(--ink);
}
.note p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--white); border-top: 1px solid var(--line); }
.cta-band .wrap { padding-top: 58px; padding-bottom: 58px; text-align: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band .lede { margin: 0 auto 1.8rem; }
.cta-band .lede.center { text-align: center; }
.mail {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rose-deep);
  border: none;
}
.mail:hover { color: var(--rose); }

/* ---------- page head (interior pages) ---------- */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 52px; padding-bottom: 52px; }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink);
  color: #aeb6c0;
  margin-top: 72px;
}
footer.site .wrap {
  padding-top: 44px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  font-size: .85rem;
}
footer.site h4 {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 14px;
}
footer.site a { color: #d8dde3; border: none; }
footer.site a:hover { color: var(--white); }
footer.site .legal { color: #79828d; font-size: .78rem; line-height: 1.6; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 9px; }
footer.site .fwordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
footer.site .fwordmark .dot { color: #e05c8c; }
@media (max-width: 860px) { footer.site .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- misc ---------- */
.small { font-size: .84rem; color: var(--muted); }
.rule-ink { border: none; border-top: 2px solid var(--ink); margin: 0 0 22px; }
.two-col { columns: 2; column-gap: 44px; }
@media (max-width: 760px) { .two-col { columns: 1; } }
.video-note { font-size: .8rem; color: var(--muted); margin-top: 8px; }
