/* ============================================================
   Chambers of Nitin Potdar
   Design matched to the live site (Divi theme):
   Titillium Web · indigo/navy palette · teal + brown accents
   ============================================================ */
:root {
  --navy: #070264;        /* header background */
  --navy-btn: #100786;    /* primary buttons */
  --navy-head: #003c71;   /* headings */
  --teal: #018283;        /* accent / links */
  --teal-light: #7ebec5;  /* secondary accent */
  --brown: #83402b;       /* dividers, quote borders */
  --ink: #2a3841;
  --text: #454545;
  --text-soft: #474747;
  --muted: #6b7680;
  --line: #d7dce5;        /* card borders */
  --bg: #ffffff;
  --bg-muted: #efefef;
  --card-shadow: 0 2px 10px rgba(16, 7, 134, 0.05);
  --card-shadow-lg: 0 14px 40px rgba(16, 7, 134, 0.12);
  --maxw: 1128px;        /* 1080px content + 2 x 24px gutter, as on the live site */
  --radius: 10px;
  --radius-sm: 5px;
  --font: 'Titillium Web', Helvetica, Arial, Lucida, sans-serif;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open, body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .15s; }
a:hover { color: var(--navy-head); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--navy-head); line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.25rem; }

p { color: var(--text); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ============================================================
   Buttons & links
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-btn); color: #fff;
  padding: 12px 26px; border-radius: var(--radius-sm); border: 2px solid var(--navy-btn);
  font-weight: 600; font-size: 1rem; cursor: pointer; line-height: 1.4;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: #0a0459; border-color: #0a0459; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy-head); border-color: var(--line); }
.btn-ghost:hover { background: var(--navy-head); border-color: var(--navy-head); color: #fff; transform: translateY(-1px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal); }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover { color: var(--navy-head); }
.link-arrow:hover::after { transform: translateX(4px); }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: 12px; }

/* ============================================================
   Header — deep indigo bar, white nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(7, 2, 100, 0.22);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: clamp(68px, 6vw, 92px); width: auto; }
.site-nav { align-self: stretch; }
.site-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; height: 100%; }
.site-nav > ul > li { display: flex; align-items: center; height: 100%; }
.site-nav a {
  display: block; padding: 8px clamp(7px, .8vw, 12px);
  color: #fff; font-weight: 600; font-size: clamp(.92rem, 1.1vw, 1.05rem);
  transition: color .15s;
}
.site-nav a:hover { color: var(--teal-light); }
.site-nav a.active { color: var(--teal-light); }

/* Dropdown menus */
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a { display: flex; align-items: center; }
.nav-caret {
  width: 6px; height: 6px; margin-left: 8px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 300px; z-index: 10;
  list-style: none; padding: 10px 0; margin: 0;
  background: var(--navy); border-top: 3px solid var(--brown);
  box-shadow: 0 18px 34px rgba(7, 2, 100, .34);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.site-nav .has-sub:hover > .sub-menu,
.site-nav .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { padding: 13px 28px; font-size: .98rem; font-weight: 700; line-height: 1.35; }
.sub-menu a:hover { color: var(--teal-light); background: rgba(255, 255, 255, .07); }
@media (prefers-reduced-motion: reduce) { .sub-menu { transition: none; } }

.nav-toggle {
  display: none; width: 46px; height: 44px; border: 1px solid rgba(255,255,255,.3);
  background: transparent; border-radius: 6px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; transition: transform .25s, opacity .2s; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .brand img { height: 64px; }
  .header-inner { min-height: 76px; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--navy);
    box-shadow: 0 16px 30px rgba(7,2,100,.3);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 24px 24px; height: auto; }
  .site-nav > ul > li { display: block; height: auto; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-caret { display: none; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0 0 8px; background: transparent;
    border-top: 0; box-shadow: none;
  }
  .sub-menu a { padding: 9px 14px 9px 30px; font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.82); }
  body.nav-open .site-nav { max-height: 86vh; overflow-y: auto; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(50px, 7vw, 84px) 0; }
/* clear the sticky header when an in-page anchor is jumped to */
section[id] { scroll-margin-top: 84px; }
.section-muted { background: var(--bg-muted); }
.section-intro { max-width: 640px; color: var(--muted); margin-top: 12px; font-size: 1.08rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }

/* heading accent underline */
.section > .container > .eyebrow + h2,
.page-hero h1 { position: relative; }

/* ============================================================
   Hero — full-bleed photo, centred headline, slider dots
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: clamp(400px, 33vw, 640px);
  padding: 60px 24px 72px;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.26));
}
.hero-rotator {
  position: relative; z-index: 1;
  width: 100%; max-width: 1180px; min-height: 2.6em;
  display: grid; place-items: center;
}
.hero-slide {
  grid-area: 1 / 1; opacity: 0; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease; pointer-events: none;
}
.hero-slide[data-active='true'] { opacity: 1; transform: none; pointer-events: auto; }
.hero-slide h1 {
  color: #fff; text-align: center; font-weight: 700;
  font-size: clamp(1.6rem, 2.9vw, 2.9rem); line-height: 1.22;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.hero-dots { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 48px; }
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45); transition: background .2s;
}
.hero-dots button[data-active='true'] { background: #fff; }
@media (max-width: 720px) {
  .hero { min-height: 360px; padding: 48px 20px 56px; }
  .hero-dots { margin-top: 32px; }
}

/* ============================================================
   Shared type scale for the home page sections
   ============================================================ */

.text-link { color: #0c71c3; font-weight: 700; }
.text-link:hover { color: var(--navy-head); }
.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;
}

/* ============================================================
   Welcome / About us
   ============================================================ */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 72px; align-items: start; }
