/*
 * Interglobal Immigration — marketing site.
 *
 * ⚠️ The brand already exists: a deep blue mark and a serious, credential-led practice. This
 * keeps the blue and drops everything that read as dated — the stock boardroom hero, the walls
 * of prose, the three identical cards. The accent is a muted brass rather than the usual
 * terracotta, and the display face is a serif, because the thing being sold is judgement.
 */
:root {
  --navy:    #0B2545;   /* headings, nav, footer */
  --navy-80: #1B3A5F;
  --brass:   #B07D2B;   /* one accent, spent sparingly */
  --paper:   #FBFAF7;   /* warm ground, not pure white */
  --card:    #FFFFFF;
  --ink:     #16202B;
  --muted:   #53606E;
  --line:    #E3DED4;
  --verify:  #0E6B4F;   /* semantic only — licence verification */
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:  'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10161D; --card: #161E27; --ink: #ECF0F4; --muted: #A4B0BD;
    --line: #27323D; --navy: #DCE6F2; --navy-80: #B9CBE0; --brass: #D4A24A; --verify: #4FC49B;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); text-wrap: balance; line-height: 1.18; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 1rem; max-width: 68ch; }
.lede { font-size: 1.12rem; color: var(--muted); }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 .7rem;
}

/* ── header ───────────────────────────────────────────────────────────── */
.site-head { border-bottom: 1px solid var(--line); background: var(--card); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.head-row { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.12rem; color: var(--navy); text-decoration: none; font-weight: 600; }
.brand .mark { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--navy); border-right-color: transparent; transform: rotate(-35deg); flex: 0 0 auto; }
.site-nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted); }
.site-nav a:hover { color: var(--navy); }
.btn {
  display: inline-block; background: var(--navy); color: var(--paper); text-decoration: none;
  padding: 11px 20px; border-radius: 6px; font-weight: 600; font-size: .94rem; border: 1px solid var(--navy);
}
.btn:hover { background: var(--navy-80); border-color: var(--navy-80); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: rgba(11,37,69,.06); }

/* ── hero: credential first, no stock photography ─────────────────────── */
.hero { padding-block: 72px 56px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero p.lede { font-size: 1.2rem; margin-top: 1.1rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.8rem; }

/* The licence panel — the one thing that separates a licensed RCIC from everyone else. */
.licence {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px;
  box-shadow: 0 1px 2px rgba(11,37,69,.04);
}
.licence .who { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin: 0 0 2px; }
.licence .role { font-size: .85rem; color: var(--muted); margin: 0 0 16px; }
.licence dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: .88rem; }
.licence dt { color: var(--muted); }
.licence dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.licence .verify { display: inline-block; margin-top: 16px; font-size: .84rem; color: var(--verify); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ── sections ─────────────────────────────────────────────────────────── */
section { padding-block: 64px; border-bottom: 1px solid var(--line); }
.sec-head { max-width: 62ch; margin-bottom: 36px; }

.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.path { background: var(--card); padding: 26px 24px; }
.path h3 { margin-bottom: .45rem; }
.path p { font-size: .93rem; color: var(--muted); margin-bottom: .8rem; }
.path ul { margin: 0; padding-left: 1.05rem; font-size: .89rem; color: var(--muted); }
.path li { margin-bottom: .3rem; }

/* Record — the IRB/IAD work, which the old site buried in a paragraph. */
.record { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.rec h3 { font-size: .98rem; margin-bottom: .4rem; }
.rec p { font-size: .9rem; color: var(--muted); margin: 0; }
.rec .bar { width: 34px; height: 3px; background: var(--brass); margin-bottom: 14px; }

/* "What changed" — the section no competitor maintains. */
.changes { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.change { background: var(--card); padding: 20px 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 112px 1fr; gap: 20px; }
.change:last-child { border-bottom: 0; }
@media (max-width: 620px) { .change { grid-template-columns: 1fr; gap: 6px; } }
.change .when { font-size: .8rem; font-weight: 700; color: var(--brass); letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
.change h3 { font-size: 1rem; margin-bottom: .3rem; }
.change p { font-size: .91rem; color: var(--muted); margin: 0; }

.cta { background: var(--navy); color: var(--paper); border-bottom: 0; }
.cta h2, .cta .eyebrow { color: var(--paper); }
.cta .eyebrow { color: var(--brass); }
.cta p { color: rgba(251,250,247,.82); }
.cta .btn { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.cta .btn.ghost { background: transparent; color: var(--paper); border-color: rgba(251,250,247,.4); }

footer { padding-block: 40px; font-size: .86rem; color: var(--muted); background: var(--card); }
.foot-row { display: flex; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }
.disclaimer { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; max-width: 80ch; }
.todo { background: #FFF4D6; color: #6B4E00; border: 1px dashed #C9A227; border-radius: 4px; padding: 1px 6px; font-size: .82em; font-weight: 700; }
@media (prefers-color-scheme: dark) { .todo { background: #3A2E0C; color: #F0D080; } }

/* ── page-level pieces added with the service pages ───────────────────── */
section > .wrap > h2 { margin-top: 2.2rem; margin-bottom: .7rem; }
section > .wrap > h2:first-of-type { margin-top: 1.6rem; }

/* A point table that has to be read, not admired. */
.tw { overflow-x: auto; margin: 1.2rem 0; }
table.pts { width: 100%; border-collapse: collapse; font-size: .94rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
table.pts caption { text-align: left; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--faint, var(--muted)); padding-bottom: 8px; }
table.pts th, table.pts td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
table.pts tr:last-child td { border-bottom: 0; }
table.pts th { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
table.pts .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

/* The thing on the page most worth stopping for. */
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 10px; padding: 20px 22px; margin: 1.6rem 0; }
.callout h3 { margin-bottom: .4rem; }
.callout p { margin: 0; font-size: .95rem; color: var(--muted); }

ul.checks { margin: 1rem 0 1.4rem; padding-left: 0; list-style: none; }
ul.checks li { position: relative; padding-left: 26px; margin-bottom: .55rem; font-size: .96rem; color: var(--muted); max-width: 68ch; }
ul.checks li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
ul.checks strong { color: var(--ink); font-weight: 600; }

.fine { font-size: .85rem; color: var(--muted); }
.path h3 a { text-decoration: none; }
.path h3 a:hover { text-decoration: underline; }
.path ul a { color: var(--muted); }
.foot-row > div { min-width: 180px; }
