/* Ivy Recruiting | site styles */
@font-face { font-family: "Gloock"; src: url("fonts/gloock-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --ivy-900: #3b4532;
  --ivy-800: #66774f;
  --ivy-700: #66774f;
  --ivy-600: #66774f;
  --ivy-400: #738561;
  --sage-200: #dfe5d6;
  --sage-100: #eef1e8;
  --ivory: #faf9f5;
  --paper: #ffffff;
  --gold: #738561;
  --gold-soft: #e3e9db;
  --ink: #232820;
  --muted: #5d6458;
  --line: #e3e6dc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(38, 45, 33, .06), 0 8px 28px rgba(38, 45, 33, .07);
  --max: 1160px;
  --serif: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ivy-600); text-underline-offset: 3px; }
a:hover { color: var(--ivy-800); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--ivy-900); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivy-600); margin-bottom: 14px; display: inline-block; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: var(--sans); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ivy-700); color: #fff; }
.btn-primary:hover { background: var(--ivy-900); color: #fff; }
.btn-gold { background: var(--gold-soft); color: var(--ivy-900); }
.btn-gold:hover { background: #fff; color: var(--ivy-900); }
.btn-outline { border-color: var(--ivy-700); color: var(--ivy-700); background: transparent; }
.btn-outline:hover { background: var(--ivy-700); color: #fff; }
.btn-light { background: #fff; color: var(--ivy-800); }
.btn-light:hover { background: var(--gold-soft); color: var(--ivy-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 238, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ivy-900); }
.brand svg { width: 34px; height: 34px; }
.logo-img { height: 60px; width: auto; }
.logo-img-footer { height: 88px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.brand-sub { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ivy-600); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ivy-900); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--ivy-600); }
.hero-art { position: relative; aspect-ratio: 1 / 1.05; border-radius: 28px; background: linear-gradient(160deg, var(--ivy-700), var(--ivy-900)); box-shadow: var(--shadow); overflow: hidden; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-card { position: absolute; left: 22px; right: 22px; bottom: 22px; background: rgba(255,255,255,.96); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.hero-card strong { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--ivy-900); }
.hero-card span { font-size: .9rem; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--ivy-600); }

/* Page hero */
.page-hero { padding: 80px 0 64px; background: linear-gradient(180deg, var(--sage-100), var(--ivory)); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 0; }

/* Sections */
section { padding: 88px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ivy-800); color: #e7eee6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark p { color: #c9d6cb; }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sage-100); color: var(--ivy-600); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); }
.track { display: flex; flex-direction: column; padding: 40px; }
.track.dark { background: var(--ivy-800); border-color: var(--ivy-800); }
.track.dark h3, .track.dark .eyebrow { color: #fff; }
.track.dark .eyebrow { color: var(--gold-soft); }
.track.dark p, .track.dark li { color: #c9d6cb; }
.track h3 { font-size: 1.8rem; }
.track .btn { align-self: flex-start; margin-top: auto; }
.checklist { list-style: none; padding: 0; margin: 4px 0 28px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--sage-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366774f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.track.dark .checklist li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23efe2cb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px 26px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 2rem; color: var(--gold); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
.section-dark .steps li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section-dark .steps h3 { color: #fff; }
.section-dark .steps p { color: #c9d6cb; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .93rem; color: var(--ivy-800); font-weight: 500; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.quote-block { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; color: var(--ivy-900); }
.panel { background: var(--sage-100); border-radius: var(--radius-lg); padding: 36px; }
.panel h3 { margin-bottom: 14px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; position: relative; color: var(--ivy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 1.5rem; color: var(--gold); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--ivy-700), var(--ivy-900)); color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #c9d6cb; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; margin: 0; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1.5fr .9fr; gap: 40px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 32px; }
legend { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ivy-900); margin-bottom: 18px; padding: 0; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label, .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.req { color: #a2462e; }
.hint { font-size: .85rem; color: var(--muted); margin-top: 4px; font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory); border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ivy-600); background: #fff; box-shadow: 0 0 0 4px rgba(92, 110, 75, .15); }
textarea { min-height: 120px; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .95rem; margin: 0; cursor: pointer; }
.check input { margin-top: 5px; accent-color: var(--ivy-600); width: 16px; height: 16px; flex: none; }
.consent { background: var(--sage-100); border-radius: 12px; padding: 16px 18px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; display: none; }
.form-status.error { display: block; background: #fbeae5; color: #8a3520; }
.side-card { position: sticky; top: 100px; }
.side-card .panel + .panel { margin-top: 20px; }

/* Prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Footer */
.site-footer { background: var(--ivy-900); color: #b9c8bc; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: #9fb3a4; }
.site-footer h4 { font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #dfe8e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8ea393; }
.eeo { margin-top: 18px; font-size: .85rem; color: #8ea393; max-width: 420px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1020px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .nav-cta { display: none; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .mobile-only { display: block; }
  .hero-grid, .split, .grid-2, .grid-3, .cta-band { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero-art { max-width: 460px; }
  .cta-band { padding: 40px 28px; }
  .cta-band .btn-row { justify-content: flex-start; }
  section { padding: 64px 0; }
}
@media (min-width: 861px) { .nav-links .mobile-only { display: none; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-4, .steps, .steps.three, .footer-grid, .field-row, .checks { grid-template-columns: 1fr; }
  .card, .track, .form-card { padding: 26px 22px; }
  .btn { width: 100%; justify-content: center; }
  .track .btn { align-self: stretch; }
}

/* File upload */
input[type="file"] { width: 100%; padding: 10px 12px; font: inherit; font-size: .95rem; color: var(--muted); background: var(--ivory); border: 1.5px dashed var(--sage-200); border-radius: 10px; cursor: pointer; }
input[type="file"]:hover { border-color: var(--ivy-600); }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; font-size: .9rem; margin-right: 14px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--ivy-700); color: #fff; cursor: pointer; }
input[type="file"]::file-selector-button:hover { background: var(--ivy-800); }
.tally-card { padding: 28px 28px 12px; } .tally-card iframe { display: block; min-height: 400px; }

/* Light & airy theme matched to the logo green (#738561) */
.btn-primary:hover { background: #56653f; }
.btn-outline:hover { background: #66774f; }
.hero-art { background: linear-gradient(160deg, #738561, #56653f); }
.section-dark { background: #e7ece0; color: var(--ink); }
.section-dark h2, .section-dark h3, .section-dark .steps h3 { color: var(--ivy-900); }
.section-dark p, .section-dark .lead, .section-dark .steps p { color: var(--muted); }
.section-dark .eyebrow { color: var(--ivy-600) !important; }
.section-dark .steps li { background: #fff; border-color: var(--sage-200); }
.track.dark { background: #66774f; border-color: #66774f; }
.track.dark p, .track.dark li { color: #fff; }
.cta-band { background: linear-gradient(135deg, #738561, #5f6f4b); }
.cta-band p { color: #fff; }
.site-footer { background: #66774f; color: #fff; }
.site-footer h4 { color: #fff; }
.site-footer a { color: #fff; }
.footer-bottom, .eeo { color: #f4f6f0; }
.footer-bottom { border-top-color: rgba(255,255,255,.25); }
