/* CV Compiler /cv-review. Mostly white, left-aligned serif headings, straight hairline rules,
   an upload bar that bridges the hero and a pale plum band, soft plum and teal accents.
   Page-only stylesheet: every rule is scoped by this file and the body class "cvr". */

@font-face { font-family: "Space Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/uploads-pre-acq/fonts/SpaceMonoRegular/SpaceMonoRegular.woff2") format("woff2"); }
@font-face { font-family: "Cerebri Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/partner-review/vendor/fonts/CerebriSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Cerebri Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/assets/partner-review/vendor/fonts/CerebriSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Cerebri Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/partner-review/vendor/fonts/CerebriSans-SemiBold.woff2") format("woff2"); }

:root {
  --white: #ffffff;
  --ink: #18151b;
  --ink-soft: #45404a;
  --ink-faint: #655f6b;
  --plum: #5a3a63;
  --plum-deep: #3f2646;
  --plum-pale: #f6f0f7;
  --plum-tint: #eadfee;
  --plum-line: #d9c9de;
  --teal: #1a6f69;
  --teal-deep: #0f514d;
  --teal-pale: #e9f4f2;
  --teal-tint: #cfe8e4;
  --teal-line: #bcdcd7;
  --sand-tint: #f6e7c6;
  --purple: #4a2de0;
  --purple-dark: #3a20c2;
  --rule: rgba(24, 21, 27, 0.14);
  --rule-strong: rgba(24, 21, 27, 0.32);
  --error: #a3211a;

  --sans: "Cerebri Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Space Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;

  --fs-micro: 0.75rem;
  --fs-tag: 0.8125rem;
  --fs-small: 0.9375rem;
  --fs-note: 1.0625rem;
  --fs-body: 1.125rem;
  --fs-lead: 1.3125rem;
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.3125rem, 1.2rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.625rem, 1.7rem + 3.9vw, 4.25rem);
  --fs-h1-out: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  --fs-btn: 1rem;
  --fs-brand: 1.1875rem;
  --fs-cv: 0.9375rem;
  --fs-cv-name: 1.375rem;

  --gutter: 32px;
  --wrap: 1160px;
  --gap: clamp(64px, 8vw, 116px);
  --radius: 4px;
  --bridge: 46px;
  --ease: cubic-bezier(0.2, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.cvr {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }
.nw { white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -80px; padding: 12px 18px;
  background: var(--ink); color: #fff; font-size: var(--fs-small); font-weight: 600; border-radius: var(--radius);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.018em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }

.cvr main a:not(.btn) { color: var(--purple-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cvr main a:not(.btn):hover { text-decoration-thickness: 2px; }
.prose > * + * { margin-top: 1.05em; }
.prose > h3 + p { margin-top: 0.55em; }
.prose > p + h3 { margin-top: 1.7em; }
.lede { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }

/* Every section opens on a straight rule with its label sitting on it. */
.kick {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding-top: 14px;
  border-top: 1px solid var(--ink);
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.08em; line-height: 1.5;
  text-transform: uppercase; color: var(--ink-faint);
}
.kick b { font-weight: 400; color: var(--teal); }
.micro { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.08em; line-height: 1.5; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 13px 26px; border: 0; border-radius: var(--radius);
  background: var(--purple); color: #fff; font-size: var(--fs-btn); font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(24, 21, 27, 0.22);
  transition: background-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 5px 14px rgba(58, 32, 194, 0.26); }
.btn:active { transform: none; }
.btn[disabled] { background: #8f8ca6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--small { min-height: 44px; padding: 9px 18px; font-size: var(--fs-small); }
.btn--quiet {
  min-height: 44px; padding: 9px 16px; background: var(--white); color: var(--ink); font-size: var(--fs-small);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
}
.btn--quiet:hover { background: var(--plum-pale); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- Header ---------- */
.top { border-bottom: 1px solid var(--rule); background: var(--white); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand {
  font-family: var(--mono); font-weight: 400; font-size: var(--fs-brand); letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; white-space: nowrap; margin-right: auto;
}
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav a {
  display: inline-block; padding: 10px 0; font-size: var(--fs-small); font-weight: 500; color: var(--ink-soft);
  text-decoration: none; transition: color 160ms var(--ease);
}
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.nav-toggle {
  display: none; align-items: center; min-height: 44px; padding: 8px 16px; background: transparent;
  border: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--rule-strong);
  font-size: var(--fs-small); font-weight: 600; cursor: pointer;
}
.nav-toggle:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- Hero: heading left, lead right, upload bar across the join with the plum band ---------- */
.hero {
  background:
    linear-gradient(to top, var(--plum-pale) var(--bridge), rgba(255, 255, 255, 0) var(--bridge)),
    radial-gradient(52% 78% at 100% 0%, var(--plum-pale) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(34% 52% at 0% 8%, var(--teal-pale) 0%, rgba(255, 255, 255, 0) 72%),
    var(--white);
}
.hero__in { padding-top: clamp(52px, 7.4vw, 108px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); gap: 24px clamp(36px, 6vw, 84px); align-items: end; }
.hero__label { margin-bottom: 20px; }
.hero__label span { padding: 2px 8px; background: var(--teal-pale); color: var(--teal-deep); }
.h1__out {
  display: block; margin-top: 0.42em; font-size: var(--fs-h1-out); font-weight: 400; font-style: italic;
  line-height: 1.18; letter-spacing: -0.012em; color: var(--plum);
}
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }

.upload {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  margin-top: clamp(36px, 5vw, 60px); padding: 18px 18px 18px 22px;
  background: var(--white); border: 2px solid var(--plum); border-radius: var(--radius);
  box-shadow: 0 22px 44px -28px rgba(63, 38, 70, 0.6);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.upload.is-drag { border-color: var(--purple); background: #f6f4ff; }
.upload__icon {
  flex: 0 0 46px; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: var(--radius); background: var(--plum-pale); color: var(--plum);
}
.upload__icon svg { width: 22px; height: 22px; }
.upload__text { flex: 0 1 auto; min-width: 0; padding-right: 6px; }
.upload__title { font-size: var(--fs-body); font-weight: 600; line-height: 1.3; }
.upload__meta { margin-top: 2px; font-size: var(--fs-small); color: var(--ink-soft); }
.upload__next {
  flex: 1 1 240px; min-width: 0; padding-left: 22px; border-left: 1px solid var(--rule-strong);
  font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft);
}
.upload__action { flex: 0 0 auto; min-width: 200px; }
/* Messages and the progress panel added by the shared uploader. */
.upload noscript { flex: 1 1 100%; }
.upload__status { flex: 1 1 100%; font-size: var(--fs-small); font-weight: 500; color: var(--error); }
.upload + div { margin: 16px 0 0; padding-bottom: 14px; font-size: var(--fs-small); font-weight: 500; }
.upload + div p { margin-bottom: 10px; }
.upload + div button {
  min-height: 44px; padding: 8px 18px; background: var(--white); border: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; cursor: pointer;
}

/* ---------- Band: one review comment taken apart ---------- */
.anat { background: var(--plum-pale); border-bottom: 1px solid var(--plum-line); }
.anat > .wrap { padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(48px, 6vw, 72px); }
.anat__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
.anat__head h2 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.012em; color: var(--plum-deep); }
.anat__head p { font-size: var(--fs-small); color: var(--plum); }
.anat__parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--plum); }
.anat__parts li { padding: 22px 32px 4px 0; }
.anat__parts li + li { padding-left: 32px; border-left: 1px solid var(--plum-line); }
.anat__parts li:last-child { padding-right: 0; }
.anat__parts .micro { color: var(--plum); }
.anat__parts h3 { margin-top: 8px; font-size: var(--fs-h4); letter-spacing: -0.01em; line-height: 1.35; }
.anat__parts p { margin-top: 10px; font-size: var(--fs-note); line-height: 1.55; color: var(--ink-soft); }
.anat__parts .strip {
  margin-top: 12px; padding: 12px 16px; background: var(--white); border: 1px solid var(--plum-line); border-radius: var(--radius);
  font-size: var(--fs-note); line-height: 1.5; color: var(--ink);
  box-shadow: 0 12px 22px -18px rgba(63, 38, 70, 0.5);
}

/* ---------- Sections ---------- */
.sec > .wrap { padding-top: var(--gap); padding-bottom: var(--gap); }
.head { max-width: 780px; margin-top: clamp(28px, 4vw, 44px); }
.head h2 + p { margin-top: 20px; }
.head p + p { margin-top: 1.05em; }

/* ---------- What a useful review gives you ---------- */
.gives__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px clamp(36px, 5vw, 72px); align-items: start; margin-top: clamp(32px, 4vw, 48px); }
.gives__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(36px, 5vw, 72px); margin-top: clamp(40px, 5vw, 60px); padding-top: clamp(28px, 3vw, 36px); border-top: 1px solid var(--rule-strong); }
.gives__more h3 { font-size: var(--fs-h4); letter-spacing: -0.01em; line-height: 1.35; }
.gives__more p { margin-top: 10px; color: var(--ink-soft); }
.scene { border: 1px solid var(--plum-line); border-radius: var(--radius); background: var(--plum-pale); overflow: hidden; }
/* The slot is 3:2. If the delivered image has other proportions, change the width and height
   attributes in the HTML and this ratio together. */
.scene img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--plum-tint); }
.scene figcaption { padding: 12px 18px 14px; border-top: 1px solid var(--plum-line); background: var(--white); font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); }

