/* ════════════════════════════════════════════════════════════════
   RECRUITER VIEW — light, editorial, plain-language theme.
   Scoped under body[data-theme="recruiter"] and the .rec wrapper so it
   never collides with the developer (terminal) theme.
   ════════════════════════════════════════════════════════════════ */

body[data-theme="recruiter"] {
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --surface: #fffdf9;
  --ink: #211c16;
  --ink-2: #4b443a;
  --muted: #8a8071;
  --hair: rgba(33, 28, 22, 0.12);
  --hair-soft: rgba(33, 28, 22, 0.07);
  --clay: #b1542b;          /* refined terracotta accent */
  --clay-deep: #8f421f;
  --clay-soft: rgba(177, 84, 43, 0.10);
  --gold: #c08a2e;

  --rec-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --rec-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--rec-sans);
}

/* kill the dark dot-grid + noise backdrop from the dev theme */
body[data-theme="recruiter"]::before,
body[data-theme="recruiter"]::after { display: none !important; }

/* ─── shell ──────────────────────────────────────────────────────── */
.rec {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 56px);
  font-size: 17px;
  line-height: 1.6;
}
.rec ::selection { background: var(--clay); color: #fff; }

.rec section { scroll-margin-top: 92px; }

.rec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.rec-eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: var(--clay);
}

.rec-h2 {
  font-family: var(--rec-serif);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 18px 0 0;
  color: var(--ink);
  text-wrap: balance;
}
.rec-lede {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}

/* ════════════════════════════════════════════════════════════════
   TOP BAR
   ════════════════════════════════════════════════════════════════ */
.rec-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--hair-soft);
}
.rec-top__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px clamp(22px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.rec-top__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.rec-top__mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--rec-serif);
  font-size: 16px; font-weight: 600;
}
.rec-top__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.rec-top__nav a { position: relative; transition: color .15s; }
.rec-top__nav > a:not(.rec-top__cta):hover { color: var(--clay-deep); }
.rec-top__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex: none;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform .15s, background .15s;
}
.rec-top__cta:hover { background: var(--clay-deep); transform: translateY(-1px); }
@media (max-width: 980px) { .rec-top__nav > a:not(.rec-top__cta) { display: none; } }

