/* Tier One Talent & Intel Recruiting — site styles */
@import url("/assets/fonts/fonts.css");

:root {
  --ink: #141414;
  --charcoal: #1d1d1d;
  --steel: #2b2b2b;
  --line: #dcdcdc;
  --muted: #5d5d5d;
  --paper: #f6f6f4;
  --white: #ffffff;
  --green: #2f6b2f;
  --green-bright: #3f8f3a;
  --green-soft: #e7f0e5;
  --navy: #0d2f63;
  --radius: 6px;
  --max: 1120px;
  --head: "Fjalla One", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-bright); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; letter-spacing: .04em; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); text-transform: uppercase; }
h3, h2.h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--green); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand span { font-family: var(--head); font-size: 1.05rem; letter-spacing: .08em; line-height: 1.15; text-transform: uppercase; }
.brand small { display: block; font-family: var(--body); font-size: .68rem; letter-spacing: .2em; color: #a9a9a9; }
.brand:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 1px solid #555; color: #fff; border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 4px; }
.nav a { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; }
.nav a { display: block; color: #e2e2e2; text-decoration: none; font-family: var(--head); font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--steel); }
.nav a.cta { background: var(--green); color: #fff; }
.nav a.cta:hover { background: var(--green-bright); }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 3px solid var(--green); }
  .nav.open { display: block; }
  .nav ul { flex-wrap: wrap; flex-direction: column; padding: 8px 20px 16px; }
  .nav a { padding: 12px 8px; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #161616 0%, #232323 100%); color: #fff; text-align: center; padding: 64px 0 72px; }
.hero .logo { width: min(280px, 70vw); margin: 0 auto 28px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
.hero .eyebrow { font-family: var(--head); letter-spacing: .25em; color: #9fcf98; text-transform: uppercase; font-size: .95rem; margin-bottom: 10px; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.25rem; color: #d6d6d6; max-width: 720px; margin: 0 auto 10px; }
.hero .tags { font-family: var(--head); letter-spacing: .12em; color: #bdbdbd; margin: 0 0 4px; }
.hero .actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.page-hero { background: var(--charcoal); color: #fff; padding: 52px 0 44px; text-align: center; }
.page-hero .eyebrow { font-family: var(--head); letter-spacing: .25em; color: #9fcf98; text-transform: uppercase; font-size: .85rem; }
.page-hero h1 { margin: 6px 0 0; }
.page-hero p { color: #cfcfcf; max-width: 760px; margin: 14px auto 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 13px 26px; border-radius: var(--radius); border: 2px solid var(--green); background: var(--green); color: #fff; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--green-bright); border-color: var(--green-bright); color: #fff; }
.btn.ghost { background: transparent; border-color: #8a8a8a; color: #fff; }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn.small { padding: 8px 16px; font-size: .85rem; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--white); }
section.dark { background: var(--charcoal); color: #eaeaea; }
section.dark h2, section.dark h3 { color: #fff; }
.intro { max-width: 820px; margin: 0 auto; text-align: center; font-size: 1.15rem; }
.kicker { font-family: var(--head); letter-spacing: .2em; color: var(--green); text-transform: uppercase; font-size: .9rem; margin-bottom: 6px; }
.dark .kicker { color: #9fcf98; }
.prose { max-width: 780px; margin: 0 auto; }

.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 28px; }
.dark .card { background: var(--steel); border-color: #3a3a3a; border-top-color: var(--green-bright); }
.card h3, .card h2.h3 { text-transform: uppercase; }

ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
ul.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; background: var(--green); transform: rotate(45deg); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.chips span { background: var(--green-soft); color: #1f4d1f; border: 1px solid #c9dcc5; border-radius: 999px; padding: 6px 14px; font-size: .92rem; font-weight: 600; }

.callout { border-left: 5px solid var(--green); background: var(--white); padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; }
.dark .callout { background: var(--steel); }

.quote { font-family: var(--head); font-size: 1.6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }

/* Rates */
.rate { text-align: center; }
.rate .price { font-family: var(--head); font-size: 2.2rem; color: var(--green); letter-spacing: .03em; margin: 8px 0 4px; }
.rate .unit { color: var(--muted); font-size: .95rem; }
.fine { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--head); font-size: 1.4rem; color: var(--green); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 18px; }

/* Downloads */
.downloads { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.dl strong { display: block; line-height: 1.3; }
.dl small { color: var(--muted); }

/* Forms */
form.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field .req { color: #b02a2a; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #bdbdbd; border-radius: var(--radius); background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid #b9d8b4; border-color: var(--green); }
textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hidden { display: none; }
.contact-box p { margin: 0 0 6px; }

/* ---------- Footer ---------- */
.ticker { background: var(--green); color: #fff; text-align: center; font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; padding: 12px 20px; font-size: .95rem; }
.site-footer { background: var(--ink); color: #bdbdbd; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #e6e6e6; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .fh { font-size: 1rem; color: #fff; text-transform: uppercase; font-size: 1rem; letter-spacing: .12em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.badges { display: flex; gap: 10px; margin-top: 14px; }
.badges img { width: 74px; border-radius: 3px; }
.ids { font-size: .82rem; color: #9a9a9a; line-height: 1.7; margin-top: 12px; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #444; border-radius: 50%; }
.social a:hover { border-color: var(--green-bright); }
.social svg { width: 18px; height: 18px; fill: #e6e6e6; }
.copyright { border-top: 1px solid #2c2c2c; margin-top: 36px; padding-top: 18px; font-size: .85rem; color: #8a8a8a; text-align: center; }

/* Utilities */
.u-top { align-items: start; }
.u-m0 { margin: 0; }
.u-lg { font-size: 1.15rem; }
.u-mt12 { margin-top: 12px; } .u-mt20 { margin-top: 20px; } .u-mt24 { margin-top: 24px; }
.u-mt28 { margin-top: 28px; } .u-mt32 { margin-top: 32px; }
.u-w820 { max-width: 820px; }
.u-center { text-align: center; }

.req-note { margin: 0 0 14px; }
form.panel .fine { margin: 4px 0 16px; }

/* ---------- Careers ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.job-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 22px; }
.job-filters #jf-count { grid-column: 1 / -1; margin: -2px 0 0; }
.job-filters[hidden], .job-empty[hidden], .job-card[hidden] { display: none; }
.job-filters input, .job-filters select { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #bdbdbd; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.job-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.job-card { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; }
.job-card p { font-size: 1rem; color: #333; flex: 1; margin: 12px 0 16px; }
.job-card .btn { align-self: flex-start; }
.job-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.job-top h2 { margin: 0; text-transform: uppercase; }
.job-top h2 a { color: var(--ink); text-decoration: none; }
.job-top h2 a:hover { color: var(--green); }
.job-id { font-family: var(--head); letter-spacing: .1em; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill { font-size: .85rem; font-weight: 600; padding: 3px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: #333; }
.pill.clr { background: var(--green-soft); border-color: #b9d4b4; color: #1f4d1f; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .9rem; padding: 3px 12px; border-radius: 20px; border: 1px solid #b9d4b4; background: var(--green-soft); color: #1f4d1f; }
.crumb { margin: -24px 0 20px; font-size: .95rem; }
.job-detail { align-items: start; }
.job-body .lead { font-size: 1.1rem; margin-top: 16px; }
.job-body h2.h3 { text-transform: uppercase; margin-top: 26px; }
.apply-form { position: sticky; top: 96px; }
.apply-form h2 { text-transform: uppercase; margin-bottom: 4px; }
.field.check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.field.check input { width: auto; margin-top: 6px; flex: none; }
@media (max-width: 900px) { .apply-form { position: static; } }
.job-filters input, .job-filters select { width: 100%; min-width: 0; height: 46px; }
@media (max-width: 700px) { .job-filters { grid-template-columns: 1fr 1fr; } .job-filters input { grid-column: 1 / -1; } }
.brand { flex-shrink: 0; }
@media (min-width: 1121px) { .nav a { padding: 8px 9px; } }
.job-body .chips { justify-content: flex-start; }
.nw { white-space: nowrap; }
.apply-jump { display: none; margin: 16px 0 0; }
@media (max-width: 700px) { .apply-jump { display: block; } }
