/* ═══════════════════════════════════════════════════════
   SimpleQT LLC — New York Times Newspaper Theme
   Black ink on white paper. Pure editorial typography.
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap');

/* ── Design Tokens ────────────────────────────────────── */
:root {
  --black:    #000000;
  --ink:      #121212;   /* body text             */
  --ink-2:    #333333;   /* deck / secondary       */
  --ink-3:    #666666;   /* bylines / captions     */
  --ink-4:    #999999;   /* very muted             */
  --white:    #FFFFFF;   /* page background         */
  --gray-1:   #F7F7F5;   /* alternate section bg    */
  --gray-2:   #E2E2E2;   /* column rules / dividers */
  --gray-3:   #CCCCCC;   /* light borders           */
  --red:      #D0021B;   /* NYT accent red          */

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-serif:   'Libre Baskerville', Georgia, serif;
  --font-sans:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --font-ui:      'Helvetica Neue', Arial, sans-serif;

  --max-w: 1200px;
  --col-gap: 2rem;
  --t: .2s;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-serif);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }
::selection { background: #000; color: #fff; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: #999; }

/* ── Page Loader ──────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  z-index: 9999;
  transition: opacity .5s, visibility .5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-logo { text-align: center; }
.pl-icon {
  width: 52px; height: 52px;
  background: var(--black);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 900;
  color: var(--white); margin: 0 auto .5rem;
}
.pl-name {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.01em; display: block;
}
.pl-tagline {
  font-family: var(--font-sans); font-size: .7rem; color: var(--ink-3);
  letter-spacing: .1em; text-transform: uppercase; display: block;
}
.pl-bar { width: 160px; height: 2px; background: var(--gray-2); margin-top: .75rem; }
.pl-fill { height: 100%; background: var(--black); animation: plFill 1s ease forwards; }
@keyframes plFill { from { width: 0; } to { width: 100%; } }

/* ── Container ────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ═══════════════════════════════════════════════════════
   TOP UTILITY BAR — date, location, quick links
   ═══════════════════════════════════════════════════════ */
.top-bar {
  border-bottom: 1px solid var(--gray-2);
  padding: .4rem 0;
  background: var(--white);
}
.top-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.top-bar-left, .top-bar-right {
  font-family: var(--font-sans); font-size: .7rem; color: var(--ink-3);
  letter-spacing: .03em;
  display: flex; align-items: center; gap: 1rem;
}
.top-bar-left span { border-right: 1px solid var(--gray-2); padding-right: 1rem; }
.top-bar-left span:last-child { border-right: none; }
.top-bar-right a {
  color: var(--ink-3); transition: color var(--t);
  display: flex; align-items: center; gap: .3rem;
}
.top-bar-right a:hover { color: var(--ink); }
.top-bar-emp {
  background: var(--black); color: var(--white) !important;
  padding: .25rem .65rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .05em;
}
.top-bar-emp:hover { background: #333 !important; color: var(--white) !important; }
.top-bar-divider { color: var(--gray-2); }

/* ═══════════════════════════════════════════════════════
   MASTHEAD — the big newspaper nameplate
   ═══════════════════════════════════════════════════════ */
.masthead {
  text-align: center;
  padding: 1.5rem 0 1rem;
  border-bottom: 3px solid var(--black);
  position: relative;
}
.masthead::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: var(--red);
  position: absolute;
  top: -3px; left: 0;
}
.masthead-tagline-top {
  font-family: var(--font-sans); font-size: .65rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-4);
  margin-bottom: .75rem;
  display: flex; align-items: center; gap: 1rem; justify-content: center;
}
.masthead-tagline-top::before,
.masthead-tagline-top::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-2);
  max-width: 180px;
}
.masthead-logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.04em;
  line-height: 1;
  display: block;
  margin-bottom: .15rem;
}
.masthead-logo span { font-weight: 400; font-style: italic; font-size: .6em; }
.masthead-motto {
  font-family: var(--font-serif);
  font-size: .85rem; font-style: italic; color: var(--ink-3);
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
  padding: .4rem 0;
  margin-top: .75rem;
  display: inline-block;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════
   SECTION NAV — horizontal newspaper section links
   ═══════════════════════════════════════════════════════ */
.section-nav {
  border-bottom: 1px solid var(--gray-2);
  background: var(--white);
  position: sticky; top: 0; z-index: 100;
}
.section-nav .container {
  display: flex; align-items: center;
  overflow-x: auto; gap: 0;
}
.section-nav a {
  font-family: var(--font-sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2);
  padding: .65rem 1rem;
  border-right: 1px solid var(--gray-2);
  white-space: nowrap;
  transition: background var(--t), color var(--t);
  flex-shrink: 0;
}
.section-nav a:first-child { border-left: 1px solid var(--gray-2); }
.section-nav a:hover { background: var(--gray-1); color: var(--black); }
.section-nav a.active { color: var(--black); font-weight: 700; }
.section-nav a.nav-phone {
  color: var(--ink-3); font-weight: 400; margin-left: auto; border-right: none;
}

/* Hamburger hidden by default */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .65rem 1rem; flex-shrink: 0; margin-left: auto;
  border-left: 1px solid var(--gray-2);
}
.nav-hamburger span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  position: fixed; inset: 0; z-index: 99;
  background: var(--white);
  display: flex; flex-direction: column;
  padding: 4rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  border-left: 3px solid var(--black);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-2); padding: .85rem 0;
  border-bottom: 1px solid var(--gray-2);
  transition: color var(--t);
}
.nav-mobile a:hover { color: var(--black); }
.nav-mobile .mob-emp {
  margin-top: 1rem; background: var(--black); color: var(--white);
  padding: .75rem 1rem; text-align: center;
  font-size: .85rem; letter-spacing: .05em;
}

