/* LombarDuerer by Manfred Klein: freeware, free for private use (commercial use asks for a donation) */
@font-face { font-family: "LombarDuerer"; src: url(assets/fonts/lombarduerer.woff2) format("woff2"); font-display: swap; }

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: "IBM Plex Sans", sans-serif;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  background: #9b1c1c;
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 500;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.88em;
  background: #e8e8e8;
  padding: 0.15em 0.35em;
  border-radius: 3px;
}

/* ---------- top bar (all pages) ---------- */
.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  /* full-width gray bar: name at the far left, links at the far right */
  padding: 1rem 1.5rem;
  background: #f3f3f3;
}
.topnav a { color: #111; text-decoration: none; font-size: 0.9rem; }
.topnav a:hover, .topnav a[aria-current="page"] { text-decoration: underline; }
.topnav .home { margin-right: auto; font-weight: 500; }
/* narrow screens: name on its own row, all five links together below it */
@media (max-width: 36rem) {
  .topnav { gap: 0.5rem 1.25rem; }
  .topnav .home { flex-basis: 100%; }
  .topnav a:not(.home) { padding: 0.25rem 0; }
}

/* ---------- home: intro ---------- */
/* name across the top; title and text on the left, portrait on the right starting at the title line
   (on phones: name, title, portrait, text; see the 42rem query) */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);  /* same 64rem column as the project cards, so edges line up */
  grid-template-areas: "name name" "title portrait" "text portrait";
  grid-template-rows: auto auto 1fr;  /* any extra height from the portrait goes below the text, not between title and text */
  align-items: start;
  column-gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 3rem 1rem 0.5rem;
}
.intro-text { grid-area: text; position: relative; }
.intro .intro-text > * + * { margin-top: 1rem; }
.intro .intro-text > .intro-links { margin-top: 2.5rem; }  /* a line lower; the intro's bottom padding gives that line back */
.intro h1 { grid-area: name; margin: 0 0 0.5rem; font-weight: 400; font-size: 1.4rem; line-height: 1.1; }
.intro h1 span { display: block; font-family: "LombarDuerer", serif; font-size: clamp(2.25rem, 9vw, 6.5rem); white-space: nowrap; }
.tagline { grid-area: title; margin: 0 0 1.5rem; font-size: 1.25rem; font-weight: 500; color: #9b1c1c; }
.blurb { margin: 0; font-size: 1.05rem; line-height: 1.6; color: #333; text-wrap: pretty; }
.blurb strong { color: #9b1c1c; font-weight: 500; }  /* the one phrase in the intro that should stand out */
/* "prop departments": click goes to the film page, hover or keyboard focus shows a short credits card */
.blurb a { color: inherit; text-decoration-color: #9b1c1c; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.film-card {
  position: absolute;
  z-index: 2;
  top: 0;              /* set under the link by the script in index.html */
  left: 0;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 2px solid #9b1c1c;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.12);
  font-size: 0.85rem;
  line-height: 1.4;
  visibility: hidden;
  opacity: 0;
  /* closing waits a moment so the mouse can travel from the link onto the card */
  transition: opacity 0.15s 0.25s, visibility 0s 0.4s;
}
.intro-text:has(.film-link:hover, .film-link:focus-visible, .film-card:hover, .film-card:focus-within) .film-card {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.film-card ul { margin: 0; padding: 0; list-style: none; }
.film-card li { padding: 0.15rem 0; }  /* the card widens to fit each credit on one line, and wraps only on narrow screens */
.film-card .role { color: #555; }
.film-card .more { display: inline-block; margin-top: 0.6rem; color: #111; text-decoration-color: #9b1c1c; text-underline-offset: 3px; }
.intro-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin: 0.5rem 0 0;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background: #9b1c1c;
  color: #fff !important;
  font-weight: 500;
  text-decoration: none !important;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(155, 28, 28, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
  background: #741515;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 28, 28, 0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  background: #fff;
  color: #111 !important;
  border: 1px solid #d2d2d2;
  font-weight: 500;
  text-decoration: none !important;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  border-color: #9b1c1c;
  color: #9b1c1c !important;
  transform: translateY(-2px);
}

/* ---------- home: selected projects ---------- */
.home-projects { max-width: 64rem; margin: 0 auto; padding: 2rem 1rem 5rem; }
.home-projects h2 { margin: 0 0 1rem; color: #9b1c1c; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
/* three tech projects on the first row, two art projects centered under them */
.home-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.home-card { grid-column: span 2; }
.home-card:nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 42rem) {
  .intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "title" "portrait" "text"; }
  .intro .portrait { justify-self: center; margin: 0 0 1.5rem; }
  .home-cards { grid-template-columns: 1fr; }
  .home-card, .home-card:nth-child(4) { grid-column: auto; }
}
.home-card {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.25rem;
  border-top: 3px solid #9b1c1c;
  background: #f8f8f8;
  color: #111;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-top-color 0.22s ease, background 0.22s ease;
}
.home-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.12);
  border-top-color: #741515;
  background: #fff;
}
/* preview runs edge to edge across the top of the card, under the red rule; alt is empty because the card text describes it */
.card-preview { display: block; width: calc(100% + 2.5rem); margin: -1.25rem -1.25rem 0.5rem; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top; }
.flatpack-preview { box-sizing: border-box; overflow: hidden; padding: 1.25rem; background: #111; color: #e8e8e8; font-size: 0.8rem; line-height: 1.7; white-space: pre-wrap; }
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.card-tag {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: #9b1c1c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.home-card strong { font-size: 1.3rem; font-weight: 500; }
.home-card span { color: #555; font-size: 0.95rem; line-height: 1.5; }
.home-card:hover strong { text-decoration: underline; text-decoration-color: #9b1c1c; text-underline-offset: 3px; }
.home-card:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

.case-study-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: #fdf5f5;
  border: 1px solid #ebd2d2;
  border-left: 4px solid #9b1c1c;
  border-radius: 4px;
  text-decoration: none;
  color: #111;
  transition: all 0.2s ease;
}
.case-study-banner:hover {
  background: #fff;
  border-color: #9b1c1c;
  box-shadow: 0 8px 20px -6px rgba(155, 28, 28, 0.15);
  transform: translateY(-2px);
}
.case-study-badge {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: #9b1c1c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.case-study-banner-text strong {
  display: block;
  font-size: 1.05rem;
  color: #111;
  margin-bottom: 0.2rem;
}
.case-study-banner-text span {
  color: #555;
  font-size: 0.95rem;
}
.case-study-banner-action {
  font-weight: 500;
  color: #9b1c1c;
  white-space: nowrap;
}

.award { display: block; color: #9b1c1c; }  /* award line under a credit on the film page */

/* Framed portrait: three stacked layers. Change these to restyle it.
   The masks only load over http(s), so opening the file directly shows a blank portrait.
   Preview locally with: python3 -m http.server  (then open http://localhost:8000) */
.portrait {
  --frame-color: #9b1c1c;
  --frame-fill: #000;         /* background inside the frame; black matches the video's background */
  --zoom: 0.7;                /* portrait width relative to the frame's inner width */

  grid-area: portrait;
  position: relative;
  justify-self: end;          /* right edge lines up with the project cards */
  margin-top: -5rem;          /* starts three body-text lines above the title line */
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 1576 / 1624;
}
.portrait .clip,
.portrait .frame {
  position: absolute;
  inset: 0;
  -webkit-mask: var(--mask) center / 100% 100% no-repeat;
  mask: var(--mask) center / 100% 100% no-repeat;
}
.portrait .clip { --mask: url(assets/portrait-frame-inner.png); background: var(--frame-fill); }
.portrait .frame { --mask: url(assets/portrait-frame-black.png); background: var(--frame-color); }
/* 83.12% = frame's inner width, 49.62% = its center, 7.76% = sits just below its inner bottom edge */
.portrait img {
  position: absolute;
  display: block;
  width: calc(83.12% * var(--zoom));
  left: calc(49.62% - 41.56% * var(--zoom));
  bottom: 7.76%;
  height: auto;
}

/* ---------- film page ---------- */
.page { max-width: 64rem; margin: 0 auto; padding: 4rem 1rem 5rem; }
/* two columns side by side (Film | Television, Directed | Wright State); one column on small screens */
.credit-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 0 3rem; }
.page h1 { margin: 0; font: 400 clamp(2.5rem, 7vw, 4rem)/1.1 "LombarDuerer", serif; text-wrap: balance; }
.page-summary { margin: 0.75rem 0 0; color: #555; line-height: 1.55; }
.page h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9b1c1c;
}
.credits { margin: 0; padding: 0; list-style: none; }
.credits li { padding: 0.7rem 0; border-top: 1px solid #e4e4e4; }
.credits .title { font-weight: 500; }
.credits .details { display: block; color: #555; font-size: 0.95rem; }
.credit-photo { width: 64%; margin: 2rem 0 0; }
.credit-photo img { display: block; width: 100%; height: auto; }
.credit-photo figcaption { margin-top: 0.5rem; color: #555; font-size: 0.9rem; }
.section-directed,
.section-wsu {
  margin-top: 2rem;
}

.lemonade-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.lemonade-showcase .film-player {
  flex: 1 1 28rem;
  margin: 0;
}

.lemonade-showcase .laurels {
  flex: 1 1 22rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 1.75rem;
  margin: 0;
}

.film-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film-player figcaption { margin-top: 0.5rem; color: #555; font-size: 0.9rem; }
.credits a { color: inherit; text-decoration-color: #9b1c1c; text-underline-offset: 3px; }
.imdb-wrap { margin: 2.5rem 0 1rem; }
.page .imdb { display: inline-block; color: #111; text-decoration-color: #9b1c1c; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.laurels img {
  height: clamp(5rem, 8vw, 6.5rem);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.case-study-breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: #555;
}
.case-study-breadcrumb a {
  color: #9b1c1c;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 500;
}

/* ---------- projects page ---------- */
.projects-page { max-width: 72rem; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}
.featured-project {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-top: 3px solid #9b1c1c;
  background: #f8f8f8;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}
.featured-project:hover {
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
}
.project-kicker {
  margin: 0 0 0.5rem;
  color: #9b1c1c;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.85rem;
}
.tech-pill {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  background: #fff;
  border: 1px solid #dcd2d2;
  color: #741515;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
.tech-pill:hover {
  background: #fdf2f2;
  border-color: #9b1c1c;
  color: #9b1c1c;
  transform: translateY(-1px);
}
.page .featured-project h2 {
  margin: 0;
  color: #111;
  font: 500 clamp(1.7rem, 3vw, 2.4rem)/1.1 "IBM Plex Sans", sans-serif;
  letter-spacing: -0.03em;
  text-transform: none;
}
.project-lead {
  max-width: 46rem;
  margin: 0.75rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.35;
  text-wrap: balance;
}
.project-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.project-story h3 { margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.project-story p { margin: 0; color: #555; font-size: 0.95rem; line-height: 1.5; }
.project-story p + p { margin-top: 0.75rem; }
/* case study: the paragraph that follows a rule like "Unsure = alive" */
.case-note { max-width: 46rem; margin: 0 0 1.75rem; color: #555; font-size: 0.95rem; line-height: 1.5; }
.project-result { display: flex; align-items: baseline; gap: 0.75rem; margin: 1.75rem 0; }
.project-result strong { color: #9b1c1c; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -0.04em; }
.project-result span { max-width: 15rem; color: #555; line-height: 1.4; }
.project-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 1.75rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid #e0d8d8;
  background: #fff;
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}
.pipeline-step {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  font-weight: 500;
  color: #222;
  background: #f6f6f6;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #e2e2e2;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.pipeline-step:hover {
  border-color: #9b1c1c;
  color: #9b1c1c;
  background: #fff;
}
.pipeline-arrow {
  color: #9b1c1c;
  font-weight: bold;
  font-size: 0.85rem;
  user-select: none;
}
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.project-cta {
  display: inline-block;
  padding: 0.85rem 1.25rem;
  background: #9b1c1c;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(155, 28, 28, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-cta:hover { background: #741515; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(155, 28, 28, 0.35); }
.project-cta:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.project-secondary { color: #111; text-decoration-color: #9b1c1c; text-underline-offset: 3px; font-weight: 500; }
.project-secondary:hover { color: #9b1c1c; }

.tool-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border: 1px solid #dcdcdc;
  background: #fff;
  border-radius: 6px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.tool-card:hover {
  border-color: #9b1c1c;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0,0,0,0.09);
}
.tool-card strong {
  font-size: 1.15rem;
  display: block;
}
.tool-card p {
  margin: 0.4rem 0 0;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.5;
}
.tool-palette-swatches {
  display: flex;
  height: 48px;
  border-radius: 5px;
  overflow: hidden;
  margin: 1.1rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.08);
}
.tool-swatch {
  flex: 1;
  height: 100%;
  transition: flex 0.2s ease;
  position: relative;
}
.tool-swatch:hover {
  flex: 1.8;
}
.tool-degrade-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.1rem 0;
  height: 48px;
  background: linear-gradient(90deg, #111 0%, #1a1a1a 25%, #9b1c1c 50%, #d48c46 75%, #4a5240 100%);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.tool-degrade-preview::after {
  content: 'JPEG 12% · CHROMA BLEED · RESAMPLE';
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(0,0,0,0.72);
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.2);
}
.tool-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.88rem;
}
.tool-card-footer .tool-pill {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
}
.tool-card-footer .tool-link-label {
  color: #9b1c1c;
  font-weight: 500;
}

.featured-project-full {
  grid-column: 1 / -1;
}
/* ---------- art page ---------- */
.art-page { max-width: 72rem; }
.art-work {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid #d2d2d2;
}
.art-work:first-of-type { margin-top: 2rem; }
.art-work img { display: block; width: 100%; height: auto; }
.art-quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.art-work .art-quad img { aspect-ratio: 4 / 3; object-fit: cover; }
.page .art-text h2 {
  margin: 0 0 1rem;
  color: #111;
  font: 500 clamp(1.7rem, 3vw, 2.4rem)/1.1 "IBM Plex Sans", sans-serif;
  letter-spacing: -0.03em;
  text-transform: none;
}
.art-text p { margin: 0 0 1rem; color: #333; line-height: 1.6; }
.art-link { color: #111; font-weight: 500; text-decoration-color: #9b1c1c; text-underline-offset: 3px; }
.art-link:hover { color: #9b1c1c; }

.phone-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.phone-strip figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-device {
  width: 100%;
  background: #181818;
  border-radius: 26px;
  padding: 6px 6px 8px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.phone-device:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -10px rgba(0, 0, 0, 0.3);
}
.phone-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.phone-strip figcaption {
  margin-top: 0.75rem;
  color: #555;
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
}
.project-story-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }

@media (max-width: 42rem) {
  .project-grid { grid-template-columns: 1fr; }
  .project-story-split { grid-template-columns: 1fr; }
  .art-work { grid-template-columns: 1fr; }
  .phone-strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .phone-strip figure { scroll-snap-align: start; }
  .project-result { align-items: flex-start; flex-direction: column; }
}

/* ---------- contact page ---------- */
.contact-page {
  min-height: calc(100vh - 4rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 8rem;
}
.contact-intro {
  max-width: 36rem;
  margin: 1rem 0 1.5rem;
  color: #555;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}
/* clauses stay whole, so the sentence only breaks at the comma */
.contact-intro span { display: inline-block; }
.contact-about { max-width: 36rem; margin: 0 0 1.5rem; color: #333; line-height: 1.6; }
.page .contact-about h2 { margin: 0 0 0.5rem; }
.contact-about ul { margin: 0; padding-left: 1.2rem; }
.contact-about li { text-wrap: balance; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(100%, 42rem);
}
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 500; }
.form-field input,
.form-field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 0;
  padding: 0.8rem;
  background: #fff;
  color: #111;
  font: inherit;
}
.form-field textarea { resize: vertical; min-height: 10rem; }
.form-field textarea::placeholder { text-wrap: balance; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #9b1c1c;
  outline-offset: 2px;
  border-color: #9b1c1c;
}
.contact-form button {
  justify-self: start;
  border: 0;
  padding: 0.8rem 1.15rem;
  background: #9b1c1c;
  color: #fff;
  font: 500 1rem "IBM Plex Sans", sans-serif;
  cursor: pointer;
}
.contact-form button:hover { background: #741515; }
.contact-form button:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.form-honeypot { position: absolute; left: -10000px; }

@media (max-width: 34rem) {
  .contact-form { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
}

.contact-direct {
  margin: 2rem 0 0;
  color: #555;
  font-size: 1rem;
}
.contact-direct a {
  color: #111;
  text-decoration-color: #9b1c1c;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.contact-success {
  width: min(100%, 42rem);
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: #fdf3f3;
  border-left: 4px solid #9b1c1c;
  color: #111;
}
.contact-success p { margin: 0; }

.contact-email {
  color: #111;
  font-size: clamp(1.1rem, 4vw, 2rem);
  font-weight: 500;
  text-decoration-color: #9b1c1c;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  overflow-wrap: anywhere;
}

/* ---------- footer (all pages) ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1.5rem max(1rem, calc((100% - 62rem) / 2));
  background: #f3f3f3;
  font-size: 0.9rem;
}
.site-footer a { color: #111; text-decoration-color: #9b1c1c; text-underline-offset: 3px; }
.site-footer-note { margin-left: auto; color: #666; font-style: italic; }

/* ---------- résumé page: prints to one letter-size page (File > Print > Save as PDF) ---------- */
.resume { max-width: 48rem; margin: 0 auto; padding: 3rem 1rem 5rem; font-size: 0.95rem; line-height: 1.5; }
.resume h1 { margin: 0; font: 400 3rem/1.1 "LombarDuerer", serif; }
.resume a { color: inherit; text-decoration-color: #9b1c1c; text-underline-offset: 2px; }
.resume-title { margin: 0.2em 0 0; color: #9b1c1c; font-size: 1.1em; font-weight: 500; }
.resume-contact { margin: 0.4em 0 0; color: #555; font-size: 0.9em; }
.resume-summary { margin: 0.75em 0 0; }
.resume-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; }
.resume-download { font-size: 0.9em; font-weight: 500; }
.resume-bottom { margin: 2.5em 0 0; text-align: center; }
.print-only { display: none; }  /* website and GitHub: redundant on the site, needed in the PDF */
.resume h2 { margin: 1.4em 0 0.5em; padding-bottom: 0.25rem; border-bottom: 2px solid #9b1c1c; color: #9b1c1c; font-size: 0.85em; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.resume-item { margin-bottom: 0.55em; }
.resume h3 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; margin: 0; font-size: 1em; font-weight: 500; }
.resume h3 small { color: #555; font-weight: 400; font-size: 0.9em; }
.resume-item p, .resume-columns p { margin: 0.1rem 0 0; }
.resume-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 0 2rem; }

/* ---------- recruiter navigation & live status indicator ---------- */
.nav-recruiter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #741515 !important;
  background: #fdf2f2;
  border: 1px solid #ebd2d2;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-recruiter:hover,
.nav-recruiter[aria-current="page"] {
  background: #9b1c1c;
  color: #fff !important;
  border-color: #9b1c1c;
  box-shadow: 0 2px 8px rgba(155, 28, 28, 0.25);
  transform: translateY(-1px);
}
.nav-recruiter[aria-current="page"] .recruiter-badge-dot {
  background-color: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
}
.recruiter-badge-dot {
  width: 7px;
  height: 7px;
  background-color: #16a34a;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ---------- homepage: recruiter quick-scan banner & panel ---------- */
.recruiter-home-banner {
  max-width: 64rem;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}
.recruiter-callout-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(90deg, #fff5f5 0%, #fdf8f8 100%);
  border: 1px solid #ebd2d2;
  border-left: 4px solid #9b1c1c;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(155, 28, 28, 0.04);
}
.recruiter-callout-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.recruiter-tag-pill {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #741515;
  background: #fbe6e6;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}
.recruiter-callout-title {
  color: #111;
  font-weight: 500;
}
.recruiter-callout-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn-toggle-scan {
  background: #fff;
  border: 1px solid #d2c4c4;
  color: #111;
  padding: 0.4rem 0.85rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.btn-toggle-scan:hover {
  border-color: #9b1c1c;
  color: #9b1c1c;
}
.btn-recruiter-hub {
  background: #9b1c1c;
  color: #fff !important;
  padding: 0.4rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(155, 28, 28, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-recruiter-hub:hover {
  background: #741515;
  transform: translateY(-1px);
}

/* Quick scan expandable card */
.recruiter-quick-scan {
  margin-top: 0.85rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ebd2d2;
  border-radius: 6px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.08);
  display: none;
  animation: slideDown 0.25s ease-out;
}
.recruiter-quick-scan.active {
  display: block;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.quick-scan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
}
.quick-scan-block h4 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9b1c1c;
}
.quick-scan-block p {
  margin: 0;
  font-size: 0.92rem;
  color: #333;
  line-height: 1.5;
}
.quick-scan-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.quick-stat {
  padding: 0.65rem 0.85rem;
  background: #f8f8f8;
  border-radius: 4px;
  border: 1px solid #eee;
}
.quick-stat strong {
  display: block;
  font-size: 1.25rem;
  color: #9b1c1c;
  line-height: 1.2;
}
.quick-stat span {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.3;
  display: block;
}
.quick-scan-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.quick-scan-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- recruiter fast-track page (recruiter.html) ---------- */
.recruiter-page {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 6rem;
}

/* Archival metadata ledger strip */
.recruiter-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 0.65rem 0.85rem;
  background: #fbfbfb;
  border-top: 1px solid #111;
  border-bottom: 1px solid #e0e0e0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}
.recruiter-meta-strip strong {
  color: #111;
  font-weight: 600;
  margin-right: 0.35rem;
}
.recruiter-meta-strip .meta-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  margin-right: 0.45rem;
}

/* Hero section: two-column editorial spread */
.recruiter-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: 3.5rem;
}
.recruiter-hero-title {
  margin: 0 0 0.5rem;
  font-weight: 400;
  line-height: 1.05;
}
.recruiter-hero-title span {
  display: block;
  font-family: "LombarDuerer", serif;
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  letter-spacing: -0.01em;
}
.recruiter-tagline {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #9b1c1c;
  line-height: 1.4;
}
.recruiter-narrative p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #333;
}
.recruiter-narrative strong {
  color: #9b1c1c;
  font-weight: 500;
}
.recruiter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 2rem;
}

/* Hero right card: Artifact of craftsmanship */
.recruiter-hero-card {
  border: 1px solid #111;
  background: #fdfdfd;
  padding: 1rem;
  box-shadow: 6px 6px 0 rgba(155, 28, 28, 0.15);
}
.recruiter-hero-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}
.hero-card-meta {
  margin-top: 0.85rem;
}
.hero-card-label {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9b1c1c;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.hero-card-meta p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #444;
}

/* 4-Column "Proof of Competence" Ledger */
.recruiter-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #111;
  background: #fff;
  margin: 3.5rem 0 4.5rem;
}
.ledger-cell {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid #e0e0e0;
  transition: background 0.2s ease;
}
.ledger-cell:last-child {
  border-right: none;
}
.ledger-cell:hover {
  background: #fdf8f8;
}
.ledger-number {
  display: block;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 500;
  color: #9b1c1c;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.ledger-label {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  color: #111;
  margin-bottom: 0.35rem;
}
.ledger-sub {
  margin: 0;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.45;
}

/* Visual Work Showcase */
.recruiter-showcase {
  margin: 4.5rem 0;
}
.recruiter-showcase-title {
  margin: 0 0 2rem;
  font: 400 clamp(2rem, 4vw, 3rem)/1.1 "LombarDuerer", serif;
  border-bottom: 2px solid #9b1c1c;
  padding-bottom: 0.4rem;
}
.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid #e8e8e8;
}
.showcase-row:first-of-type {
  padding-top: 1rem;
}
.showcase-media {
  position: relative;
}
.showcase-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.showcase-kicker {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9b1c1c;
  margin-bottom: 0.4rem;
  display: block;
}
.showcase-info h3 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
}
.showcase-lead {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #333;
}
.showcase-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: #f8f8f8;
  border-left: 3px solid #9b1c1c;
  padding: 1rem;
  margin: 1.25rem 0;
  font-size: 0.85rem;
}
.spec-item strong {
  display: block;
  color: #111;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.spec-item span {
  color: #555;
  line-height: 1.4;
  display: block;
}
.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1rem;
}

/* Target Roles Section */
.recruiter-roles {
  margin: 4.5rem 0;
}
.roles-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.role-spec-box {
  background: #fff;
  border: 1px solid #111;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}
.role-spec-box:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(155, 28, 28, 0.2);
  border-color: #9b1c1c;
}
.role-spec-num {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9b1c1c;
  margin-bottom: 0.5rem;
  display: block;
}
.role-spec-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
}
.role-spec-box p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}
.role-bullets {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: #333;
  line-height: 1.55;
}
.role-bullets li {
  margin-bottom: 0.35rem;
}

/* Skills Spec Section */
.recruiter-skills {
  margin: 4.5rem 0;
}
.skills-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.5rem 0;
  border-bottom: 1px solid #111;
  padding-bottom: 0.85rem;
}
.tab-spec-btn {
  background: #f4f4f4;
  border: 1px solid #d2d2d2;
  color: #222;
  padding: 0.4rem 0.85rem;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tab-spec-btn:hover {
  background: #fdf2f2;
  border-color: #9b1c1c;
  color: #9b1c1c;
}
.tab-spec-btn.active {
  background: #111;
  border-color: #111;
  color: #fff;
}
.skills-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
}
.catalog-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 1.25rem;
  transition: border-color 0.2s ease;
}
.catalog-item:hover {
  border-color: #9b1c1c;
}
.catalog-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.catalog-item-header strong {
  font-size: 1rem;
  font-weight: 500;
  color: #111;
}
.catalog-level {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #9b1c1c;
}
.catalog-item p {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: #555;
  line-height: 1.5;
}
.catalog-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.catalog-tag {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  background: #f5f5f5;
  padding: 0.15rem 0.45rem;
  border: 1px solid #e2e2e2;
  color: #444;
}

/* Philosophy Pull-Quote */
.recruiter-manifesto {
  margin: 5rem 0;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  background: #fdf8f8;
  border-left: 4px solid #9b1c1c;
  border-top: 1px solid #ebd2d2;
  border-bottom: 1px solid #ebd2d2;
  border-right: 1px solid #ebd2d2;
}
.manifesto-quote {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 400;
  line-height: 1.5;
  color: #111;
  text-wrap: balance;
}
.manifesto-quote strong {
  color: #9b1c1c;
  font-weight: 500;
}
.manifesto-author {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Recruiter FAQ */
.recruiter-faq {
  margin: 4.5rem 0;
}
.faq-ledger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.faq-box {
  border-top: 2px solid #111;
  padding-top: 0.85rem;
}
.faq-box h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111;
}
.faq-box p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
}

/* Closing CTA Card */
.recruiter-cta-card {
  border: 1px solid #111;
  background: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  margin: 5rem 0 2rem;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.06);
}
.recruiter-cta-card h2 {
  font: 400 clamp(2rem, 4.5vw, 3.2rem)/1.1 "LombarDuerer", serif;
  margin: 0 0 0.5rem;
}
.recruiter-cta-card p {
  max-width: 38rem;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.55;
}
.recruiter-cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

@media (max-width: 48rem) {
  .recruiter-hero-split { grid-template-columns: 1fr; }
  .recruiter-ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger-cell:nth-child(2) { border-right: none; }
  .ledger-cell:nth-child(1), .ledger-cell:nth-child(2) { border-bottom: 1px solid #e0e0e0; }
  .showcase-row { grid-template-columns: 1fr; }
}

@media (max-width: 32rem) {
  .recruiter-ledger { grid-template-columns: 1fr; }
  .ledger-cell { border-right: none; border-bottom: 1px solid #e0e0e0; }
  .ledger-cell:last-child { border-bottom: none; }
}

/* Floating Recruiter Dock */
.floating-recruiter-dock {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.85rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
  font-size: 0.88rem;
}
.floating-recruiter-dock.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.dock-title {
  font-weight: 500;
  white-space: nowrap;
  color: #eee;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.dock-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.dock-btn {
  background: #9b1c1c;
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease;
}
.dock-btn:hover {
  background: #bf2424;
}
.dock-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.dock-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Toast notification */
.toast-notice {
  position: fixed;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.toast-notice svg {
  color: #4ade80;
}

@media (max-width: 48rem) {
  .dock-title { display: none; }
  .floating-recruiter-dock { padding: 0.45rem 0.85rem; }
  .recruiter-callout-bar { flex-direction: column; align-items: flex-start; }
  .recruiter-callout-actions { width: 100%; justify-content: flex-start; }
}

@media print {
  @page { size: letter; margin: 0.5in; }
  .topnav, .resume-download, .resume-bottom, .site-footer, .floating-recruiter-dock, .toast-notice, .btn-toggle-scan, .recruiter-home-banner, .recruiter-cta-group, .recruiter-contact-card { display: none !important; }
  .print-only { display: inline; }
  .resume { max-width: none; padding: 0; font-size: 9.5pt; line-height: 1.35; }
  .resume h1 { font-size: 28pt; }
  .resume a { text-decoration: none; }
  .recruiter-page { padding: 0; max-width: none; font-size: 9.5pt; }
  .dossier-card, .metric-box, .role-card, .skill-box { box-shadow: none !important; border: 1px solid #ccc !important; }
}
