/* ==========================================================================
   Athena Recruits — app.css   Modern multi-page marketing site in the warm
   Athena palette (ink/brass/parchment + the deep navy band, #1F2A36).
   Bold serif headlines, clean sans UI, real CTAs, full-width sections.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern","liga";
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--bone); color: var(--ink); }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--athena); color: var(--on-dark); padding: 12px 18px; font-size: 13px; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---- Layout ------------------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--alt  { background: var(--surface-alt); }
.section--tint { background: var(--surface-tint); }
.section--dark { background: var(--surface-dark); color: var(--on-dark); }
.section--dark .eyebrow { color: var(--brass); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }

/* ---- Typography --------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-sans); font-weight: 600; font-size: 11px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--brass); margin: 0 0 18px;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--athena); font-weight: 600; line-height: 1.08; margin: 0; }
.display { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.01em; line-height: 1.02; }
.h1 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.01em; }
.h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.01em; }
.h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; line-height: 1.2; }
.lead { font-family: var(--font-sans); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--slate); }
.section--dark .lead { color: var(--on-dark-soft); }
.muted { color: var(--slate); }
.serif-italic { font-family: var(--font-italic); font-style: italic; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .5ch; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--athena); color: var(--paper); }
.btn--primary:hover { background: var(--brass); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--athena); border-color: var(--stone); }
.btn--ghost:hover { border-color: var(--athena); background: var(--athena); color: var(--paper); }
.btn--on-dark { background: var(--brass); color: var(--paper); }
.btn--on-dark:hover { background: var(--paper); color: var(--athena); }
.btn--ghost-dark { background: transparent; color: var(--on-dark); border-color: rgba(239,233,222,.32); }
.btn--ghost-dark:hover { border-color: var(--on-dark); background: var(--on-dark); color: var(--athena); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.textlink { color: var(--brass-ink); font-weight: 600; font-size: 15px; display: inline-flex; gap: .4ch; }
.textlink:hover { color: var(--brass); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Header (sticky)
   ========================================================================== */
.siteheader {
  position: sticky; top: 0; z-index: 100; background: rgba(251,248,241,.86);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--stone);
}
.siteheader__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brandmark { display: inline-flex; align-items: baseline; gap: .55ch; }
.brandmark .a { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .12em; color: var(--athena); }
.brandmark .r { font-family: var(--font-sans); font-weight: 600; font-size: 9px; letter-spacing: .4em; text-transform: uppercase; color: var(--slate); }
.mainnav { display: flex; align-items: center; gap: 28px; }
.mainnav a { font-size: 15px; font-weight: 500; color: var(--slate); transition: color .15s; }
.mainnav a:hover, .mainnav a.is-active { color: var(--athena); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.navtoggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.navtoggle span { display: block; width: 22px; height: 2px; background: var(--athena); margin: 4px 0; transition: .2s; }

@media (max-width: 900px) {
  .mainnav, .header-cta .btn { display: none; }
  .navtoggle { display: block; }
  .siteheader.open .mainnav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--stone); padding: 16px var(--gutter) 24px;
  }
  .siteheader.open .mainnav a { padding: 10px 0; font-size: 17px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: clamp(56px, 9vw, 128px); }
/* Sized so the longest headline line ("The right decision.") stays on one line. */
.hero .display { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; }
.hero .display br { display: block; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.hero .display { margin-bottom: 24px; }
.hero__sub { max-width: 52ch; margin-bottom: 32px; }
.hero__aside { border-left: 2px solid var(--brass); padding-left: 28px; }
.hero__aside .stat { margin-bottom: 26px; }
.hero__aside .stat:last-child { margin-bottom: 0; }
.hero__aside .num { font-family: var(--font-display); font-weight: 600; font-size: 40px; color: var(--athena); line-height: 1; }
.hero__aside .lbl { font-size: 14px; color: var(--slate); margin-top: 6px; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 32px; transition: border-color .18s ease, transform .18s ease;
}
.section--alt .card, .section--tint .card { background: var(--paper); }
.card:hover { border-color: var(--brass); transform: translateY(-3px); }
.card__num { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--brass); margin-bottom: 14px; }
.card .h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 16px; line-height: 1.55; }
.card__tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }

/* Plain list grid (practice areas / roles / industries) */
.tilelist { display: grid; gap: 1px; background: var(--stone); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.tilelist a, .tilelist div { background: var(--paper); padding: 26px 28px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; transition: background .15s; }
.tilelist a:hover { background: var(--bone); }
.tilelist .name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--athena); }
.tilelist .arrow { color: var(--brass); font-weight: 600; }