/* ═══════════════════════════════════════════════════════
   SHARED — section dividers / labels
   ═══════════════════════════════════════════════════════ */
.nyt-divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1.5rem;
}
.nyt-divider::before { content: ''; flex: none; width: 28px; height: 3px; background: var(--black); }
.nyt-divider-label {
  font-family: var(--font-sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2);
}
.nyt-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-2); }

.nyt-section-head {
  border-top: 3px solid var(--black);
  padding: .45rem 0;
  margin-bottom: 1.5rem;
  display: flex; align-items: baseline; justify-content: space-between;
}
.nyt-section-head h2 {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--black);
}
.nyt-section-head a {
  font-family: var(--font-sans); font-size: .68rem; color: var(--ink-3);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color var(--t);
}
.nyt-section-head a:hover { color: var(--black); }

.byline {
  font-family: var(--font-sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3);
  display: block; margin-bottom: .5rem;
}
.dateline {
  font-family: var(--font-sans); font-size: .7rem; color: var(--ink-4);
  font-weight: 400;
}

section { padding: 2.5rem 0; }

/* Fade up animation */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: .1s; }
.fade-up-d2 { transition-delay: .2s; }
.fade-up-d3 { transition-delay: .3s; }
.fade-up-d4 { transition-delay: .4s; }
.fade-up-d5 { transition-delay: .5s; }

/* ═══════════════════════════════════════════════════════
   HERO — "Above the fold" newspaper front page
   ═══════════════════════════════════════════════════════ */
.hero {
  padding: 1.5rem 0;
  border-bottom: 3px solid var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 0;
  border-top: 1px solid var(--gray-2);
}

/* Column rules */
.hero-col {
  padding: 1.25rem var(--col-gap) 1.25rem 0;
  border-right: 1px solid var(--gray-2);
}
.hero-col:first-child { padding-left: 0; }
.hero-col:last-child { border-right: none; padding-right: 0; padding-left: var(--col-gap); }

/* Center main story */
.hero-main {
  padding: 1.25rem var(--col-gap);
  border-right: 1px solid var(--gray-2);
  position: relative;
}
.hero-main::before {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--red);
  margin-bottom: .75rem;
}

