/* =====================================================================
   TGK Consulting, LLC — website styles
   EASY EDITS: change the colors and fonts in the :root block below.
   ===================================================================== */

:root {
  /* Brand colors */
  --blue: #1B3FBF;        /* primary royal blue */
  --blue-dark: #122C8A;   /* button hover */
  --navy: #0B1F5C;        /* dark sections + footer */
  --ink: #121826;         /* main text */
  --muted: #4A5468;       /* secondary text */
  --line: #D5DBEA;        /* hairlines and borders */
  --bg-alt: #F4F6FC;      /* light section background */
  --white: #FFFFFF;
  --placeholder: #FFF1A8; /* highlights text you still need to replace */

  /* Fonts (loaded from Google Fonts in each page's <head>) */
  --font-head: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Helvetica, sans-serif;

  --max: 1160px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 4px; text-decoration: none;
}
.skip-link:focus { left: 8px; color: #fff; }

.placeholder { background: var(--placeholder); color: #3b2f00; padding: 0 4px; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 16px;
  line-height: 1; text-decoration: none; text-align: center; cursor: pointer;
  padding: 15px 26px; border-radius: 4px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-alt); border-color: var(--bg-alt); color: var(--navy); }
.btn-small { padding: 11px 20px; font-size: 15px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: block; line-height: 0; }
.brand img { height: 40px; width: auto; }
.site-nav ul { display: flex; align-items: center; gap: 22px; }
.site-nav a { white-space: nowrap; font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.site-nav a.btn { color: #fff; border-bottom: 2px solid var(--blue); padding: 11px 20px; font-size: 15px; }
.site-nav a.btn:hover { color: #fff; border-bottom-color: var(--blue-dark); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--line); border-radius: 4px;
  width: 46px; height: 46px; padding: 0; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; content: ""; position: relative;
}
.nav-toggle .bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle .bars::after { position: absolute; top: 7px; left: 0; }

/* ---------- Generic section pieces ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 16px;
}
.section-navy .eyebrow { color: #A9BBFF; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { font-size: 40px; }
.section-head p { font-size: 19px; color: var(--muted); margin: 18px 0 0; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-alt); padding: 88px 0 96px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
.hero h1 { font-size: 56px; letter-spacing: -0.01em; }
.hero h1 span { color: var(--blue); }
.hero .lead { font-size: 21px; line-height: 1.55; color: #2b3345; margin: 24px 0 36px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.path-card {
  display: block; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue);
  padding: 28px 30px 30px; text-decoration: none; color: var(--ink); margin-bottom: 20px;
}
.path-card:last-child { margin-bottom: 0; }
.path-card:hover { color: var(--ink); border-color: var(--blue); }
.path-card .tag { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.path-card h3 { font-size: 24px; margin-bottom: 8px; }
.path-card p { margin: 0 0 14px; color: var(--muted); font-size: 16.5px; }
.path-card .more { font-weight: 700; color: var(--blue); }

/* ---------- Photos ----------
   Photos live in images/photos/ and are named in the page. If a file is
   missing, its spot is hidden so no broken image shows. */
.photo { margin: 0; position: relative; overflow: hidden; background: #DCE3F5; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.missing { display: none; }
.hero-photo-wrap { margin-top: 56px; }
.photo-hero { height: 400px; }
.photo-tile { height: 190px; }
.photo-side { height: 280px; margin-top: 40px; }
.photo-about { height: 320px; margin-bottom: 24px; }

/* ---------- Industries ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.tiles .tile { grid-column: span 4; }
.tiles .tile:nth-child(n+4) { grid-column: span 3; }
.tile { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.tile-body { padding: 22px 24px 26px; }
.tile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tile svg { flex: none; display: block; width: 30px; height: 30px; color: var(--blue); }
.tile h3 { font-size: 20px; line-height: 1.2; }
.tile p { margin: 0; font-size: 16.5px; color: var(--muted); }
.industries-note { margin: 36px 0 0; font-size: 18px; }
.industries-note strong { color: var(--ink); }

/* ---------- Lifetime client (candidates) ---------- */
.lifetime-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.lifetime h2 { font-size: 42px; margin-bottom: 22px; }
.lifetime .lead { font-size: 19px; color: #DDE5FF; margin-bottom: 32px; }
.benefits li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.22); }
.benefits li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.benefits .num {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center;
  align-self: start; justify-self: start;
}
.benefits h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.benefits p { margin: 0; color: #DDE5FF; font-size: 16.5px; }

/* ---------- Employers ---------- */
.employers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.employers h2 { font-size: 40px; margin-bottom: 20px; }
.employers .lead { font-size: 19px; color: var(--muted); }
.placement-types { margin: 26px 0 32px; }
.placement-types li { padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; }
.placement-types li:last-child { border-bottom: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center;
  align-self: start; justify-self: start;
}
.steps h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 16.5px; }

/* ---------- Fractional HR consulting ---------- */
.hr-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; }
.hr h2 { font-size: 40px; margin-bottom: 20px; }
.hr .lead { font-size: 19px; color: var(--muted); }
.hr-note { font-size: 17px; color: #2b3345; border-top: 1px solid var(--line); padding-top: 18px; margin: 24px 0 30px; }
.hr-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 28px; }
.hr-items li { border-top: 3px solid var(--blue); padding-top: 14px; }
.hr-items h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.hr-items p { margin: 0; font-size: 16.5px; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
.about h2 { font-size: 40px; margin-bottom: 24px; }
.about p { font-size: 18px; color: #2b3345; }
.principles { border: 1px solid var(--line); background: #fff; border-top: 5px solid var(--blue); padding: 12px 32px; }
.principles li { padding: 22px 0; border-top: 1px solid var(--line); }
.principles li:first-child { border-top: 0; }
.principles .big { font-family: var(--font-head); font-size: 22px; line-height: 1.3; color: var(--ink); display: block; }
.principles .big em { color: var(--blue); font-style: italic; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.contact h2 { font-size: 42px; margin-bottom: 18px; }
.contact .lead { font-size: 19px; color: var(--muted); margin-bottom: 32px; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); padding-top: 4px; }

.form-card { background: #fff; border: 1px solid var(--line); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid #9AA6C4; border-radius: 4px; padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(27,63,191,.35); border-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14.5px; color: var(--muted); margin: 6px 0 22px; }
.form-status { display: none; margin-bottom: 20px; padding: 14px 16px; border: 1.5px solid #B42318; background: #FEF3F2; color: #7A1A12; border-radius: 4px; font-weight: 600; }
.form-status.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #DDE5FF; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 380px; font-size: 16px; margin: 0; }
.site-footer h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #A9BBFF; margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14.5px; color: #B9C6F2; }

/* ---------- Simple inner pages (thank-you, privacy) ---------- */
.page-simple { padding: 80px 0 96px; }
.page-simple .container { max-width: 800px; }
.page-simple h1 { font-size: 42px; margin-bottom: 22px; }
.page-simple h2 { font-size: 26px; margin: 40px 0 12px; }
.page-simple p, .page-simple li { font-size: 17.5px; }
.page-simple ul { list-style: disc; padding-left: 24px; margin-bottom: 1em; }
.page-simple li { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav li:first-child { border-top: 0; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 0; }
  .site-nav a:hover { border-bottom: 0; }
  .site-nav li:last-child { padding-top: 16px; }
  .site-nav a.btn { display: block; text-align: center; padding: 14px 20px; }
}
@media (max-width: 1000px) {
  .hero h1 { font-size: 46px; }
  .hero-grid, .lifetime-grid, .employers-grid, .hr-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles .tile, .tiles .tile:nth-child(n+4) { grid-column: auto; }
  .tiles .tile:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 37px; }
  .hero .lead { font-size: 19px; }
  .section-head h2, .lifetime h2, .employers h2, .hr h2, .about h2, .contact h2 { font-size: 31px; }
  .hr-items { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tiles .tile:last-child { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 20px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .brand img { height: 34px; }
  .hero-actions .btn { width: 100%; }
  .hero-photo-wrap { margin-top: 40px; }
  .photo-hero { height: 220px; }
  .photo-side { height: 220px; margin-top: 32px; }
  .photo-about { height: 240px; }
  .photo-tile { height: 200px; }
}