/* ---------- How to review a CV: three passes ---------- */
.passes { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--rule-strong); }
.pass { border-bottom: 1px solid var(--rule-strong); }
.pass__text { padding: 26px 0 28px; }
.pass__h { display: flex; align-items: baseline; gap: 16px; }
.pass__n { flex: 0 0 auto; font-family: var(--mono); font-size: var(--fs-small); font-weight: 400; letter-spacing: 0; color: var(--teal); }
.pass__btn {
  display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 0; background: transparent; border: 0;
  font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; color: inherit;
}
.pass__btn::after {
  content: "+"; flex: 0 0 auto; margin-left: auto; padding-left: 12px;
  font-family: var(--mono); font-size: var(--fs-small); font-weight: 400; color: var(--ink-faint);
}
.pass__btn[aria-expanded="true"]::after { content: "\2212"; }
.pass__btn:hover .pass__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.pass__body { margin-top: 14px; padding-left: calc(1.4em + 16px); }
.pass__body p + p { margin-top: 1em; }
.pass__do {
  margin-top: 18px; padding: 14px 18px; background: var(--teal-pale); border-left: 3px solid var(--teal);
  font-size: var(--fs-note); line-height: 1.55;
}
.pass__do b { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }

.pass__sheet { margin-bottom: 32px; padding: clamp(16px, 2.6vw, 30px); background: var(--plum-pale); border: 1px solid var(--plum-line); border-radius: var(--radius); }
.sheet__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; margin-bottom: 14px; color: var(--plum); }