.hero-kicker {
  font-family: var(--font-sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: .5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: .85rem;
}
.hero-headline em { font-weight: 400; }
.hero-deck {
  font-family: var(--font-serif);
  font-size: 1rem; line-height: 1.6; color: var(--ink-2);
  margin-bottom: .85rem;
  border-top: 1px solid var(--gray-2);
  padding-top: .75rem;
}
.hero-body {
  font-family: var(--font-serif); font-size: .9rem; line-height: 1.75; color: var(--ink);
  column-count: 2; column-gap: 1.5rem; column-rule: 1px solid var(--gray-2);
  margin-bottom: 1rem;
}
.hero-cta-row {
  display: flex; gap: .75rem; flex-wrap: wrap; border-top: 1px solid var(--gray-2);
  padding-top: .85rem;
}

/* Left sidebar — stats / teaser */
.hero-sidebar-label {
  font-family: var(--font-sans); font-size: .65rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  border-top: 3px solid var(--black);
  padding-top: .4rem; margin-bottom: 1rem;
}
.sidebar-stat {
  border-bottom: 1px solid var(--gray-2);
  padding-bottom: .85rem; margin-bottom: .85rem;
}
.sidebar-stat:last-of-type { border-bottom: none; }
.sidebar-stat-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--black); line-height: 1;
}
.sidebar-stat-label {
  font-family: var(--font-sans); font-size: .72rem; color: var(--ink-3);
  line-height: 1.4; margin-top: .15rem;
}
.sidebar-stat-body {
  font-family: var(--font-serif); font-size: .78rem; color: var(--ink-2);
  line-height: 1.5; margin-top: .3rem; font-style: italic;
}

/* Right sidebar — classified / openings */
.sidebar-openings { }
.opening-item {
  padding: .6rem 0;
  border-bottom: 1px solid var(--gray-2);
  transition: background var(--t);
}
.opening-item:last-child { border-bottom: none; }
.opening-title {
  font-family: var(--font-display); font-size: .9rem; font-weight: 700;
  color: var(--black); line-height: 1.25; margin-bottom: .15rem;
}
.opening-meta {
  font-family: var(--font-sans); font-size: .68rem; color: var(--ink-3);
  line-height: 1.4;
}
.opening-tag {
  display: inline-block; font-size: .62rem; font-weight: 600;
  letter-spacing: .05em; color: var(--white);
  background: var(--black);
  padding: 1px 5px; margin-right: .25rem;
}
.opening-tag.tag-green { background: #2d5a27; }
.opening-tag.tag-gray { background: var(--ink-3); }

/* Stats row — full width under hero */
.hero-stats-strip {
  border-top: 1px solid var(--gray-2);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hstat {
  padding: 1rem; text-align: center;
  border-right: 1px solid var(--gray-2);
  transition: background var(--t);
}
.hstat:last-child { border-right: none; }
.hstat:hover { background: var(--gray-1); }
.hstat-num {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700;
  color: var(--black); line-height: 1;
}
.hstat-lbl {
  font-family: var(--font-sans); font-size: .66rem; color: var(--ink-3);
  margin-top: .2rem; letter-spacing: .04em; text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   MARQUEE TICKER
   ═══════════════════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden; padding: .5rem 0;
  background: var(--black);
  border-bottom: 1px solid #333;
}
.marquee-inner {
  display: flex; align-items: center; gap: 2rem; width: max-content;
  animation: marq 30s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
.marquee-inner span {
  font-family: var(--font-sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; color: #999; text-transform: uppercase; white-space: nowrap;
}
.marquee-inner span::before { content: '◆'; color: #444; font-size: .5rem; margin-right: .5rem; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════════
   SERVICES — newspaper article grid
   ═══════════════════════════════════════════════════════ */
.services { background: var(--white); border-bottom: 1px solid var(--gray-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-2);
}
.svc-card {
  padding: 1.25rem 1.5rem 1.25rem 0;
  border-right: 1px solid var(--gray-2);
  transition: background var(--t);
}
.svc-card:last-child { border-right: none; padding-right: 0; }
.svc-card:nth-child(3n) { border-right: none; }
.svc-card:hover { background: var(--gray-1); }

/* Lead card spans 2 cols */
.svc-card.featured {
  grid-column: span 2;
  border-right: 1px solid var(--gray-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  align-items: start;
}
.svc-card.featured .svc-body { border-left: 1px solid var(--gray-2); padding-left: 1.5rem; }

.svc-kicker {
  font-family: var(--font-sans); font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: .35rem;
}
.svc-icon { font-size: 1.4rem; margin-bottom: .5rem; display: block; }
.svc-card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--black); line-height: 1.2; margin-bottom: .4rem;
}
.svc-card.featured h3 { font-size: 1.4rem; }
.svc-card p {
  font-family: var(--font-serif); font-size: .85rem; color: var(--ink-2);
  line-height: 1.65; margin-bottom: .6rem;
}
.learn-more {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; color: var(--ink-3);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color var(--t);
}
.learn-more:hover { color: var(--black); }

/* Row 2 */
.services-row2 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-2);
  gap: 0;
}
.services-row2 .svc-card { padding: 1.25rem 1.5rem 1.25rem 0; }
.services-row2 .svc-card:nth-child(3n) { border-right: none; }

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS — editorial timeline
   ═══════════════════════════════════════════════════════ */
.how-it-works { background: var(--gray-1); border-bottom: 1px solid var(--gray-2); }

.steps-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--gray-2);
}
.step-card {
  padding: 1.25rem 1.25rem 1.25rem 0;
  border-right: 1px solid var(--gray-2);
  transition: background var(--t);
}
.step-card:last-child { border-right: none; padding-right: 0; }
.step-card:hover { background: #efefed; }

.step-num {
  font-family: var(--font-sans); font-size: .62rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-4);
  border-top: 3px solid var(--black); padding-top: .4rem;
  margin-bottom: .5rem; display: block;
}
.step-icon { font-size: 1.2rem; margin-bottom: .4rem; }
.step-card h3 { font-family: var(--font-display); font-size: .98rem; font-weight: 700; color: var(--black); margin-bottom: .3rem; }
.step-card p { font-family: var(--font-serif); font-size: .82rem; color: var(--ink-3); line-height: 1.6; font-style: italic; }