.welcome-col h2 { margin-bottom: 14px; }
.welcome-col p + p { margin-top: 18px; }
.welcome-figure { margin-top: 30px; }
.welcome-figure img { width: 100%; }
.welcome .text-link { display: inline-block; margin-top: 20px; }
@media (max-width: 880px) { .welcome-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   Our Approach
   ============================================================ */
.approach-grid { display: grid; grid-template-columns: 1fr 2.6fr; gap: 24px 60px; align-items: start; }
.approach-intro h2 { margin-bottom: 14px; }
.approach-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.approach-card {
  background: #fff; padding: 22px 26px 26px;
  box-shadow: 2px 3px 12px rgba(0,0,0,.09);
  transition: transform .2s, box-shadow .2s;
}
.approach-card:hover { transform: translateY(-2px); box-shadow: 2px 6px 20px rgba(0,0,0,.14); }
.approach-card h3 { color: #333; font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.approach-card p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.7; }
@media (max-width: 1080px) { .approach-grid { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 860px) { .approach-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .approach-cards { grid-template-columns: 1fr; } }

/* ============================================================
   Services
   ============================================================ */
.services h2 { margin-bottom: 12px; }
.services .section-intro { max-width: none; color: var(--text-soft); margin-top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 46px; }
.service-card {
  background: #fff; padding: 34px 32px 38px; scroll-margin-top: 84px;
  box-shadow: 3px 4px 14px rgba(0,0,0,.10);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 3px 8px 24px rgba(0,0,0,.16); }
.service-card h3 { color: var(--navy-head); font-size: 1.4rem; font-weight: 700; margin-bottom: 18px; }
.service-card p { color: var(--text-soft); font-size: 1.06rem; line-height: 1.75; }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 26px 24px 30px; } }

/* ============================================================
   Mentorship — dark panel
   ============================================================ */
.mentorship-panel {
  display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: center;
  background: var(--ink); border-radius: 14px; padding: 44px 52px;
  box-shadow: 0 16px 40px rgba(42, 56, 65, .22);
}
.mentorship-figure { border: 1px solid rgba(255,255,255,.55); }
.mentorship-figure img { width: 100%; }
.mentorship-body h2 { color: #fff; margin-bottom: 14px; }
.mentorship-body p { color: rgba(255,255,255,.92); margin-bottom: 28px; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy-head); }
.btn-light:hover { background: #f1f1f1; border-color: #f1f1f1; color: var(--navy); }
@media (max-width: 860px) {
  .mentorship-panel { grid-template-columns: 1fr; gap: 30px; padding: 32px 28px 36px; }
  .mentorship-figure { max-width: 270px; }
}

/* ============================================================
   Team
   ============================================================ */
.team h2 { margin-bottom: 42px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 72px; }
.team-card { max-width: 300px; }
.team-photo { display: block; overflow: hidden; aspect-ratio: 1; background: #e3e3e3; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card h3 { margin-top: 22px; font-size: 1.3rem; font-weight: 600; }
.team-card h3 a { color: #333; }
.team-card h3 a:hover { color: var(--navy-head); }
.team-role { color: var(--text-soft); font-size: 1.05rem; margin-top: 2px; }
.team-email { display: inline-block; margin-top: 14px; color: #2ea3f1; font-size: 1.02rem; }
.team-email:hover { color: var(--navy-head); }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 40px; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Publications
   ============================================================ */
.publications h2 { margin-bottom: 44px; }
.pub-list { display: flex; flex-direction: column; gap: 76px; }
.pub-card { display: grid; grid-template-columns: 290px 1fr; gap: 66px; align-items: start; scroll-margin-top: 84px; }
.pub-cover img { width: 100%; }
.pub-body p { color: var(--text-soft); }
.pub-body p + p { margin-top: 22px; }
.pub-quote { margin-top: 22px; }
.pub-quote strong { color: var(--ink); font-weight: 700; }
.pub-body .text-link { display: inline-block; margin-top: 22px; }
@media (max-width: 860px) { .pub-list { gap: 48px; } .pub-card { grid-template-columns: 200px 1fr; gap: 34px; } }
@media (max-width: 560px) { .pub-card { grid-template-columns: 1fr; gap: 22px; } .pub-cover { max-width: 220px; } }

/* ============================================================
   Rule cards (mentorship page)
   ============================================================ */
.rule-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 26px 24px;
  transition: transform .2s, box-shadow .2s;
}
.rule-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-lg); }
.rule-card h3 { margin-bottom: 8px; }
.approach-num {
  font-family: var(--font); font-weight: 700; font-size: 1.05rem; color: var(--teal);
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 2px solid rgba(1,130,131,.35); border-radius: 50%; margin-bottom: 16px;
}
/* ============================================================
   Post cards / blog
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-grid-wide { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
.post-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 26px 24px;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-lg); }
.post-meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.post-meta a { color: var(--teal); }
.post-card h3 { font-size: 1.18rem; }
.post-card h3 a { color: var(--navy-head); }
.post-card p { font-size: .96rem; flex: 1; color: var(--text); }
.post-card .link-arrow { margin-top: 4px; }
@media (max-width: 920px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid, .post-grid-wide { grid-template-columns: 1fr; } }

.feature-card {
  display: block; background: linear-gradient(135deg, var(--navy), #1a0fa0); color: #fff;
  border-radius: var(--radius); padding: clamp(30px, 5vw, 52px); margin-bottom: 38px;
  position: relative; overflow: hidden; box-shadow: var(--card-shadow-lg);
  transition: transform .2s;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-card h2 { color: #fff; max-width: 22ch; margin: 10px 0 14px; }
.feature-card p { color: rgba(255,255,255,.82); max-width: 60ch; }
.feature-card .post-meta { color: var(--teal-light); }
.feature-card .link-arrow { color: #fff; margin-top: 18px; }
.feature-card .link-arrow:hover { color: var(--teal-light); }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #1a0fa0); color: #fff;
  padding: clamp(60px, 9vw, 104px) 0 clamp(44px, 6vw, 64px);
}
.page-hero .eyebrow { color: var(--teal-light); }
.page-hero h1 { color: #fff; }
.page-hero-lead { color: rgba(255,255,255,.85); font-size: 1.18rem; margin-top: 12px; max-width: 62ch; }
.page-hero a { color: #fff; }
.page-hero .link-arrow:hover { color: var(--teal-light); }

/* ============================================================
   Article / prose
   ============================================================ */
.article { padding: clamp(42px, 6vw, 68px) 0; }
.article h1 { margin: 10px 0 8px; }
.article-byline { color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 28px; }
.prose { font-size: 1.08rem; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.45rem; margin-top: 1.7em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(1,130,131,.4); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: .45em; color: var(--text); }
.prose blockquote { border-left: 4px solid var(--brown); padding: 6px 22px; margin: 1.4em 0; background: var(--bg-muted); }
.prose blockquote p { font-style: italic; color: var(--ink); }
.prose blockquote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: .9rem; color: var(--muted); }
.prose img { border-radius: var(--radius-sm); margin: 1.4em 0; box-shadow: var(--card-shadow); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 52px; border-top: 1px solid var(--line); padding-top: 30px; }
.article-nav-link { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy-head); font-weight: 600; transition: border-color .2s, background .2s; }
.article-nav-link:hover { border-color: var(--teal); background: var(--bg-muted); }
.article-nav-link span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); font-weight: 700; }
.article-nav-next { text-align: right; }
.article-foot { margin-top: 34px; }
@media (max-width: 620px) { .article-nav { grid-template-columns: 1fr; } .article-nav-next { text-align: left; } }