/* CV text */
.paper {
  background: var(--white); color: #1c1a20; border: 1px solid var(--plum-line); border-radius: 2px;
  padding: 26px 28px 28px; font-size: var(--fs-cv); line-height: 1.52;
  box-shadow: 0 24px 40px -30px rgba(63, 38, 70, 0.7);
}
.paper__name { font-size: var(--fs-cv-name); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.paper__role { margin-top: 2px; color: var(--ink-soft); }
.paper__h {
  margin: 18px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #1c1a20;
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.paper__job { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; margin-top: 10px; }
.paper__h + .paper__job { margin-top: 0; }
.paper__job b { font-weight: 600; }
.paper ul { margin-top: 4px; }
.paper li { position: relative; padding: 1px 0 1px 16px; }
.paper li::before { content: ""; position: absolute; left: 4px; top: 0.74em; width: 4px; height: 4px; border-radius: 50%; background: #1c1a20; }
.paper__fold {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 4px;
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint);
}
.paper__fold::before, .paper__fold::after { content: ""; flex: 1; border-top: 1px dashed var(--rule-strong); }
.paper--top { padding-bottom: 22px; }

/* A marked phrase and the number of the comment about it. */
.mk { padding: 2px 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: var(--plum-tint); }
.mk::after {
  content: attr(data-n); margin-left: 4px; padding: 0 5px; border-radius: 2px; background: var(--plum); color: #fff;
  font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; vertical-align: 0.08em;
}
.mk--2 { background: var(--teal-tint); }
.mk--2::after { background: var(--teal); }
.mk--3 { background: var(--sand-tint); }
.mk--3::after { background: #7a5200; }
.mk--more::after { content: none; }

/* Comment slips under the paper. */
.slips { margin-top: 14px; display: grid; gap: 10px; }
.slip {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 12px; padding: 14px 16px 15px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--plum-line); border-left: 3px solid var(--plum); border-radius: 2px;
  font-size: var(--fs-small); line-height: 1.55;
}
.slip__n { display: flex; align-items: center; justify-content: center; width: 26px; height: 24px; border-radius: 2px; background: var(--plum); color: #fff; font-family: var(--mono); font-size: var(--fs-micro); }
.slip--2 { border-left-color: var(--teal); }
.slip--2 .slip__n { background: var(--teal); }
.slip--3 { border-left-color: #7a5200; }
.slip--3 .slip__n { background: #7a5200; }
.slip__say { color: var(--ink); }
.slip__next { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); color: var(--ink-soft); }
.slip__next b { margin-right: 6px; font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
.slip__next q, .slip__rev q { quotes: none; font-weight: 500; color: var(--ink); }
.slip__rev { margin-top: 8px; padding: 8px 10px; background: var(--teal-pale); border-radius: 2px; color: var(--ink); }
.slip__rev b { display: block; font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }

/* With the script running, one pass is open at a time. */
.passes.is-ready .pass:not(.is-open) .pass__body,
.passes.is-ready .pass:not(.is-open) .pass__sheet { display: none; }
.passes.is-ready .pass:not(.is-open) .pass__text { padding: 20px 0; }

@media (min-width: 941px) {
  /* Without the script: each pass is a row, explanation left and excerpt right. */
  .pass { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 clamp(36px, 5vw, 64px); align-items: start; }
  .pass__sheet { margin: 26px 0 30px; }
  /* With the script: a numbered list on the left, the open pass's excerpt held on the right. */
  .passes.is-ready {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(36px, 5vw, 64px); border-bottom: 0;
  }
  .passes.is-ready .pass { display: contents; }
  .passes.is-ready .pass__text { grid-column: 1; border-bottom: 1px solid var(--rule-strong); padding-left: 18px; border-left: 2px solid transparent; }
  .passes.is-ready .pass:nth-child(1) .pass__text { grid-row: 1; }
  .passes.is-ready .pass:nth-child(2) .pass__text { grid-row: 2; }
  .passes.is-ready .pass:nth-child(3) .pass__text { grid-row: 3; }
  .passes.is-ready .pass.is-open .pass__text { border-left-color: var(--teal); }
  .passes.is-ready .pass__sheet { grid-column: 2; grid-row: 1 / -1; align-self: start; position: sticky; top: 24px; margin: 26px 0 0; }
}

/* The CV after the review */
.after { display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); gap: 32px clamp(36px, 5vw, 72px); align-items: start; margin-top: clamp(56px, 7vw, 88px); }
.after__stage { padding: clamp(16px, 2.6vw, 30px); background: var(--teal-pale); border: 1px solid var(--teal-line); border-radius: var(--radius); }
.after__stage .paper { border-color: var(--teal-line); box-shadow: 0 24px 40px -30px rgba(15, 81, 77, 0.7); }
.after__stage .sheet__cap { color: var(--teal-deep); }
.after h3 { font-family: var(--serif); font-weight: 700; font-size: var(--fs-h3); letter-spacing: -0.012em; }
.after h3 + p { margin-top: 14px; }
.changes { margin-top: 22px; border-top: 1px solid var(--rule-strong); }
.changes li { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-note); line-height: 1.55; }
.changes b { padding-top: 3px; font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
.after__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.after__cta span { flex: 1 1 220px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); }

/* ---------- Who can review my CV ---------- */
.band { background: var(--teal-pale); border-top: 1px solid var(--teal-line); border-bottom: 1px solid var(--teal-line); }
.band .kick { border-top-color: var(--teal-deep); color: var(--teal-deep); }
.rv-wrap { margin-top: clamp(32px, 4vw, 48px); background: var(--white); border: 1px solid var(--teal-line); border-radius: var(--radius); overflow: hidden; }
.rv { width: 100%; border-collapse: collapse; text-align: left; font-size: var(--fs-note); line-height: 1.55; }
.rv th, .rv td { padding: 20px 24px; vertical-align: top; border-top: 1px solid var(--teal-line); }
.rv thead th { border-top: 0; background: var(--white); border-bottom: 1px solid var(--teal-deep); font-family: var(--mono); font-size: var(--fs-micro); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
.rv tbody tr:first-child th, .rv tbody tr:first-child td { border-top: 0; }
.rv tbody th { width: 24%; font-size: var(--fs-body); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.rv tbody th span { display: block; margin-top: 4px; font-size: var(--fs-small); font-weight: 400; letter-spacing: 0; color: var(--ink-faint); }
.rv td:nth-child(2) { width: 40%; }
.rv td:nth-child(3) { color: var(--ink-soft); }
.rv td + td, .rv th + td { border-left: 1px solid var(--teal-line); }

.ask { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(36px, 5vw, 72px); align-items: start; margin-top: clamp(48px, 6vw, 76px); }
.ask h3 { font-family: var(--serif); font-weight: 700; }
.ask__copy h3 + p { margin-top: 14px; }
.ask__copy p + p { margin-top: 1em; }
.msg { background: var(--white); border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 0 24px 44px -30px rgba(15, 81, 77, 0.75); }
.msg__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--ink); }
.msg__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.msg__text {
  display: block; width: 100%; min-height: 25em; padding: 20px 22px 22px; border: 0; border-radius: 0; resize: vertical;
  background: transparent; font-family: var(--sans); font-size: var(--fs-note); line-height: 1.6; color: var(--ink);
  field-sizing: content;
}
.msg__text:focus-visible { outline-offset: -3px; }
.msg__foot { padding: 12px 20px 14px; border-top: 1px solid var(--rule); font-size: var(--fs-small); line-height: 1.5; color: var(--ink-faint); }
.msg__state { font-weight: 600; color: var(--teal-deep); }

/* ---------- Use the feedback ---------- */
.line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 56px); counter-reset: step; }
.line li { position: relative; padding: 30px 36px 0 0; border-top: 2px solid var(--plum); counter-increment: step; }
.line li::before {
  content: counter(step); position: absolute; left: 0; top: -15px; display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 2px; background: var(--plum); color: #fff; font-family: var(--mono); font-size: var(--fs-tag);
}
.line li:last-child { padding-right: 0; }
.line h3 { font-size: var(--fs-h4); letter-spacing: -0.01em; line-height: 1.35; }
.line p { margin-top: 10px; font-size: var(--fs-note); line-height: 1.6; color: var(--ink-soft); }
.line p + p { margin-top: 0.9em; }
.cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px clamp(36px, 5vw, 72px); align-items: start; margin-top: clamp(48px, 6vw, 76px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule-strong); }
.links { margin-top: 12px; border-top: 1px solid var(--rule); }
.links li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.links a { font-weight: 600; }
.links p { margin-top: 2px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(36px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 4vw, 44px); }
.faq__grid > div:first-child p { margin-top: 18px; max-width: 24em; color: var(--ink-soft); }
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 21px 0;
  font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--mono); font-weight: 400; color: var(--plum); }