/* ---- Pain points (numbered) --------------------------------------------- */
.points { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.point { border-top: 2px solid var(--brass); padding-top: 18px; }
.point .k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--athena); margin-bottom: 8px; }
.point p { margin: 0; font-size: 16px; color: var(--slate); }
.section--dark .point p { color: var(--on-dark-soft); }
.section--dark .point .k { color: var(--paper); }

/* ---- Metrics ------------------------------------------------------------ */
.metrics { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); }
.metric .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 6vw, 68px); line-height: 1; color: var(--brass); }
.metric .lbl { margin-top: 12px; font-size: 15px; color: var(--on-dark-soft); max-width: 22ch; }
.section:not(.section--dark) .metric .lbl { color: var(--slate); }

/* ---- Process steps ------------------------------------------------------ */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--stone); }
.step:last-child { border-bottom: 1px solid var(--stone); }
.step__n { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--brass); }
.step__b h3 { margin-bottom: 8px; }
.step__b p { margin: 0; font-size: 16px; max-width: 60ch; }

/* ---- Insight cards ------------------------------------------------------ */
.posts { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.post { display: flex; flex-direction: column; border-top: 2px solid var(--athena); padding-top: 20px; }
.post__meta { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
.post__meta .date { color: var(--slate); letter-spacing: .04em; }
.post__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.18; color: var(--athena); margin-bottom: 10px; }
.post:hover .post__title { color: var(--brass-ink); }
.post__dek { font-size: 15px; color: var(--slate); margin: 0 0 16px; }
.post__more { margin-top: auto; }

/* ---- CTA band ----------------------------------------------------------- */
.ctaband { text-align: center; }
.ctaband .h2 { margin-bottom: 18px; }
.ctaband p { max-width: 56ch; margin: 0 auto 32px; }

/* ==========================================================================
   Long-form (article + simple pages)
   ========================================================================== */
.pagehead { max-width: 820px; }
.pagehead .lead { margin-top: 20px; }
.prose { max-width: var(--measure); font-family: var(--font-display); font-size: 19px; line-height: 1.72; color: var(--slate); }
.prose p { margin: 0 0 24px; }
.prose h2 { font-size: 28px; margin: 44px 0 16px; }
.prose h3 { font-size: 22px; margin: 32px 0 12px; }
.prose em { font-family: var(--font-italic); font-style: italic; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brass-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 2px solid var(--brass); padding-left: 22px; margin: 32px 0; font-family: var(--font-italic); font-style: italic; color: var(--athena); font-size: 22px; }
.pullquote { margin: 40px 0; text-align: center; }
.pullquote blockquote { font-family: var(--font-italic); font-style: italic; color: var(--athena); font-size: clamp(24px,3vw,32px); line-height: 1.32; max-width: 26ch; margin: 0 auto; }
.pullquote__mark { color: var(--brass); }
.rule-orn { display: flex; align-items: center; gap: 16px; margin: 32px 0; color: var(--olive); }
.rule-orn__line { flex: 1; height: 1px; background: var(--stone); }
.sprig { color: var(--olive); flex: none; }

/* ==========================================================================
   Forms (contact)
   ========================================================================== */
.form { max-width: 640px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--athena); margin-bottom: 8px; }
.field input[type=text], .field input[type=email], .field textarea, .field select {
  width: 100%; font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: 13px 14px; transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); }
.field textarea { resize: vertical; min-height: 8em; line-height: 1.55; }
.fieldrow { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .fieldrow { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.alert { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: 16px; }
.alert--ok { background: var(--bone); color: var(--athena); border: 1px solid var(--stone); }
.alert--err { background: #f6ece1; color: var(--brass-ink); border: 1px solid var(--brass); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--surface-dark); color: var(--on-dark-soft); }
.site-footer a { color: var(--on-dark-soft); }
.site-footer a:hover { color: var(--paper); }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; padding-block: clamp(48px,7vw,88px); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brandcol { grid-column: 1 / -1; } }
.footer-brandcol .brandmark .a { color: var(--paper); }
.footer-brandcol .brandmark .r { color: var(--on-dark-soft); }
.footer-brandcol p { margin: 18px 0 24px; max-width: 38ch; font-size: 15px; }
.footer-col h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(239,233,222,.16); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-bottom .places { letter-spacing: .18em; text-transform: uppercase; font-size: 11px; }

/* ---- Reveal animation --------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---- Print -------------------------------------------------------------- */
@media print { .siteheader, .ctaband, .site-footer { display: none; } body { background: #fff; } }
