/* TwoFourteen Concepts — site styles (light, neutral)
   Off-white base, near-black text, one accent color.
   Accent: deep fire-engine red (readable on light backgrounds).
   System fonts only (no third-party requests). */

:root {
  --bg: #faf9f6;
  --card: #ffffff;
  --line: #e4e1da;
  --text: #1b1b1b;
  --muted: #5c5f63;
  --accent: #c8102e;        /* fire-engine red */
  --accent-ink: #ffffff;    /* text on accent buttons */
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  border-top: 4px solid var(--accent);   /* the thin line */
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.brand {
  color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand:hover { text-decoration: none; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 88px 0 64px; }
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 0 28px; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 650; padding: 12px 20px; border-radius: 10px; font-size: 16px;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 56px 0; }
.section-line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.card p { color: var(--muted); margin: 0; }
.card .links { margin-top: auto; padding-top: 10px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }

.status {
  align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px; background: var(--bg);
}

.quote { font-size: clamp(22px, 3vw, 30px); line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 16px; }
.quote span { color: var(--accent); }

/* Article pages */
.page { padding: 64px 0 40px; max-width: 860px; margin: 0 auto; }
.page h2 { margin-top: 44px; font-size: 26px; }
.page p, .page li { color: #2e2f31; }
.page ul { padding-left: 22px; }
.muted, .page p.muted { color: var(--muted); }
.page p.eyebrow { color: var(--accent); }
.callout {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 20px 22px; margin: 24px 0;
}
.callout p { margin: 0; }

details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin: 12px 0;
}
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .hero { padding: 56px 0 40px; }
  section { padding: 40px 0; }
  .card { padding: 22px; }
}

/* Two-column sections that use the full width on larger screens */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.split > * { min-width: 0; }
.split h2, .split .quote { margin-top: 0; }
.split-text { margin: 0; font-size: 17px; }
.split-text p:first-child { margin-top: 0; }
.hero-split { align-items: center; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.hero-split h1 { margin: 0; font-size: clamp(40px, 5.6vw, 68px); white-space: nowrap; }
.hero-split .lede { max-width: none; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 20px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split h1 { margin-bottom: 4px; white-space: normal; }
}
.page .lede { max-width: none; }

/* Motto always on one line, sized to the screen */
.quote-line { white-space: nowrap; font-size: clamp(13px, calc((100vw - 48px) / 20), 54px); margin: 0 0 22px; }
.why-text { margin: 0; font-size: 18px; max-width: 1030px; }
@media (max-width: 860px) { .why-text { font-size: 17px; } }

/* Hero: company name on one line, sized to the screen */
.hero-split { grid-template-columns: 1fr; gap: 18px; }
.hero-split .name-line { white-space: nowrap; font-size: clamp(22px, calc((100vw - 48px) / 11.6), 88px); }
.hero-split .lede { max-width: 760px; }

/* App cards in each app's own colors */
.appcard { display: flex; gap: 22px; align-items: flex-start; border-radius: 16px; padding: 26px; }
.appcard .appicon { width: 84px; height: 84px; border-radius: 19px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 2px 10px rgba(0,0,0,.35); }
.appcard h3 { margin: 8px 0 8px; font-size: 22px; color: #fff; }
.appcard p { margin: 0 0 16px; line-height: 1.55; }
.appcard .status { display: inline-block; font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; border: 0; }
.appcard .links a { margin-right: 18px; font-weight: 600; text-decoration: none; }
.appcard .links a:hover { text-decoration: underline; }
.app-ats { background: #141414; }
.app-ats p { color: #c9c9c9; }
.app-ats .status { background: rgba(200,16,46,.22); color: #ff6b7d; }
.app-ats .links a { color: #ff6b7d; }
.app-it { background: #0b1633; }
.app-it p { color: #d9dee8; }
.app-it .status { background: rgba(212,167,44,.2); color: #e9c46a; }
.app-it .links a { color: #e9c46a; }
@media (max-width: 520px) { .appcard { flex-direction: column; gap: 14px; } .appcard .appicon { width: 68px; height: 68px; border-radius: 15px; } }

/* ---- Logo (Nov 25): stencil wordmark, grey CONCEPTS, slogan ---- */
@font-face {
  font-family: "Saira Stencil"; src: url("/assets/fonts/saira-stencil-caps.woff") format("woff");
  font-display: swap; unicode-range: U+0020, U+0041-005A;
}
:root { --red: #c8102e; --grey: #7a7d82; }
.wm { font-family: "Saira Stencil", Impact, "Arial Black", sans-serif; font-weight: 400; color: var(--text); line-height: 1; letter-spacing: 0; display: block; white-space: nowrap; }
.wm-two { color: var(--red); }
.wm-sub { display: block; color: var(--grey); font-weight: 600; text-transform: uppercase; line-height: 1; white-space: nowrap; }

/* Header: small stacked wordmark */
.brand { flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; }
.brand .wm { font-size: 24px; }
.brand .wm-sub { font-size: 9px; letter-spacing: 0.78em; margin-right: -0.78em; }

/* Home hero: centered lockup. Sizes are ratios of the wordmark, matching the logo file:
   CONCEPTS = 0.366x wordmark with 0.78em spacing; slogan = 0.264x wordmark. */
.hero-logo { --wm: clamp(34px, calc((100vw - 48px) / 7.6), 132px); text-align: center; padding: 96px 0 72px; }
.lockup { margin: 0 auto; letter-spacing: 0; line-height: 1; display: inline-block; font-size: var(--wm); }
.lockup .wm { font-size: 1em; }
.lockup .wm-sub { font-size: 0.366em; letter-spacing: 0.78em; margin: 0.42em -0.78em 0 0; }
.slogan { font-size: max(15px, calc(var(--wm) * 0.264)); color: var(--text); font-weight: 500; margin: calc(var(--wm) * 0.34) 0 30px; }
.hero-logo .btn-row { justify-content: center; }
.hero-logo .btn-ghost { color: var(--accent); border-color: var(--accent); }
.hero-logo .btn-ghost:hover { background: rgba(200,16,46,.06); }