.faq summary:hover { color: var(--plum-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { max-width: 41em; padding: 0 40px 24px 0; color: var(--ink-soft); }

/* ---------- Closing: the one deep band on the page ---------- */
.close { background: var(--plum-deep); color: #fff; }
.close > .wrap { padding-top: clamp(60px, 7vw, 100px); padding-bottom: clamp(60px, 7vw, 100px); }
.close__grid { display: grid; grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); gap: 20px clamp(36px, 6vw, 84px); align-items: end; }
.close .micro { margin-bottom: 16px; color: #dccbe2; }
.close__grid > p { font-size: var(--fs-lead); line-height: 1.5; color: #efe6f2; }
.close .upload { border-color: #fff; color: var(--ink); box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.7); }
.close .upload__status { color: var(--error); }
.close .upload + div { padding-bottom: 0; color: #fff; }

/* ---------- Footer ---------- */
.foot { font-size: var(--fs-small); color: var(--ink-soft); }
.foot > .wrap { padding-top: 44px; padding-bottom: 48px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.foot__about { margin-top: 12px; max-width: 26em; }
.foot__h { margin-bottom: 8px; font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.foot li a { display: inline-block; padding: 5px 0; text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.foot__legal { margin-top: 36px; color: var(--ink-faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav ul { gap: 4px 16px; }
  .top__in { gap: 20px; }
  .anat__parts li { padding-right: 24px; }
  .anat__parts li + li { padding-left: 24px; }
  .line li { padding-right: 26px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; order: 2; }
  .top__in > .btn { order: 1; }
  .top__in { flex-wrap: wrap; gap: 12px 14px; padding-top: 12px; padding-bottom: 12px; }
  .nav { flex: 1 1 100%; order: 3; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-bottom: 6px; }
  .nav a { display: block; padding: 11px 0; border-top: 1px solid var(--rule); font-size: var(--fs-body); }
}
@media (max-width: 940px) {
  .hero__grid, .close__grid, .gives__grid, .gives__more, .after, .ask, .cols, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid, .close__grid { align-items: start; }
  .hero__lead, .close__grid > p { max-width: 34em; }
  .upload__next { flex: 1 1 100%; order: 3; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .upload__text { flex: 1 1 200px; }
  .pass__sheet, .after__stage, .scene { max-width: 680px; }
  .pass__body { padding-left: 0; }
}
@media (max-width: 820px) {
  .anat__parts { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .anat__parts li, .anat__parts li + li { padding: 20px 0 22px; border-left: 0; border-top: 1px solid var(--plum-line); }
  .anat__parts li:first-child { border-top-color: var(--plum); }
  .anat__parts li:last-child { padding-bottom: 0; }
  .line { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .line li, .line li:last-child { padding-right: 0; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }

  /* The reviewer table becomes one card per reviewer. */
  .rv-wrap { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .rv, .rv tbody, .rv tr, .rv th, .rv td { display: block; width: auto; }
  .rv thead { display: none; }
  .rv tbody th, .rv td:nth-child(2) { width: auto; }
  .rv tr { margin-top: 12px; padding: 20px 20px 22px; background: var(--white); border: 1px solid var(--teal-line); border-radius: var(--radius); }
  .rv tr:first-child { margin-top: 0; }
  .rv th, .rv td, .rv tbody tr:first-child th, .rv tbody tr:first-child td { padding: 0; border: 0; }
  .rv td + td, .rv th + td { border-left: 0; }
  .rv td { margin-top: 14px; }
  .rv td::before { content: attr(data-l); display: block; margin-bottom: 2px; font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; --fs-body: 1.0625rem; --fs-note: 1rem; --fs-lead: 1.1875rem; --fs-cv: 0.875rem; --fs-cv-name: 1.25rem; --bridge: 58px; }
  .top__in { min-height: 64px; gap: 12px 10px; }
  .top__in > .btn { padding: 9px 14px; }
  .nav-toggle { padding: 8px 13px; }
  .hero__in { padding-top: 40px; }
  .hero__label { margin-bottom: 16px; }
  .upload { margin-top: 28px; padding: 16px; gap: 12px 14px; }
  .upload__text { flex: 1 1 0; padding-right: 0; }
  .upload__action { order: 2; width: 100%; min-width: 0; }
  .upload__next { padding-top: 12px; }
  .anat__head h2 { flex: 1 1 100%; }
  .pass__h, .pass__btn { gap: 12px; }
  .pass__sheet { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 16px var(--gutter) 20px; border-left: 0; border-right: 0; border-radius: 0; }
  .after__stage { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 16px var(--gutter) 20px; border-left: 0; border-right: 0; border-radius: 0; }
  .paper { padding: 20px 18px 22px; }
  .paper__job { display: block; }
  .paper__job > span { display: block; }
  .slip { padding: 12px 14px 14px; }
  .changes li { grid-template-columns: minmax(0, 1fr); }
  .after__cta .btn { width: 100%; }
  .msg__bar { padding: 12px 14px; }
  .msg__tools { width: 100%; }
  .msg__tools .btn { flex: 1 1 0; padding-left: 10px; padding-right: 10px; }
  .msg__text { padding: 16px 16px 18px; }
  .msg__foot { padding: 12px 16px 14px; }
  .faq summary { padding: 18px 0; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 380px) {
  .top__in > .btn { display: none; }
  .btn--small { padding: 9px 12px; }
  .brand { font-size: var(--fs-h4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .upload, .nav a { transition: none; }
  .btn:hover { transform: none; }
}
@media print {
  .top, .upload, .foot, .close, .msg__tools, .after__cta { display: none !important; }
  .passes.is-ready { display: block; }
  .passes.is-ready .pass { display: block; }
  .passes.is-ready .pass:not(.is-open) .pass__body,
  .passes.is-ready .pass:not(.is-open) .pass__sheet { display: block; }
  .passes.is-ready .pass__sheet { position: static; }
}
