/* ─────────────────────────────────────────────────────────────
   Inter-View Corporate Website — global styles
   Design language: typography-first, generous whitespace, subtle
   gradients, geometric SVG accents. No stock photography.
   ───────────────────────────────────────────────────────────── */

:root {
  --iv-navy: #0B1E3F;
  --iv-navy-2: #12305B;
  --iv-blue: #2563EB;
  --iv-blue-soft: #3B82F6;
  --iv-ink: #0F172A;
  --iv-body: #334155;
  --iv-muted: #64748B;
  --iv-line: #E2E8F0;
  --iv-surface: #F8FAFC;
  --iv-surface-2: #F1F5F9;
  --iv-white: #FFFFFF;
  --iv-accent: #DBEAFE;
  --iv-serif: "Fraunces", "Playfair Display", Georgia, serif;
  --iv-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --iv-radius: 14px;
  --iv-shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.06);
  --iv-shadow-hero: 0 30px 80px rgba(11, 30, 63, 0.35);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--iv-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--iv-body);
  background: var(--iv-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--iv-blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--iv-serif);
  color: var(--iv-ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--iv-line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 32px; width: auto; }
.site-logo-mark {
  font-family: var(--iv-serif);
  font-weight: 600;
  color: var(--iv-ink);
  font-size: 19px;
  letter-spacing: -0.01em;
}
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: var(--iv-body);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--iv-blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover { text-decoration: none; color: var(--iv-ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  border: 1px solid var(--iv-line);
  background: var(--iv-white);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 820px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--iv-white); border-bottom: 1px solid var(--iv-line);
    padding: 16px 24px 22px; box-shadow: var(--iv-shadow-soft);
  }
  .site-nav.open a { padding: 12px 0; border-top: 1px solid var(--iv-line); }
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1400px 700px at 15% -10%, #17376b 0%, transparent 60%),
              linear-gradient(160deg, var(--iv-navy) 0%, var(--iv-navy-2) 55%, #1c3f7a 100%);
  color: var(--iv-white);
  padding: 120px 0 130px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(0.5px);
}
.hero::before {
  width: 520px; height: 520px;
  right: -160px; top: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.35), transparent 60%);
}
.hero::after {
  width: 380px; height: 380px;
  left: -100px; bottom: -140px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 65%);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.hero .chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6EE7B7; box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.18);
}
.hero h1 {
  color: var(--iv-white);
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 400;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: #BFDBFE;
}
.hero p.lede {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: 34px;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.34);
}

/* Geometric accent — subtle grid */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 75%);
}

/* ─── Section base ───────────────────────────────────────── */
section.section { padding: 96px 0; }
section.section h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 22px;
}
section.section .kicker {
  color: var(--iv-blue);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 12px;
}
section.alt { background: var(--iv-surface); }

.section-lead { max-width: 720px; font-size: 18px; }
.section-narrow { max-width: 720px; margin: 0 auto; text-align: center; }
.section-narrow .kicker { text-align: center; }

/* ─── Split blocks (Applicants / Employers) ──────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split .card {
  position: relative;
  padding: 40px 34px;
  border-radius: var(--iv-radius);
  background: var(--iv-white);
  border: 1px solid var(--iv-line);
  box-shadow: var(--iv-shadow-soft);
  overflow: hidden;
}
.split .card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 60%);
  pointer-events: none;
}
.split .card .icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  color: var(--iv-blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.split .card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.split .card p { color: var(--iv-body); margin: 0; }

/* ─── Pillars (Our Approach — 3-column) ──────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr; } }
.pillars .card {
  position: relative;
  padding: 40px 34px;
  border-radius: var(--iv-radius);
  background: var(--iv-white);
  border: 1px solid var(--iv-line);
  box-shadow: var(--iv-shadow-soft);
  overflow: hidden;
}
.pillars .card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 60%);
  pointer-events: none;
}
.pillars .pillar-num {
  font-family: var(--iv-serif);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--iv-blue);
  font-weight: 500;
  margin-bottom: 20px;
}
.pillars .card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.pillars .card p { color: var(--iv-body); margin: 0; font-size: 16px; line-height: 1.7; }

/* ─── Mission block ──────────────────────────────────────── */
.mission {
  padding: 110px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.10), transparent 45%),
    linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  text-align: center;
}
.mission .container { position: relative; z-index: 2; }
.mission h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-style: italic;
  color: var(--iv-ink);
  max-width: 820px; margin: 20px auto 0;
  line-height: 1.35;
  font-weight: 400;
}
.mission .quote-mark {
  font-family: var(--iv-serif);
  color: rgba(37, 99, 235, 0.35);
  font-size: 96px; line-height: 1; margin: 0;
}

/* ─── Availability strip ────────────────────────────────── */
.availability {
  padding: 60px 0;
  border-top: 1px solid var(--iv-line);
  border-bottom: 1px solid var(--iv-line);
  background: var(--iv-white);
}
.availability .container {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between;
}
.availability .avail-label {
  color: var(--iv-blue); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.availability .avail-text {
  color: var(--iv-body); font-size: 18px; max-width: 720px; margin: 6px 0 0;
}

/* ─── Contact ────────────────────────────────────────────── */
.contact-card {
  margin-top: 40px;
  background: var(--iv-white);
  border: 1px solid var(--iv-line);
  border-radius: var(--iv-radius);
  padding: 40px;
  box-shadow: var(--iv-shadow-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 820px) { .contact-card { grid-template-columns: 1fr; padding: 28px; } }
.contact-card-4 { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
@media (max-width: 820px) { .contact-card-4 { grid-template-columns: 1fr; } }
.contact-card .contact-label {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--iv-muted); font-weight: 600; margin-bottom: 8px;
}
.contact-card a.mailto {
  font-size: 20px; color: var(--iv-ink); font-weight: 500;
  font-family: var(--iv-serif);
}
.contact-card a.mailto:hover { color: var(--iv-blue); text-decoration: none; }

/* ─── Legal pages ─────────────────────────────────────────── */
.legal { padding: 80px 0 100px; }
.legal .container { max-width: 780px; }
.legal h1 {
  font-size: clamp(32px, 3.6vw, 44px);
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--iv-muted); font-size: 14px; margin-bottom: 40px;
}
.legal h2 {
  font-size: 22px; font-weight: 500;
  margin: 40px 0 12px;
  font-family: var(--iv-serif);
}
.legal h3 {
  font-family: var(--iv-sans);
  font-size: 16px; font-weight: 600;
  margin: 24px 0 8px;
  color: var(--iv-ink);
}
.legal p, .legal li { font-size: 16px; color: var(--iv-body); }
/* A11y: inline links inside legal prose must be distinguishable without
   relying on colour alone (WCAG 2.1 AA — SC 1.4.1). Underline + hover state. */
.legal p a, .legal li a {
  color: var(--iv-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal p a:hover, .legal li a:hover {
  text-decoration-thickness: 2px;
}
.legal p a:focus-visible, .legal li a:focus-visible {
  outline: 2px solid var(--iv-blue);
  outline-offset: 2px;
  border-radius: 2px;
}
.legal .counsel-note {
  border-left: 3px solid #F59E0B;
  background: #FFFBEB;
  color: #78350F;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin: 12px 0 20px;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--iv-navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 42px;
}
.site-footer .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.site-footer .brand-line {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: rgba(255, 255, 255, 0.72);
}
.site-footer .maple {
  color: #EF4444; font-size: 16px; line-height: 1;
}
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}
.site-footer nav a:hover { color: var(--iv-white); text-decoration: none; }

/* ─── Utilities ─────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