/* ═══════════════════════════════════════════════════════
   WHY US — editorial with sidebar
   ═══════════════════════════════════════════════════════ */
.why-us { background: var(--white); border-bottom: 1px solid var(--gray-2); }
.why-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 0;
  border-top: 1px solid var(--gray-2);
}
.why-main { padding-right: 2.5rem; border-right: 1px solid var(--gray-2); }
.why-sidebar { padding-left: 2rem; }

.why-list { display: flex; flex-direction: column; gap: 0; }
.why-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--gray-2);
  transition: background var(--t);
}
.why-item:last-child { border-bottom: none; }
.why-num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--gray-3); line-height: 1; flex-shrink: 0; width: 32px;
}
.why-text h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: .25rem; }
.why-text p { font-family: var(--font-serif); font-size: .85rem; color: var(--ink-3); line-height: 1.65; font-style: italic; }

/* Activity log sidebar */
.activity-log { }
.activity-item {
  padding: .75rem 0; border-bottom: 1px solid var(--gray-2);
  display: flex; gap: .75rem; align-items: flex-start;
}
.activity-item:last-child { border-bottom: none; }
.activity-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--black); flex-shrink: 0; margin-top: .3rem;
}
.activity-txt strong { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; color: var(--black); display: block; }
.activity-txt span { font-family: var(--font-serif); font-size: .75rem; color: var(--ink-3); font-style: italic; }

/* ═══════════════════════════════════════════════════════
   INDUSTRIES — newspaper column listing
   ═══════════════════════════════════════════════════════ */
.industries { background: var(--gray-1); border-bottom: 1px solid var(--gray-2); }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-2);
}
.ind-card {
  padding: 1rem .85rem 1rem 0;
  border-right: 1px solid var(--gray-2);
  transition: background var(--t);
}
.ind-card:last-child { border-right: none; }
.ind-card:nth-child(5n) { border-right: none; }
.ind-card:hover { background: #efefed; }
.ind-icon { font-size: 1.5rem; margin-bottom: .4rem; }
.ind-card h3 { font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: var(--black); line-height: 1.3; }

/* Row 2 */
.ind-row2 {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; border-top: 1px solid var(--gray-2);
}
.ind-row2 .ind-card:nth-child(5n) { border-right: none; }

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS — editorial quotes
   ═══════════════════════════════════════════════════════ */
.testimonials { background: var(--white); border-bottom: 1px solid var(--gray-2); }

.test-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--gray-2);
}
.test-card {
  padding: 1.25rem 1.5rem 1.25rem 0;
  border-right: 1px solid var(--gray-2);
  transition: background var(--t);
}
.test-card:last-child { border-right: none; padding-right: 0; }
.test-card:hover { background: var(--gray-1); }