/* ============================================================
   About
   ============================================================ */
.about-layout { display: grid; grid-template-columns: 1fr 300px; gap: 52px; align-items: start; }
.about-main h2 { margin: 1.5em 0 .5em; font-size: 1.45rem; }
.about-main > p { margin-bottom: 1em; }
.about-portrait { float: left; width: 240px; max-width: 45%; margin: 0 26px 14px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); }
.about-cta { margin-top: 2em; clear: both; }
.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 26px; margin-top: .65em; }
.tick-list li::before { content: ''; position: absolute; left: 3px; top: .55em; width: 7px; height: 7px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); }
.about-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--bg-muted); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h3 { color: var(--navy-head); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.side-card ul { list-style: none; padding: 0; }
.side-card li { font-size: .92rem; color: var(--text); padding: 7px 0; border-bottom: 1px solid var(--line); }
.side-card li:last-child { border-bottom: 0; }
@media (max-width: 880px) {
  .about-layout { grid-template-columns: 1fr; gap: 34px; }
  .about-side { position: static; }
  .about-portrait { width: 210px; max-width: 55%; }
}

/* ============================================================
   Bio (team) pages
   ============================================================ */
.bio-layout { display: grid; grid-template-columns: 300px 1fr; gap: 46px; align-items: start; }
.bio-portrait { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); position: sticky; top: 96px; }
.bio-body h2 { font-size: 1.35rem; margin-top: 1.5em; }
@media (max-width: 820px) { .bio-layout { grid-template-columns: 1fr; gap: 26px; } .bio-portrait { position: static; max-width: 300px; } }

/* ============================================================
   Work pages
   ============================================================ */
