/* ============================================================
   RESUME RESET GO!™ — "The Red Pen" design system
   Ink navy pages, resume-paper cards, editorial red markup.
   ============================================================ */
:root {
  --ink:        #1B2547;   /* page — It's Stephanie, Sis brand navy */
  --ink-2:      #243161;   /* raised surface on navy */
  --ink-3:      #31407A;   /* pills, borders on navy */
  --paper:      #FAF7F1;   /* document white */
  --paper-2:    #F0EBE1;   /* paper shadow tone */
  --paper-line: #E2DBCD;
  --red:        #C83020;   /* exact red from the ISS glasses logo */
  --red-deep:   #99231A;
  --white:      #FFFFFF;
  --muted:      #B9C1DB;   /* body text on navy */
  --muted-p:    #6C6659;   /* body text on paper */
  --ink-on-paper: #1B2547;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --font-pen: "Caveat", cursive;

  --radius: 14px;
  --container: 1120px;
  --shadow-paper: 0 1px 2px rgba(9,12,24,.25), 0 14px 40px -18px rgba(9,12,24,.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--white); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

/* ---------- shared bits ---------- */
.sectionKicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.sectionKicker::before { content: ""; width: 26px; height: 2px; background: var(--red); }

.sectionHeader { max-width: 680px; margin-bottom: 48px; }
.sectionHeader h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); margin-bottom: 16px; }
.sectionIntro { font-size: 1.1rem; }

.section { padding: 96px 0; background: var(--ink); }

/* paper sections flip the palette */
.section--paper { background: var(--paper); color: var(--muted-p); }
.section--paper h2, .section--paper h3 { color: var(--ink-on-paper); }

.sectionDivider { height: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btnPrimary {
  background: var(--red); color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(200,48,32,.6);
}
.btnPrimary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btnSecondary {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--ink-3);
}
.btnSecondary:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.section--paper .btnSecondary { color: var(--ink-on-paper); border-color: var(--paper-line); }
.section--paper .btnSecondary:hover { border-color: var(--red); color: var(--red); }

.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red); outline-offset: 3px;
}

/* the red-pen underline (hero) */
.penline { position: relative; white-space: nowrap; }
.penline svg {
  position: absolute; left: -2%; bottom: -0.18em; width: 104%; height: .42em;
  overflow: visible;
}
.penline path {
  fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: draw 1s ease .5s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* scroll reveal — only hides content when JS is confirmed running */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .penline path { animation: none; stroke-dashoffset: 0; }
  .btn, .card, .resumeCard, .faqCard { transition: none !important; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--ink-3);
}
.navInner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brandLogoWrap {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--red); background: var(--white);
}
.brandLogo { width: 100%; height: 100%; object-fit: cover; }
.brandText { display: flex; flex-direction: column; line-height: 1.2; }
.brandText strong { font-family: var(--font-display); color: var(--white); font-size: 1.05rem; font-weight: 600; }
.brandText span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.navLinks { display: flex; align-items: center; gap: 10px; }
.navLink {
  text-decoration: none; color: var(--ink-on-paper); font-weight: 600; font-size: .93rem;
  background: var(--white);
  padding: 10px 20px; border-radius: 999px;
  transition: color .15s ease, background .15s ease, transform .15s ease;
}
.navLink:hover { color: var(--white); background: var(--red); transform: translateY(-1px); }
.navLink:last-child { background: var(--red); color: var(--white); }
.navLink:last-child:hover { background: var(--red-deep); }

.navToggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 10px; cursor: pointer;
}
.navToggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.navToggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navToggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navToggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 88px 0 104px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(200,48,32,.14), transparent 60%),
    var(--ink);
  overflow: hidden;
}
.heroGrid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 22px;
}
.hero .sub {
  font-size: 1.2rem; color: var(--white); font-weight: 500; margin-bottom: 14px;
}
.hero .desc { margin-bottom: 28px; max-width: 52ch; }

.credBar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.credPill {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--white); background: var(--ink-2);
  border: 1px solid var(--ink-3); border-radius: 999px; padding: 8px 16px;
}
.credPill::before { content: "✓ "; color: var(--red); }

.heroActionRow { display: flex; flex-wrap: wrap; gap: 14px; }

/* right column: photo + marked-up resume */
.heroCard { position: relative; }
.heroPhotoFrame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-paper);
  border: 1px solid var(--ink-3);
}
.heroImage { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* the signature: a resume snippet with red-pen edits */
.markupCard {
  position: absolute; left: -36px; bottom: -34px; width: min(370px, 92%);
  background: var(--paper); color: var(--ink-on-paper);
  border-radius: 10px; padding: 22px 22px 18px;
  box-shadow: var(--shadow-paper);
  transform: rotate(-2deg);
}
.markupCard .mHead {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-p); border-bottom: 1px solid var(--paper-line);
  padding-bottom: 8px; margin-bottom: 12px;
  display: flex; justify-content: space-between;
}
.markupCard .mHead b { color: var(--red); }
.mLine { font-size: .92rem; line-height: 1.5; }
.mLine.struck {
  color: var(--muted-p);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.mFix {
  font-family: var(--font-pen); font-size: 1.35rem; line-height: 1.25;
  color: var(--red); margin-top: 6px; transform: rotate(-1deg);
}
.mTag {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-pen); font-size: 1.05rem; color: var(--red);
}
.heroOverlay { margin-top: 0; }
.overlayTag, .overlayTitle, .overlayText { display: none; } /* replaced by markup card; kept for safety */