.test-stars { display: flex; gap: 2px; margin-bottom: .6rem; }
.star { color: #555; font-size: .75rem; }
.test-open-quote {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--gray-2); line-height: .5; display: block; margin-bottom: .75rem;
}
.test-quote {
  font-family: var(--font-serif); font-size: .875rem; line-height: 1.7;
  color: var(--ink-2); font-style: italic; margin-bottom: 1rem;
  border-left: 2px solid var(--black); padding-left: .85rem;
}
.test-author { display: flex; align-items: center; gap: .65rem; }
.test-avatar {
  width: 36px; height: 36px;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
  flex-shrink: 0;
}
.test-name { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; color: var(--black); }
.test-role { font-family: var(--font-serif); font-size: .72rem; color: var(--ink-3); font-style: italic; }

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact { background: var(--gray-1); border-bottom: 1px solid var(--gray-2); }

.contact-grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 0; border-top: 1px solid var(--gray-2);
  align-items: start;
}
.contact-info { padding-right: 2rem; border-right: 1px solid var(--gray-2); }
.contact-info h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--black); margin-bottom: .4rem; }
.contact-info > p { font-family: var(--font-serif); font-size: .83rem; color: var(--ink-3); font-style: italic; margin-bottom: 1.25rem; line-height: 1.6; }

.citem {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .65rem 0; border-bottom: 1px solid var(--gray-2);
  transition: background var(--t); text-decoration: none;
}
.citem:last-child { border-bottom: none; }
.citem:hover { }
.citem-icon { font-size: .9rem; flex-shrink: 0; margin-top: .05rem; }
.citem strong { font-family: var(--font-sans); font-size: .8rem; font-weight: 700; color: var(--black); display: block; }
.citem span { font-family: var(--font-serif); font-size: .73rem; color: var(--ink-3); font-style: italic; }