.work-layout { display: grid; grid-template-columns: 1fr 240px; gap: 46px; align-items: start; }
.work-figure { margin-bottom: 1.4em; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); }
.work-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.6em 0; }
.work-gallery img { border-radius: var(--radius-sm); box-shadow: var(--card-shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.work-links { list-style: none; padding: 0; margin-top: 1.2em; }
.work-links li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.work-links a { font-weight: 600; }
.work-side { position: sticky; top: 96px; background: var(--bg-muted); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.work-side h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-head); margin-bottom: 10px; }
.work-side ul { list-style: none; padding: 0; }
.work-side li { padding: 4px 0; }
.work-side a { color: var(--text); font-size: .95rem; }
.work-side a.active, .work-side a:hover { color: var(--teal); font-weight: 700; }
@media (max-width: 820px) { .work-layout { grid-template-columns: 1fr; gap: 26px; } .work-side { position: static; } }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: start; }
.contact-intro .lead { font-size: 1.12rem; color: var(--ink); }
.contact-note, .contact-direct { margin-top: 26px; padding: 22px 24px; background: var(--bg-muted); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-note h3, .contact-direct h3 { margin-bottom: 8px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--card-shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 3px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(1,130,131,.12); }
.field textarea { resize: vertical; }
.contact-form .btn { background: var(--navy-head); border-color: var(--navy-head); }
.contact-form .btn:hover { background: #002c54; border-color: #002c54; }
.form-hint { margin-top: 14px; font-size: .88rem; color: var(--muted); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   Rules grid (mentorship)
   ============================================================ */
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 38px; }
@media (max-width: 680px) { .rules-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer — photo background with overlay
   ============================================================ */
.site-footer {
  color: #fff; position: relative;
  background: linear-gradient(180deg, rgba(10,10,14,.58), rgba(10,10,14,.66)),
    url('/images/footer-bg.jpg') center/cover no-repeat;
}
.footer-grid {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 48px;
  padding: 64px 24px 28px; position: relative;
}
.footer-about p { color: #fff; font-size: 1.05rem; line-height: 1.75; }
.footer-about p + p { margin-top: 22px; }
.footer-col h3 {
  color: #fff; font-size: 1.3rem; font-weight: 700; letter-spacing: 0;
  text-transform: none; margin-bottom: 24px;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.footer-col a { color: #fff; font-size: 1.05rem; }
.footer-col a:hover { color: var(--teal-light); }
.footer-contact li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.footer-contact svg { width: 22px; height: 22px; fill: #fff; margin-top: 3px; }
.footer-contact span { display: block; font-size: .92rem; color: rgba(255,255,255,.8); margin-top: 2px; }
.footer-privacy { display: inline-block; margin-top: 26px; }

.footer-follow { text-align: center; padding: 10px 24px 54px; position: relative; }
.footer-follow h3 { color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.footer-social { display: inline-flex; gap: 18px; align-items: center; justify-content: center; }
.footer-social a { display: inline-flex; color: #fff; }
.footer-social svg { width: 24px; height: 24px; fill: currentColor; }
.footer-social a:hover { color: var(--teal-light); }

.footer-bottom { background: #4a4a4a; position: relative; }
.footer-bottom p { color: #fff; text-align: center; font-size: 1rem; padding: 18px 24px; }
.footer-bottom a { color: #fff; font-weight: 700; }
.footer-bottom a:hover { color: var(--teal-light); }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; } }

/* ============================================================
   Disclaimer modal
   ============================================================ */
.disclaimer-overlay {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(7,2,60,.66); backdrop-filter: blur(4px); padding: 24px;
}
.disclaimer-overlay[hidden] { display: none; }
.disclaimer-box {
  background: #fff; border-radius: var(--radius); max-width: 540px; width: 100%;
  padding: 36px; box-shadow: var(--card-shadow-lg); border-top: 4px solid var(--brown);
  animation: pop .3s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .disclaimer-box { animation: none; } }
.disclaimer-box h2 { font-size: 1.45rem; margin-bottom: 14px; }
.disclaimer-box p { font-size: .96rem; margin-bottom: 14px; }
.disclaimer-box .btn { margin-top: 6px; }

/* ============================================================
   In the News
   ============================================================ */
:root { --news-navy: #0b0572; --line-soft: #e3e7f0; --band-soft: #eef1f8; }

.btn-outline { background: #fff; color: var(--news-navy); border-color: var(--news-navy); }
.btn-outline:hover { background: var(--news-navy); border-color: var(--news-navy); color: #fff; }

.news-hero { background: var(--band-soft); padding: clamp(52px, 6vw, 76px) 0 clamp(60px, 7vw, 88px); }
.news-eyebrow { color: var(--navy-head); font-weight: 700; font-size: .95rem; letter-spacing: .04em; margin-bottom: 8px; }
.news-hero h1 { font-size: clamp(1.75rem, 2.6vw, 2.15rem); color: var(--navy-head); }
.news-hero-lead { color: var(--text-soft); font-size: 1.125rem; line-height: 1.75; margin-top: 14px; max-width: 58ch; }

.news-section { padding: 38px 0; }
.news-section-end { padding-bottom: clamp(56px, 6vw, 76px); }

/* Featured column */
.featured-card {
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden;
}
.featured-body { padding: 44px 54px 48px; }
.featured-kicker { text-transform: uppercase; letter-spacing: .09em; font-size: .86rem; font-weight: 700; color: var(--muted); }
.featured-kicker span:first-child { color: var(--teal); }
.featured-kicker-sep { margin: 0 9px; font-weight: 400; }
.featured-body h2 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); color: var(--navy-head); margin: 16px 0 14px; }
.featured-standfirst { color: var(--text-soft); font-size: 1.125rem; line-height: 1.7; }
.featured-date { color: var(--muted); font-size: 1rem; margin-top: 18px; }
.featured-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.featured-actions .btn { background: var(--news-navy); border-color: var(--news-navy); }
.featured-actions .btn:hover { background: #070450; border-color: #070450; }
.featured-actions .btn-outline { background: #fff; color: var(--news-navy); }
.featured-actions .btn-outline:hover { background: var(--news-navy); color: #fff; }

.featured-quote {
  background: var(--news-navy); color: #fff;
  padding: 44px 54px 48px; display: flex; flex-direction: column; justify-content: center;
}
.featured-quote-mark { font-family: Georgia, 'Times New Roman', serif; font-size: 3.6rem; line-height: .8; color: rgba(255,255,255,.42); }
.featured-quote blockquote { margin-top: 22px; }
.featured-quote blockquote p { color: #fff; font-style: italic; font-size: 1.28rem; line-height: 1.6; }
.featured-quote-cite { color: rgba(255,255,255,.86); font-weight: 600; font-size: .98rem; margin-top: 26px; }

/* Section head rows */
.news-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.news-head h2 { font-size: clamp(1.4rem, 2vw, 1.85rem); color: var(--navy-head); }
.news-head p { color: var(--muted); font-size: 1.02rem; text-align: right; }

.news-link { color: var(--news-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.news-link:hover { color: var(--teal); }

/* My columns */
.column-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 42px; }
.column-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; padding: 32px 36px 28px; display: flex; flex-direction: column; }
.column-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.column-source { color: var(--teal); font-weight: 700; font-size: 1rem; }
.column-date { color: var(--muted); font-size: 1rem; white-space: nowrap; }
.column-card h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); margin-top: 22px; }
.column-card h3 a { color: var(--navy-head); }
.column-card h3 a:hover { color: var(--teal); }
.column-body { color: var(--text-soft); font-size: 1.06rem; line-height: 1.7; margin-top: 18px; flex: 1; }
.column-card .news-link { align-self: flex-end; margin-top: 24px; }
.quoted-body .news-link, .column-card .news-link { display: inline-block; }

/* Quoted in the media */
.quoted-list { list-style: none; padding: 0; }
.quoted-row { display: grid; grid-template-columns: 300px 1fr; gap: 44px; padding: 32px 0 34px; border-bottom: 1px solid var(--line-soft); }
.quoted-publication { color: #1b1b1b; font-weight: 700; font-size: 1.08rem; }
.quoted-meta { color: var(--muted); font-size: 1rem; margin-top: 6px; }
.quoted-body h3 { font-size: clamp(1.18rem, 1.6vw, 1.45rem); }
.quoted-body h3 a { color: var(--navy-head); }
.quoted-body h3 a:hover { color: var(--teal); }
.quoted-body .news-link { margin-top: 18px; }

/* Media enquiries */
.enquiry-panel {
  background: #eceff8; border-radius: 12px; padding: 42px 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.enquiry-panel h2 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); color: var(--navy-head); }
.enquiry-panel p { color: var(--text-soft); font-size: 1.08rem; margin-top: 10px; }

@media (max-width: 920px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-body { padding: 34px 32px 36px; }
  .featured-quote { padding: 34px 32px 38px; }
  .column-grid { grid-template-columns: 1fr; gap: 24px; }
  .quoted-row { grid-template-columns: 1fr; gap: 12px; }
  .news-head p { text-align: left; }
  .enquiry-panel { padding: 32px 30px 34px; }
}
@media (max-width: 560px) {
  .column-card { padding: 26px 24px 24px; }
  .column-meta { flex-direction: column; gap: 4px; }
  .column-card .news-link { align-self: flex-start; }
  .featured-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Connecting Dots — newsletter index
   ============================================================ */
.newsletter { padding: clamp(52px, 5.5vw, 80px) 0 clamp(60px, 7vw, 92px); }
.newsletter-title { color: #333; font-weight: 300; font-size: clamp(2rem, 3.2vw, 2.55rem); margin-bottom: 40px; }

.edition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.edition-card {
  background: #fff; border: 1px solid #ccc; border-radius: 8px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.edition-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7, 2, 100, .15); }
.edition-thumb { display: block; aspect-ratio: 430 / 201; background: #f2f2f2; }
.edition-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.edition-body { padding: 20px 24px 28px; }
.edition-body h2 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
.edition-body h2 a { color: var(--navy); }
.edition-body h2 a:hover { color: var(--teal); }
.edition-body p { color: #555; font-size: 1rem; line-height: 1.65; margin-top: 16px; }
.edition-btn {
  margin-top: 22px; padding: 11px 20px; font-size: .95rem; border-radius: 3px;
  background: var(--navy); border-color: var(--navy);
}
.edition-btn:hover { background: var(--navy-btn); border-color: var(--navy-btn); }

@media (max-width: 1000px) { .edition-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 640px) {
  .edition-grid { grid-template-columns: 1fr; }
  .edition-body { padding: 18px 20px 24px; }
  .edition-body h2 { font-size: 1.35rem; }
}

/* ============================================================
   Connecting Dots — edition page
   ============================================================ */
.entry { padding: clamp(42px, 4.5vw, 62px) 0 clamp(54px, 6vw, 80px); }
.entry-layout { display: grid; grid-template-columns: 1fr 230px; gap: 80px; align-items: start; }
.entry-main h1 {
  color: #333; font-weight: 300; line-height: 1.28; margin-bottom: 26px;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
}
.entry-prose h2 { color: #333; font-weight: 300; font-size: clamp(1.25rem, 1.7vw, 1.45rem); margin-top: 1.9em; }
.entry-prose h3 { color: #333; font-weight: 600; font-size: 1.1rem; margin-top: 1.6em; }
.entry-prose hr {
  border: 0; margin: 1.6em 0; color: var(--text);
  letter-spacing: .4em; font-size: 1rem; line-height: 1;
}
.entry-prose hr::before { content: '\2022 \2022 \2022'; }
.entry-prose blockquote { border-left: 3px solid var(--line); background: transparent; padding: 2px 0 2px 22px; }
.entry-prose blockquote p { font-style: normal; color: var(--text); }

.entry-side { position: sticky; top: 130px; }
.entry-side h2 { color: #333; font-weight: 700; font-size: 1.05rem; margin-bottom: 18px; }
.entry-side ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.entry-side a { color: #666; font-size: .98rem; }
.entry-side a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .entry-layout { grid-template-columns: 1fr; gap: 44px; }
  .entry-side { position: static; border-top: 1px solid var(--line); padding-top: 26px; }
}

/* ============================================================
   Archive listings (Business & Policy, Law Students)
   ============================================================ */
.archive { padding: clamp(42px, 4.5vw, 62px) 0 clamp(54px, 6vw, 80px); }
.archive-head { max-width: 62ch; margin-bottom: 38px; }
.archive-title { color: #333; font-weight: 300; font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.archive-head p { color: var(--text-soft); font-size: 1.08rem; line-height: 1.7; margin-top: 12px; }

.archive-list { list-style: none; padding: 0; max-width: 62rem; }
.archive-item { padding: 30px 0 32px; border-bottom: 1px solid var(--line-soft); }
.archive-item:first-child { border-top: 1px solid var(--line-soft); }
.archive-item h2 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 600; line-height: 1.3; }
.archive-item h2 a { color: var(--navy-head); }
.archive-item h2 a:hover { color: var(--teal); }
.entry-byline { color: var(--muted); font-size: .98rem; margin-top: 10px; }
.entry-byline a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.entry-byline a:hover { color: var(--teal); }
.archive-item p.archive-excerpt { color: var(--text-soft); font-size: 1.05rem; line-height: 1.7; margin-top: 14px; }
.archive-item .news-link { display: inline-block; margin-top: 16px; }

/* Sidebar list of related posts, shared with .entry-side */
.entry-side .entry-side-link { font-weight: 600; color: var(--navy-head); line-height: 1.4; display: block; }
.entry-side .entry-side-link:hover { color: var(--teal); }
.entry-side .entry-side-date { display: block; color: var(--muted); font-size: .86rem; margin-top: 3px; }
.entry-side-all { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--news-navy); }
.entry-side-all:hover { color: var(--teal); }
.entry-main .article-nav { margin-top: 48px; }
.entry-main .entry-byline { margin: 0 0 30px; }

/* ============================================================
   Mentorship page
   ============================================================ */
.mentor-page { padding: clamp(42px, 4.5vw, 62px) 0 clamp(54px, 6vw, 80px); }
.mentor-head { max-width: 70rem; }
.mentor-head h1 { color: #333; font-weight: 300; font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.mentor-figure { margin: 30px 0 36px; max-width: 70rem; }
.mentor-figure img { width: 100%; border-radius: 8px; }
.mentor-body { max-width: 70rem; }
.mentor-body .prose h2 { color: #333; font-weight: 300; font-size: clamp(1.3rem, 1.9vw, 1.6rem); margin-top: 1.9em; }
.mentor-lead { font-size: 1.14rem; color: var(--ink); }
.mentor-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.rule-list { list-style: none; padding: 0; counter-reset: rule; margin-top: 24px; }
.rule-list li {
  counter-increment: rule; position: relative; padding: 0 0 0 58px; margin-top: 26px;
  color: var(--text-soft); font-size: 1.06rem; line-height: 1.7;
}
.rule-list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(1, 130, 131, .35); color: var(--teal);
  font-weight: 700; font-size: .95rem;
}
.rule-list strong { color: var(--ink); }

@media (max-width: 560px) {
  .rule-list li { padding-left: 0; padding-top: 48px; }
  .rule-list li::before { top: 0; }
}

/* Archive headings used at h3 level inside a page section */
.archive-item h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 600; line-height: 1.3; }
.archive-item h3 a { color: var(--navy-head); }
.archive-item h3 a:hover { color: var(--teal); }
.archive.section-muted { background: var(--bg-muted); }
.archive.section-muted .archive-item { border-color: #dcdcdc; }

/* ================================================================
   TYPOGRAPHY — measured from nitinpotdar.com (computed styles,
   1887px viewport, DPR 1). The live site loads Titillium Web at
   200/300/400/600/700/900 with no 500, so every declared 500 there
   renders as 400; the declarations below keep that mapping.
   This block is last in the file so it wins over the sections above.
   ================================================================ */

/* ---- base ---- */
body { font-size: 16px; line-height: 1.7; color: #454545; }
p { line-height: 1.6; color: #474747; }

/* ---- header / nav : a 14px/600, sub-menu lh 28px ---- */
.site-nav a { font-size: 14px; font-weight: 600; line-height: 1; }
.sub-menu a { font-size: 14px; font-weight: 600; line-height: 28px; padding: 9px 28px; }

/* ---- home ---- */
.hero-slide h1 { font-size: 32px; font-weight: 700; line-height: 40px; }

.welcome-col h2,
.services h2,
.publications h2 { font-size: 26px; font-weight: 700; line-height: 1; color: var(--navy-head); }
.approach-intro h2,
.team h2 { font-size: 20px; font-weight: 600; line-height: 1; color: var(--navy-head); }
.mentorship-body h2 { font-size: 26px; font-weight: 700; line-height: 1; }
#blog h2 { font-size: 22.4px; font-weight: 600; line-height: 30.4px; }

.home .welcome p,
.home .services p,
.home .mentorship p,
.home .publications p { font-size: 16px; line-height: 1.6; }
.approach-card h3 { font-size: 18px; font-weight: 600; line-height: 1; color: #333; }
.approach-card p { font-size: 14.4px; line-height: 25.6px; }
.service-card h3 { font-size: 20.8px; font-weight: 600; line-height: 28.8px; }
.service-card p { font-size: 16px; line-height: 25.6px; }
.team-card h3 { font-size: 18px; font-weight: 600; line-height: 1; }
.team-role,
.team-email { font-size: 16px; font-weight: 400; }
.pub-body p { font-size: 16px; line-height: 25.6px; }
.text-link { font-size: 16px; font-weight: 700; }

/* ---- blog cards (home + anywhere .post-card is used) ---- */
.post-card h3 { font-size: 19.2px; font-weight: 600; line-height: 27.2px; }
.post-card h3 a { color: #333; }
.post-card h3 a:hover { color: var(--teal); }
.post-card p { font-size: 16px; line-height: 27.2px; color: #454545; }
.post-meta { font-size: 16px; font-weight: 400; line-height: 27.2px; letter-spacing: normal; text-transform: none; color: #454545; }
.post-meta a { color: #666; }

/* ---- newsletter index : h1 36px/500, card h3 25px/500, excerpt 14.4px ---- */
.newsletter-title { font-size: 36px; font-weight: 500; line-height: 1; color: #333; }
.edition-grid { gap: 24px; }
.edition-body { padding: 19px 19px 24px; }
.edition-body h2 { font-size: 25px; font-weight: 500; line-height: 1; }
.edition-body h2 a { color: var(--navy); }
.edition-body p { font-size: 14.4px; line-height: 1.4; color: #555; }
.btn.edition-btn { font-size: 13.6px; font-weight: 600; line-height: 27.2px; }

/* ---- article pages : 795px column + 90px gutter + 195px sidebar = 1080 ---- */
.entry-layout { grid-template-columns: 795px 195px; gap: 90px; }
.entry-main h1 { font-size: 30px; font-weight: 500; line-height: 1; color: #333; }
.entry-byline { font-size: 14px; font-weight: 400; line-height: 27.2px; color: #454545; }
.entry-byline a { color: #666; }
.entry-prose { font-size: 16px; line-height: 1.7; color: #454545; }
.entry-prose p,
.entry-prose li { font-size: 16px; line-height: 1.7; color: #454545; }

/* blog posts keep Divi's navy sub-headings */
.entry-prose h2 { font-size: 26px; font-weight: 600; line-height: 1.1; color: var(--navy-head); }
.entry-prose h3 { font-size: 22px; font-weight: 600; line-height: 1; color: var(--navy-head); }

/* newsletter editions set their headings in the lighter dark-grey */
.entry-prose-light h2 { font-size: 26px; font-weight: 500; line-height: 1.1; color: #333; }
.entry-prose-light h3 { font-size: 22px; font-weight: 500; line-height: 1; color: #333; }

.entry-side h2 { font-size: 18px; font-weight: 500; line-height: 1; color: #333; }
.entry-side a,
.entry-side .entry-side-link { font-size: 16px; font-weight: 400; line-height: 27.2px; color: #666; }
.entry-side .entry-side-date { font-size: 14px; color: #888; }
.entry-side-all { font-size: 16px; font-weight: 600; }

/* ---- archives : title 26px/500, byline 14px, excerpt 16px/27.2 ---- */
.archive-title { font-size: 36px; font-weight: 500; line-height: 1; color: #333; }
.archive-list { max-width: 795px; }
.archive-item h2,
.archive-item h3 { font-size: 26px; font-weight: 500; line-height: 1.1; }
.archive-item h2 a,
.archive-item h3 a { color: #333; }
.archive-item h2 a:hover,
.archive-item h3 a:hover { color: var(--teal); }
.archive-excerpt { font-size: 16px; line-height: 27.2px; color: #454545; }
.archive-head p { font-size: 16px; line-height: 27.2px; }

/* ---- mentorship : h1 30px/700 navy, h2 22.4px/600 navy ---- */
.mentor-head h1 { font-size: 30px; font-weight: 700; line-height: 1; color: var(--navy-head); }
.mentor-body h2 { font-size: 22.4px; font-weight: 600; line-height: 30.4px; color: var(--navy-head); }
.mentor-body p,
.mentor-body li { font-size: 16px; line-height: 1.6; color: #474747; }
.mentor-lead { font-size: 16px; }
.rule-list li { font-size: 16px; line-height: 26px; color: #474747; }
.mentor-page + .archive .archive-title { font-size: 26px; font-weight: 600; color: #0c71c3; }
.mentor-page + .archive .archive-item h3 a { color: #0c71c3; }
.mentor-page + .archive .archive-item h3 { font-size: 19.2px; font-weight: 600; line-height: 27.2px; }

/* ---- in the news ---- */
.news-hero h1 { font-size: 30px; font-weight: 700; line-height: 1; }
.news-hero-lead { font-size: 16px; line-height: 27.2px; }
.news-head h2 { font-size: 26px; font-weight: 700; line-height: 1; }
.news-head p,
.featured-standfirst,
.column-body,
.pub-quote { font-size: 16px; line-height: 25.6px; }
.featured-body h2 { font-size: 26px; font-weight: 700; line-height: 1.15; }
.column-card h3,
.quoted-body h3 { font-size: 19.2px; font-weight: 600; line-height: 27.2px; }
.featured-quote blockquote p { font-size: 20px; line-height: 1.6; }
.enquiry-panel h2 { font-size: 26px; font-weight: 700; line-height: 1; }
.enquiry-panel p { font-size: 16px; line-height: 25.6px; }

/* ---- buttons ---- */
.btn { font-size: 16px; font-weight: 600; line-height: 27.2px; }

/* ---- footer ---- */
.footer-about p { font-size: 16px; line-height: 25.6px; }
.footer-col h3 { font-size: 20px; font-weight: 600; line-height: 1; }
.footer-col a { font-size: 16px; font-weight: 400; line-height: 25.6px; }
.footer-contact span { font-size: 13px; line-height: 27.2px; }
.footer-follow h3 { font-size: 22px; font-weight: 600; line-height: 1; }
.footer-bottom p { font-size: 14.4px; line-height: 25.6px; }
.footer-bottom a { font-size: 14.4px; font-weight: 600; }

/* ---- narrow screens: the fixed article grid has to collapse ---- */
@media (max-width: 1127px) {
  .entry-layout { grid-template-columns: minmax(0, 795px) 195px; gap: 48px; }
}
@media (max-width: 900px) {
  .entry-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-slide h1 { font-size: 26px; line-height: 1.25; }
  .newsletter-title,
  .archive-title { font-size: 28px; }
  .entry-main h1,
  .mentor-head h1 { font-size: 26px; }
  .archive-item h2,
  .archive-item h3,
  .edition-body h2 { font-size: 21px; }
}

/* ---- colour corrections against the live site ---- */
.site-nav a.active { color: #fff; }
.site-nav a.active:hover { color: var(--teal-light); }
.mentorship-body p { color: #fff; }
.pub-quote strong,
.rule-list strong { color: #474747; }

/* the live Internship Handbook button is a filled 20px/500 button */
.mentor-actions .btn-handbook {
  font-size: 20px; font-weight: 500; line-height: 34px;
  background: var(--navy-btn); border-color: var(--navy-btn); color: #fff;
}
.mentor-actions .btn-handbook:hover { background: #0a0459; border-color: #0a0459; color: #fff; }

/* ================================================================
   Article pages — redesign (editions, blog posts, law-student notes)
   Typography stays on the measured scale; this adds the structure
   those pages were missing: a proper head, a lead image, an end,
   and a sidebar that carries related reading instead of dead space.
   ================================================================ */
.entry-header { background: var(--band-soft); padding: clamp(32px, 3.6vw, 48px) 0 clamp(28px, 3.2vw, 40px); }
.entry-header-inner { max-width: 795px; }
.entry-eyebrow {
  font-size: 14px; font-weight: 700; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.entry-eyebrow a { color: var(--teal); }
.entry-eyebrow a:hover { color: var(--navy-head); }
.entry-header h1 { font-size: 30px; font-weight: 500; line-height: 1.12; color: #333; }
.entry-meta { font-size: 14px; line-height: 27.2px; color: #666; margin-top: 14px; }

/* the band supplies the top spacing, so the body sits closer */
.entry { padding: clamp(30px, 3.4vw, 42px) 0 clamp(54px, 6vw, 80px); }

.entry-figure { margin: 0 0 32px; }
.entry-figure img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top;
  border: 1px solid var(--line-soft); border-radius: 8px;
}

.entry-end { margin-top: 30px; }
.entry-back { font-size: 16px; font-weight: 600; color: var(--news-navy); }
.entry-back:hover { color: var(--teal); }

/* ---- sidebar ---- */
.entry-side { border-top: 2px solid var(--navy-head); padding-top: 16px; }
.entry-side h2 { margin-bottom: 18px; }
.entry-side ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.entry-side li { padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.entry-side li:last-child { border-bottom: 0; padding-bottom: 0; }
.entry-side .entry-side-link { display: block; line-height: 1.35; color: #333; font-weight: 600; }
.entry-side a:hover .entry-side-link,
.entry-side .entry-side-link:hover { color: var(--teal); }
.entry-side .entry-side-date { display: block; margin-top: 4px; }

.side-editions img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top;
  border: 1px solid var(--line-soft); border-radius: 4px; margin-bottom: 9px;
}
.side-editions a { display: block; }

.entry-side-all { display: inline-block; margin-top: 22px; }

@media (max-width: 900px) {
  .entry-header { padding: 30px 0 26px; }
  .entry-header-inner { max-width: none; }
  .entry-side { margin-top: 10px; }
  .side-editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .side-editions li { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .side-editions { grid-template-columns: 1fr; }
}

/* ================================================================
   Archive pages — header band + card grid
   Cards share the Connecting Dots card treatment so the three
   listings on the site read as one family.
   ================================================================ */
.archive-header { padding: clamp(36px, 4vw, 54px) 0 clamp(32px, 3.6vw, 46px); }
.archive-header-inner { max-width: 60rem; }
.archive-header .archive-title { margin-bottom: 0; }
.archive-lead { font-size: 16px; line-height: 27.2px; color: var(--text-soft); margin-top: 14px; max-width: 58ch; }
.archive-lead a { color: var(--news-navy); text-decoration: underline; text-underline-offset: 2px; }
.archive-lead a:hover { color: var(--teal); }
.archive-count { font-size: 14px; line-height: 1; color: #666; margin-top: 16px; }

.archive { padding: clamp(32px, 3.6vw, 46px) 0 clamp(56px, 6vw, 84px); }

.post-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-tile {
  background: #fff; border: 1px solid #ccc; border-radius: 8px;
  padding: 22px 22px 26px; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.post-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7, 2, 100, .15); }
.post-tile-date { font-size: 14px; line-height: 1; color: #666; margin-bottom: 14px; }
.post-tile h2 { font-size: 25px; font-weight: 500; line-height: 1.1; }
.post-tile h2 a { color: var(--navy); }
.post-tile h2 a:hover { color: var(--teal); }
.post-tile-excerpt { font-size: 14.4px; line-height: 1.45; color: #555; margin: 14px 0 20px; }
/* auto top margin keeps the buttons on one baseline across each row */
.post-tile .btn { align-self: flex-start; margin-top: auto; }

@media (max-width: 1000px) { .post-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .post-tiles { grid-template-columns: 1fr; }
  .post-tile h2 { font-size: 21px; }
  .archive-header .archive-title { font-size: 28px; }
}

/* ================================================================
   Sticky header — compresses once the page is scrolled
   (site.js toggles .is-scrolled on the header past 10px)
   ================================================================ */
.site-header { transition: box-shadow .25s ease; }
.header-inner { transition: min-height .25s ease; }
.brand img { transition: height .25s ease; }

.site-header.is-scrolled .header-inner { min-height: 64px; }
.site-header.is-scrolled .brand img { height: clamp(46px, 3.6vw, 56px); }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(7, 2, 100, .34); }

@media (max-width: 1040px) {
  .site-header.is-scrolled .header-inner { min-height: 58px; }
  .site-header.is-scrolled .brand img { height: 46px; }
  /* the slide-down menu hangs off the header, so follow it up */
  .site-header.is-scrolled .site-nav { top: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .header-inner, .brand img { transition: none; }
}