/* ─── theme switch (the star of the request) ─────────────────────── */
.theme-switch {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(33, 28, 22, 0.14);
  box-shadow: 0 6px 22px rgba(33, 28, 22, 0.14), 0 1px 0 rgba(255,255,255,0.6) inset;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
/* dark-mode (developer) chrome for the switch */
body[data-theme="developer"] .theme-switch {
  background: rgba(20, 17, 12, 0.78);
  border-color: rgba(245, 239, 226, 0.16);
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
}
.theme-switch__seg {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted, #8a8071);
  transition: color .22s ease;
  white-space: nowrap;
}
.theme-switch__seg svg { width: 15px; height: 15px; }
.theme-switch__seg--active { color: #fff; }
body[data-theme="recruiter"] .theme-switch__seg { color: #8a8071; }
body[data-theme="recruiter"] .theme-switch__seg--active { color: #fff; }
body[data-theme="developer"] .theme-switch__seg { color: #837c6e; }
body[data-theme="developer"] .theme-switch__seg--active { color: #fff; }
.theme-switch__knob {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  border-radius: 999px;
  background: var(--clay, #b1542b);
  box-shadow: 0 2px 8px rgba(177,84,43,0.4);
  transition: left .28s cubic-bezier(.4,1.3,.5,1), width .28s cubic-bezier(.4,1.3,.5,1), background .22s;
}
body[data-theme="developer"] .theme-switch__knob {
  background: #EA580C;
  box-shadow: 0 2px 10px rgba(234,88,12,0.5);
}
.theme-switch__hint {
  position: fixed;
  bottom: 76px;
  right: 28px;
  z-index: 199;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted, #8a8071);
  background: rgba(255,253,249,0.9);
  border: 1px solid var(--hair-soft, rgba(0,0,0,0.07));
  padding: 4px 11px;
  border-radius: 999px;
  pointer-events: none;
  animation: hintFade 5.5s ease forwards;
}
body[data-theme="developer"] .theme-switch__hint {
  color: #837c6e;
  background: rgba(20,17,12,0.85);
  border-color: rgba(245,239,226,0.12);
}
@keyframes hintFade {
  0%, 70% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(4px); }
}
@media (max-width: 560px) {
  .theme-switch__seg { padding: 8px 12px; font-size: 12px; }
  .theme-switch__seg-label-long { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.rec-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.rec-hero__avail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--hair);
  padding: 7px 14px;
  border-radius: 999px;
}
.rec-hero__avail .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2f9e57;
  box-shadow: 0 0 0 3px rgba(47,158,87,0.18);
}
.rec-hero h1 {
  font-family: var(--rec-serif);
  font-weight: 500;
  font-size: clamp(40px, 6.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 22px 0 0;
  color: var(--ink);
  text-wrap: balance;
}
.rec-hero h1 em {
  font-style: italic;
  color: var(--clay-deep);
}
.rec-hero__sub {
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 52ch;
  text-wrap: pretty;
}
.rec-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn-rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-rec--primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 8px 20px rgba(177,84,43,0.26);
}
.btn-rec--primary:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(177,84,43,0.32); }
.btn-rec--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hair);
}
.btn-rec--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.rec-hero__media { position: relative; }
.rec-hero__portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(33,28,22,0.18);
  border: 1px solid var(--hair);
  display: block;
}
.rec-hero__portrait::part(empty) { background: var(--paper-2); }
.rec-hero__card {
  position: absolute;
  left: -22px;
  bottom: -20px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 14px 34px rgba(33,28,22,0.14);
  max-width: 220px;
}
.rec-hero__card-k { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rec-hero__card-v { font-family: var(--rec-serif); font-size: 19px; font-weight: 500; color: var(--ink); margin-top: 3px; line-height: 1.2; }
@media (max-width: 820px) {
  .rec-hero { grid-template-columns: 1fr; }
  .rec-hero__media { max-width: 380px; }
}

/* trust strip */
.rec-trust {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  flex-wrap: wrap;
  padding: 26px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.rec-trust__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.rec-trust__logos { display: flex; align-items: center; gap: clamp(18px, 3.5vw, 38px); flex-wrap: wrap; }
.rec-trust__logo {
  font-family: var(--rec-serif);
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ════════════════════════════════════════════════════════════════
   GENERIC SECTION SPACING
   ════════════════════════════════════════════════════════════════ */
.rec-block { padding: clamp(56px, 9vw, 104px) 0; }
.rec-block--tight { padding: clamp(40px, 6vw, 72px) 0; }
.rec-block__head { max-width: 60ch; }
.rec-block__head .rec-lede { margin-top: 16px; }

/* ─── what I do ──────────────────────────────────────────────────── */
.rec-do {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.rec-do__card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 32px 28px 30px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.rec-do__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(33,28,22,0.10);
  border-color: var(--clay-soft);
}
.rec-do__num {
  font-family: var(--rec-serif);
  font-size: 15px;
  font-style: italic;
  color: var(--clay);
}
.rec-do__ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--clay-soft);
  color: var(--clay-deep);
  display: grid; place-items: center;
  margin: 16px 0 18px;
}
.rec-do__ico svg { width: 24px; height: 24px; }
.rec-do__card h3 {
  font-family: var(--rec-serif);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}
.rec-do__card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 820px) { .rec-do { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   FEATURED PROJECT
   ════════════════════════════════════════════════════════════════ */
.rec-feat {
  background: var(--paper-2);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  margin-top: 44px;
  border: 1px solid var(--hair-soft);
}
.rec-feat__title {
  font-family: var(--rec-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  color: var(--ink);
  text-wrap: balance;
}
.rec-feat__desc { margin: 18px 0 0; font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }
.rec-feat__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.rec-feat__list li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.rec-feat__list li svg { flex: none; width: 20px; height: 20px; color: var(--clay); margin-top: 1px; }
.rec-feat__cta { margin-top: 28px; }

.rec-feat__preview { position: relative; }
.rec-browser {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(33,28,22,0.22);
  border: 1px solid var(--hair);
  background: #fff;
}
.rec-browser__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: #f0ebe2;
  border-bottom: 1px solid var(--hair);
}
.rec-browser__dot { width: 11px; height: 11px; border-radius: 50%; background: #cfc6b6; }
.rec-browser__url {
  margin-left: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--rec-sans);
  display: flex; align-items: center; gap: 6px;
}
.rec-browser__body { height: 420px; overflow: hidden; }
.rec-browser__body .sf { transform: scale(1); transform-origin: top left; height: 100%; }
@media (max-width: 880px) { .rec-feat { grid-template-columns: 1fr; } .rec-browser__body { height: 360px; } }

/* ════════════════════════════════════════════════════════════════
   EXPERIENCE
   ════════════════════════════════════════════════════════════════ */
.rec-exp { margin-top: 44px; display: grid; gap: 0; }
.rec-exp__row {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: 36px 0;
  border-top: 1px solid var(--hair);
}
.rec-exp__row:last-child { border-bottom: 1px solid var(--hair); }
.rec-exp__when { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.rec-exp__co {
  font-family: var(--rec-serif);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.rec-exp__role { font-size: 14.5px; font-weight: 600; color: var(--clay-deep); margin: 6px 0 0; }
.rec-exp__blurb { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
@media (max-width: 720px) { .rec-exp__row { grid-template-columns: 1fr; gap: 8px; } }

/* ─── strengths / tools ──────────────────────────────────────────── */
.rec-skills { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 44px; align-items: start; }
.rec-skills__group + .rec-skills__group { }
.rec-skills h3 {
  font-family: var(--rec-serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--ink);
}
.rec-strength { display: grid; gap: 14px; }
.rec-strength__item { display: flex; gap: 13px; align-items: flex-start; }
.rec-strength__item svg { flex: none; width: 22px; height: 22px; color: var(--clay); margin-top: 1px; }
.rec-strength__item b { font-weight: 600; color: var(--ink); }
.rec-strength__item span { color: var(--ink-2); font-size: 15.5px; }
.rec-tools { display: flex; flex-wrap: wrap; gap: 9px; }
.rec-tool {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--hair);
  padding: 8px 14px;
  border-radius: 999px;
}
.rec-tools__note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); font-style: italic; font-family: var(--rec-serif); }
@media (max-width: 760px) { .rec-skills { grid-template-columns: 1fr; gap: 40px; } }

/* ════════════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════════════ */
.rec-about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.rec-about__quote {
  font-family: var(--rec-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.rec-about__quote .clay { color: var(--clay-deep); font-style: normal; }
.rec-about__body p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin: 0 0 16px; }
.rec-about__body p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .rec-about { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════════ */
.rec-contact {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: clamp(44px, 7vw, 84px) clamp(32px, 6vw, 72px);
  text-align: center;
  margin-top: 24px;
}
.rec-contact .rec-eyebrow { color: #e7a06f; }
.rec-contact .rec-eyebrow::before { background: #e7a06f; }
.rec-contact h2 {
  font-family: var(--rec-serif);
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 18px auto 0;
  color: #fdf9f1;
  text-wrap: balance;
}
.rec-contact p {
  margin: 20px auto 0;
  max-width: 50ch;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(253,249,241,0.75);
}
.rec-contact__ctas {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-top: 36px;
}
.btn-light {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .15s, background .15s;
}
.btn-light--primary { background: var(--paper); color: var(--ink); }
.btn-light--primary:hover { background: #fff; transform: translateY(-2px); }
.btn-light--ghost { background: transparent; color: var(--paper); border: 1px solid rgba(253,249,241,0.3); }
.btn-light--ghost:hover { border-color: rgba(253,249,241,0.7); transform: translateY(-2px); }

/* ─── footer ─────────────────────────────────────────────────────── */
.rec-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 40px 0 56px;
  font-size: 13.5px;
  color: var(--muted);
}
.rec-foot a { color: var(--ink-2); font-weight: 600; }
.rec-foot a:hover { color: var(--clay-deep); }

/* reveal-on-scroll — visible by DEFAULT so content can never get stuck
   hidden (print, PDF, no-JS, observer flake). The hidden start-state only
   applies once JS confirms it will drive reveals via [data-anim="on"]. */
.rec [data-reveal] { opacity: 1; transform: none; }
.rec[data-anim="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.rec[data-anim="on"] [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rec[data-anim="on"] [data-reveal] { opacity: 1; transform: none; transition: none; }
}