.form-box { padding-left: 2.5rem; }
.form-box h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--black); margin-bottom: 1.25rem; padding-bottom: .6rem; border-bottom: 1px solid var(--gray-2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.fgroup { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .75rem; }
.fgroup label {
  font-family: var(--font-sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.fgroup input, .fgroup select, .fgroup textarea {
  padding: .55rem .75rem;
  background: var(--white); border: 1px solid var(--gray-2);
  border-radius: 0; color: var(--ink); font-family: var(--font-serif);
  font-size: .875rem; outline: none;
  transition: border-color var(--t);
}
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus {
  border-color: var(--black);
}
.fgroup input::placeholder, .fgroup textarea::placeholder { color: var(--ink-4); font-style: italic; }
.fgroup textarea { resize: vertical; min-height: 100px; }
.fgroup select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23666' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2rem;
}

#formStatus { font-family: var(--font-sans); font-size: .78rem; color: var(--ink-3); margin-top: .5rem; }
#formStatus.success { color: #2d5a27; }

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.25rem;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; cursor: pointer; white-space: nowrap;
  transition: all var(--t); text-transform: uppercase;
}
.btn-lg { padding: .7rem 1.6rem; font-size: .82rem; }
.btn-sm { padding: .35rem .85rem; font-size: .7rem; }

.btn-primary { background: var(--black); color: var(--white); border: 2px solid var(--black); }
.btn-primary:hover { background: #333; border-color: #333; }

.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-ghost { background: transparent; color: var(--ink-3); border: 1px solid var(--gray-2); }
.btn-ghost:hover { border-color: var(--black); color: var(--black); }

/* ═══════════════════════════════════════════════════════
   CAREERS CTA BAND
   ═══════════════════════════════════════════════════════ */
.careers-cta-band {
  background: var(--black);
  padding: 3rem 0;
  border-top: 3px solid var(--gray-2);
  text-align: center;
}
.careers-cta-band .nyt-divider-label { color: #666; }
.careers-cta-band .nyt-divider::before { background: #666; }
.careers-cta-band .nyt-divider::after { background: #333; }
.careers-cta-band h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.careers-cta-band h2 em { font-weight: 400; }
.careers-cta-band p { font-family: var(--font-serif); font-size: .9rem; color: #999; max-width: 500px; margin: 0 auto 1.5rem; line-height: 1.7; font-style: italic; }
.cta-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.cta-btns .btn-primary { background: var(--white); color: var(--black); border-color: var(--white); }
.cta-btns .btn-primary:hover { background: var(--gray-2); border-color: var(--gray-2); }
.cta-btns .btn-outline { border-color: #555; color: #999; }
.cta-btns .btn-outline:hover { background: #555; color: var(--white); }

/* ═══════════════════════════════════════════════════════
   FOOTER — newspaper-style back page
   ═══════════════════════════════════════════════════════ */
footer {
  background: var(--white);
  border-top: 3px solid var(--black);
  padding: 2.5rem 0 1.5rem;
}
.footer-top {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-2);
  margin-bottom: 1.5rem;
}
.footer-masthead {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--black); letter-spacing: -.02em;
}
.footer-tagline { font-family: var(--font-serif); font-size: .8rem; font-style: italic; color: var(--ink-3); margin-top: .15rem; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--gray-2);
  padding-top: 1.5rem;
}
.footer-col { padding-right: 2rem; border-right: 1px solid var(--gray-2); margin-right: 2rem; }
.footer-col:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.footer-col h4 {
  font-family: var(--font-sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--black);
  border-top: 3px solid var(--black); padding-top: .4rem; margin-bottom: .85rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-col a { font-family: var(--font-serif); font-size: .83rem; color: var(--ink-3); transition: color var(--t); }
.footer-col a:hover { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }
.footer-col p { font-family: var(--font-serif); font-size: .83rem; color: var(--ink-3); line-height: 1.65; font-style: italic; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid var(--gray-2);
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-family: var(--font-sans); font-size: .68rem; color: var(--ink-4); letter-spacing: .03em; }
.footer-links { display: flex; gap: 1rem; }
.footer-links a { font-family: var(--font-sans); font-size: .68rem; color: var(--ink-4); transition: color var(--t); text-decoration: underline; }
.footer-links a:hover { color: var(--black); }

/* ═══════════════════════════════════════════════════════
   CAREERS PAGE
   ═══════════════════════════════════════════════════════ */
.careers-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 3px solid var(--black);
  text-align: center;
}
.careers-hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; color: var(--black); letter-spacing: -.03em; margin-bottom: .6rem;
}
.careers-hero .deck {
  font-family: var(--font-serif); font-size: 1rem; color: var(--ink-2);
  max-width: 560px; margin: 0 auto 1.5rem; line-height: 1.7; font-style: italic;
}
.perks-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--gray-2);
}
.perk-card {
  padding: 1.25rem 1.5rem 1.25rem 0;
  border-right: 1px solid var(--gray-2);
  transition: background var(--t);
}
.perk-card:last-child { border-right: none; padding-right: 0; }
.perk-card:nth-child(3n) { border-right: none; }
.perk-card:hover { background: var(--gray-1); }
.perk-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.perk-card h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--black); margin-bottom: .25rem; }
.perk-card p { font-family: var(--font-serif); font-size: .82rem; color: var(--ink-3); line-height: 1.6; font-style: italic; }

.job-filters { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--gray-2); margin: 1.5rem 0; width: fit-content; }
.filter-btn {
  padding: .35rem .9rem; background: transparent;
  border-right: 1px solid var(--gray-2); border-top: none; border-bottom: none; border-left: none;
  font-family: var(--font-sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); cursor: pointer; transition: all var(--t);
}
.filter-btn:last-child { border-right: none; }
.filter-btn:hover { background: var(--gray-1); color: var(--black); }
.filter-btn.active { background: var(--black); color: var(--white); }