/* the caption block under the photo on mobile */
.heroCaption {
  margin-top: 60px; padding: 20px 22px;
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius);
}
.heroCaption .overlayTag {
  display: block; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.heroCaption .overlayTitle { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.heroCaption .overlayText { display: block; font-size: .95rem; }

/* ============================================================
   CARDS (problems / process)
   ============================================================ */
.cardGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(226,59,59,.5); }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { font-size: .98rem; }

.section--paper .card { background: var(--white); border: 1px solid var(--paper-line); box-shadow: 0 2px 10px -6px rgba(27,34,51,.18); }

/* process cards get a red step number — a real sequence */
.stepCard { position: relative; padding-top: 58px; }
.stepNum {
  position: absolute; top: 22px; left: 26px;
  font-family: var(--font-pen); font-size: 2rem; font-weight: 700; color: var(--red); line-height: 1;
}

/* who-its-for CTA card */
.resumeService__cta { margin-top: 44px; }
.resumeService__ctaCard {
  background: var(--ink); color: var(--muted);
  border-radius: var(--radius); padding: 44px 40px;
  border-left: 4px solid var(--red);
}
.resumeService__ctaCard h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }

/* ============================================================
   PACKAGES — paper documents on the desk
   ============================================================ */
.resumeService__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch;
}
.resumeCard {
  position: relative;
  background: var(--paper); color: var(--muted-p);
  border-radius: 10px; padding: 34px 28px 28px;
  box-shadow: var(--shadow-paper);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease;
}
.resumeCard:hover { transform: translateY(-6px); }
.resumeCard h3 { color: var(--ink-on-paper); font-size: 1.3rem; }
.resumeCard p { font-size: .96rem; }
.resumeCard__label {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-p); background: var(--paper-2);
  border-radius: 999px; padding: 6px 14px;
}
.resumeCard__actions { margin-top: auto; padding-top: 10px; }
.resumeCard .btnSecondary { width: 100%; color: var(--ink-on-paper); border-color: var(--paper-line); }
.resumeCard .btnSecondary:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* recommended tier: red-pen treatment */
.resumeCard--featured {
  background: var(--white);
  outline: 2px solid var(--red);
  transform: translateY(-8px);
}
.resumeCard--featured:hover { transform: translateY(-14px); }
.resumeCard--featured .resumeCard__label {
  background: var(--red); color: var(--white);
  font-family: var(--font-pen); font-size: 1.05rem; letter-spacing: .02em; text-transform: none;
  transform: rotate(-2deg);
}
.resumeCard--featured .btnSecondary {
  background: var(--red); border-color: var(--red); color: var(--white);
}
.resumeCard--featured .btnSecondary:hover { background: var(--red-deep); border-color: var(--red-deep); }

/* ============================================================
   LINKEDIN STORY — editorial pull-quote
   ============================================================ */
.storyBlock {
  max-width: 780px;
  border-left: 3px solid var(--red);
  padding-left: 32px;
}
.storyText { font-size: 1.25rem; line-height: 1.7; color: var(--white); font-family: var(--font-display); font-weight: 400; }

/* process note */
.resumeProcess__note {
  margin-top: 40px; padding: 26px 30px;
  background: var(--white); border: 1px dashed var(--red);
  border-radius: var(--radius);
  display: grid; gap: 6px;
}
.resumeProcess__note p { font-size: .97rem; }
.resumeProcess__note strong { color: var(--ink-on-paper); }

/* ============================================================
   FAQ
   ============================================================ */
.faqGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.faqCard {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: var(--radius); padding: 28px 26px;
}
.faqCard h3 { font-size: 1.12rem; margin-bottom: 10px; }
.faqCard h3::before { content: "Q. "; color: var(--red); font-family: var(--font-pen); font-size: 1.3rem; }
.faqCard p { font-size: .96rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--ink-3);
  padding: 40px 0 48px; text-align: center;
}
.footer .fBrand { font-family: var(--font-display); color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }
.footer .fSub { font-size: .85rem; }
.footer a { color: var(--red); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .heroGrid { grid-template-columns: 1fr; gap: 48px; }
  .markupCard { left: 16px; bottom: -28px; }
  .cardGrid, .resumeService__grid { grid-template-columns: 1fr; }
  .resumeCard--featured { transform: none; }
  .faqGrid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 760px) {
  .navToggle { display: flex; }
  .navLinks {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-3);
    padding: 10px 16px 18px;
  }
  .navLinks.is-open { display: flex; gap: 10px; }
  .navLink { padding: 14px 20px; text-align: center; font-size: 1.05rem; }
  .hero { padding: 56px 0 88px; }
  .heroCaption { margin-top: 64px; }
  .storyBlock { padding-left: 20px; }
  .storyText { font-size: 1.1rem; }
}

.purchase-policy {
  max-width: 760px;
  margin: 24px auto 30px;
  padding: 14px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cfd6ea;
}

.purchase-policy p {
  margin: 0;
}

.purchase-policy strong {
  color: #ffffff;
  font-weight: 600;
}

.purchase-policy a {
  color: #d9e1f5;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resumeService__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.resumeCard {
  width: 100%;
  height: 100%;
  margin: 0;
}

@media (max-width: 850px) {
  .resumeService__grid {
    grid-template-columns: 1fr;
  }
}