.jobs-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--gray-2); }
.job-card {
  background: var(--white); border-bottom: 1px solid var(--gray-2);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: background var(--t);
}
.job-card:last-child { border-bottom: none; }
.job-card:hover { background: var(--gray-1); }
.job-info { flex: 1; }
.job-info h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--black); margin-bottom: .15rem; }
.job-info p { font-family: var(--font-serif); font-size: .8rem; color: var(--ink-3); line-height: 1.5; font-style: italic; margin-bottom: .6rem; }
.job-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.jtag {
  font-family: var(--font-sans); font-size: .63rem; font-weight: 600; letter-spacing: .05em;
  padding: 1px 6px; border: 1px solid var(--gray-2); color: var(--ink-3);
}
.jtag.green { border-color: #2d5a27; color: #2d5a27; }
.jtag.blue { background: var(--black); border-color: var(--black); color: var(--white); }
.jtag.orange { border-color: #7a4f1a; color: #7a4f1a; }

.app-form-wrap {
  max-width: 720px; margin: 2rem auto 0;
  background: var(--white); border: 1px solid var(--gray-2);
  padding: 2rem;
}
.app-form-wrap h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--black); margin-bottom: .4rem; }
.app-form-wrap > p { font-family: var(--font-serif); font-size: .83rem; color: var(--ink-3); font-style: italic; margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════════════
   EMPLOYEE PAGE
   ═══════════════════════════════════════════════════════ */
.emp-hero { background: var(--black); padding: 4rem 0 3rem; text-align: center; border-bottom: 3px solid var(--gray-2); }
.emp-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.emp-hero .deck { font-family: var(--font-serif); font-size: .95rem; color: #999; max-width: 500px; margin: 0 auto 1.5rem; line-height: 1.7; font-style: italic; }
.emp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--gray-2);
}
.emp-card {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-right: 1px solid var(--gray-2); text-align: left;
  transition: background var(--t);
}
.emp-card:nth-child(3n) { border-right: none; padding-right: 0; }
.emp-card:hover { background: var(--gray-1); }
.emp-card-icon { font-size: 1.8rem; margin-bottom: .6rem; }
.emp-card h3 { font-family: var(--font-display); font-size: .98rem; font-weight: 700; color: var(--black); margin-bottom: .35rem; }
.emp-card p { font-family: var(--font-serif); font-size: .82rem; color: var(--ink-3); line-height: 1.6; font-style: italic; margin-bottom: 1rem; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-col:first-child { display: none; }
  .hero-main { padding-left: 0; border-left: none; }
  .hero-body { column-count: 1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 0; }
  .ind-grid, .ind-row2 { grid-template-columns: repeat(3, 1fr); }
  .ind-card:nth-child(3n) { border-right: none; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .emp-grid { grid-template-columns: repeat(2, 1fr); }
  .emp-card:nth-child(3n) { border-right: 1px solid var(--gray-2); padding-right: 1.5rem; }
  .emp-card:nth-child(2n) { border-right: none; padding-right: 0; }
}

@media (max-width: 768px) {
  /* Hide large nav, show hamburger */
  .top-bar { display: none; }
  .section-nav a:not(.nav-phone) { display: none; }
  .section-nav a.nav-phone { display: none; }
  .nav-hamburger { display: flex; }
  .masthead-logo { font-size: 2.5rem; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-col { display: none; }
  .hero-main { padding: 1rem 0; border-right: none; }
  .hero-col:last-child { display: block; padding: 0; border-right: none; }

  .hero-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .services-row2 { grid-template-columns: 1fr; }
  .svc-card.featured { grid-column: span 1; display: block; }
  .svc-card.featured .svc-body { border-left: none; padding-left: 0; padding-top: .85rem; border-top: 1px solid var(--gray-2); }
  .svc-card:nth-child(3n) { border-right: none; }

  .why-grid { grid-template-columns: 1fr; }
  .why-main { padding-right: 0; border-right: none; border-bottom: 1px solid var(--gray-2); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
  .why-sidebar { padding-left: 0; }

  .test-grid { grid-template-columns: 1fr; }
  .test-card { border-right: none; padding-right: 0; border-bottom: 1px solid var(--gray-2); }
  .test-card:last-child { border-bottom: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding-right: 0; border-right: none; border-bottom: 1px solid var(--gray-2); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
  .form-box { padding-left: 0; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col { border-right: none; padding-right: 0; margin-right: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ind-grid, .ind-row2 { grid-template-columns: repeat(2, 1fr); }
  .job-card { flex-direction: column; align-items: flex-start; }
  .perks-grid { grid-template-columns: 1fr; }
  .emp-grid { grid-template-columns: 1fr; }
  .emp-card, .emp-card:nth-child(n) { border-right: none; padding-right: 0; border-bottom: 1px solid var(--gray-2); }
  section { padding: 2rem 0; }
}

@media (max-width: 480px) {
  .hero-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
  .masthead { padding: 1rem 0 .75rem; }
}
