/* Internship Insights Co. — Bermuda Internship Board
   Tokens copied from the Internship Insights Co. Design System. */

@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("fonts/Montserrat-ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Raleway"; font-weight: 300; font-display: swap; src: url("fonts/Raleway-Light.ttf") format("truetype"); }

:root {
  --orange-50:#FFF5EA; --orange-100:#FFE6CC; --orange-200:#FBD2A4; --orange:#FBA856; --orange-600:#F08A25; --orange-700:#C96F12; --orange-900:#7A4810;
  --blue-50:#EEF5F9; --blue-100:#D6E7EF; --blue:#5499BB; --blue-700:#3A7995; --blue-800:#2C6079;
  --burnt-100:#FBE9DC; --burnt:#B54A14; --burnt-900:#7A2F0A;
  --ink:#0E1A23; --slate:#D3DCE1; --slate-50:#F4F7F8; --paper:#FBFAF7; --white:#FFFFFF;

  --text-primary:var(--ink); --text-secondary:rgba(14,26,35,.70); --text-muted:rgba(14,26,35,.58);
  --border:var(--slate); --border-strong:rgba(14,26,35,.18);
  --focus-ring:rgba(84,153,187,.40); --focus-ring-action:rgba(251,168,86,.55);

  --font-display:"Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body:"Raleway", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:20px; --space-6:24px; --space-8:32px; --space-10:40px; --space-12:48px; --space-16:64px;
  --radius-md:8px; --radius-lg:12px; --radius-xl:16px; --radius-2xl:20px; --radius-pill:9999px;

  --shadow-xs:0 1px 2px rgba(14,26,35,.05);
  --shadow-sm:0 1px 3px rgba(14,26,35,.08), 0 1px 2px rgba(14,26,35,.04);
  --shadow-md:0 4px 12px rgba(14,26,35,.08);
  --gradient-blue:linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%);
  --ease:cubic-bezier(.4,0,.2,1); --dur-fast:150ms; --dur-base:250ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text-primary);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6; font-weight: 400;
  display: flex; flex-direction: column; min-height: 100vh;
}
a { color: var(--blue-700); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-5); }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); border-radius: var(--radius-md); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.site-header .wrap { display:flex; align-items:center; justify-content:space-between; gap: var(--space-4); padding-top: 16px; padding-bottom: 16px; }
.brand { display:flex; align-items:center; gap: 12px; text-decoration:none; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.header-link { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--blue-700); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-md); transition: background-color var(--dur-fast) var(--ease); }
.header-link:hover { background: var(--blue-50); }

/* ---------- Hero ---------- */
.hero { padding: var(--space-12) 0 var(--space-10); }
.hero .wrap { display:grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-10); align-items: start; }
.eyebrow { margin: 0 0 var(--space-4); font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--blue-700); }
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.02em; max-width: 13ch; text-wrap: balance; }
.hero .lede { margin: var(--space-5) 0 0; font-size: 18px; line-height: 1.65; color: var(--text-secondary); max-width: 52ch; }
.hero-actions { display:flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.btn {
  display:inline-flex; align-items:center; justify-content:center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; line-height: 1;
  padding: 12px 22px; font-size: 15px; border-radius: var(--radius-lg); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-600); }
.btn-primary:focus-visible { box-shadow: 0 0 0 3px var(--focus-ring-action); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--border); box-shadow: none; }
.btn-outline:hover { background: var(--slate-50); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: var(--radius-md); }
.btn svg { width: 16px; height: 16px; }

/* Blue result panel — the signature surface */
.closing-panel { background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-800) 100%); color: var(--white); border-radius: var(--radius-2xl); padding: var(--space-6); box-shadow: var(--shadow-md); }
.closing-panel h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.closing-panel .panel-sub { margin: 4px 0 var(--space-4); font-size: 14px; color: rgba(255,255,255,.85); }
.closing-list { list-style: none; margin: 0; padding: 0; background: rgba(255,255,255,.1); border-radius: var(--radius-lg); }
.closing-list li + li { border-top: 1px solid rgba(255,255,255,.18); }
.closing-list a { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-3); align-items: center; padding: 12px 14px; color: var(--white); text-decoration: none; border-radius: var(--radius-lg); }
.closing-list a:hover { background: rgba(255,255,255,.08); }
.closing-date { font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1.15; }
.closing-date small { display:block; font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.closing-what { font-size: 14px; line-height: 1.4; }
.closing-what strong { display:block; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.panel-foot { display:flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); font-size: 13px; color: rgba(255,255,255,.85); }
.panel-foot b { color: var(--white); font-family: var(--font-display); font-weight: 800; }

/* ---------- Filters ---------- */
.filters { position: sticky; top: 0; z-index: 5; background: rgba(251,250,247,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.filters .wrap { display:flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); padding-top: 14px; padding-bottom: 14px; }
.search { position: relative; flex: 1 1 260px; min-width: 0; }
.search svg { position:absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.search input {
  width: 100%; padding: 12px 16px 12px 42px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.search input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--focus-ring-action); }
.search input::placeholder { color: var(--text-muted); }

.segmented { display: inline-flex; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3px; }
.segmented button {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--text-secondary);
  background: transparent; border: 0; border-radius: 9px; padding: 9px 14px; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.segmented button:hover { background: var(--blue-50); color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.segmented .count { font-weight: 600; opacity: .7; margin-left: 4px; }

.chips { display:flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 7px 14px; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.chip:hover { background: var(--blue-50); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); }

@media (min-width: 861px) { .chips { flex-wrap: wrap; overflow: visible; } }

/* ---------- Results ---------- */
main { flex: 1; }
.results { padding: var(--space-8) 0 var(--space-12); }
.results-head { display:flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-5); }
.results-head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.results-head p { margin: 0; font-size: 14px; color: var(--text-muted); }

.group-title { margin: var(--space-8) 0 var(--space-4); font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--blue-700); }
.group-title:first-of-type { margin-top: 0; }
.grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-4); }

.job {
  display:flex; flex-direction: column; gap: var(--space-3);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm); padding: var(--space-6);
}
.job.is-upcoming { background: var(--white); }
.badges { display:flex; flex-wrap: wrap; gap: 6px; }
.badge { display:inline-flex; align-items:center; border-radius: var(--radius-pill); padding: 5px 12px; font-family: var(--font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; line-height: 1.2; }
.badge-open { background: var(--orange); color: var(--ink); }
.badge-upcoming { background: rgba(84,153,187,.15); color: var(--blue-800); }
.badge-expected { background: transparent; color: var(--text-secondary); box-shadow: inset 0 0 0 1px currentColor; }
.badge-new { background: var(--ink); color: var(--white); }
.badge-field { background: var(--slate-50); color: var(--text-secondary); }
.badge-urgent { background: var(--burnt-100); color: var(--burnt-900); }

.job-company { margin: 0; font-weight: 600; font-size: 14px; color: var(--text-secondary); }
.job h3 { margin: -6px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.job-summary { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.meta { list-style:none; margin: 0; padding: var(--space-3) 0 0; border-top: 1px solid var(--border); display:grid; gap: 6px; font-size: 14px; line-height: 1.45; }
.meta li { display:grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.meta svg { width: 16px; height: 16px; margin-top: 2px; color: var(--blue-700); }
.job-foot { margin-top: auto; padding-top: var(--space-3); display:flex; align-items:center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.job-date { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.job-date.is-soon { color: var(--burnt); }
.job-source { font-size: 12px; color: var(--text-muted); }

.empty { text-align:center; background: var(--white); border: 1px dashed var(--border-strong); border-radius: var(--radius-xl); padding: var(--space-10) var(--space-6); }
.empty h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.empty p { margin: 0 0 var(--space-4); color: var(--text-secondary); }

/* ---------- Audience band ---------- */
.band { border-top: 1px solid var(--border); background: var(--white); padding: var(--space-12) 0; }
.band .wrap > h2 { margin: 0 0 var(--space-6); font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -0.02em; max-width: 22ch; }
.band-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-4); }
.band-card { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-6); background: var(--paper); display:flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.band-card h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.band-card p { margin: 0; color: var(--text-secondary); }
.band-card .btn { margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--white); }
.site-footer .wrap { display:flex; flex-wrap: wrap; gap: 8px var(--space-6); justify-content: space-between; padding-top: 20px; padding-bottom: 20px; font-size: 12px; color: var(--text-muted); }
.site-footer p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding: var(--space-8) 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: var(--space-8); }
  .grid, .band-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 var(--space-4); }
  .brand span { font-size: 15px; }
  .header-link { display: none; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; padding: 9px 8px; }
  .job { padding: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:hover { transform: none; }
}

/* ---------- Additions: avatars, extra filters, detail dialog, employer form ---------- */
.filter-row { display:flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.select {
  appearance: none; -webkit-appearance: none; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E1A23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 10px 34px 10px 14px; cursor: pointer;
}
.select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--focus-ring); }
.toggle { display:inline-flex; align-items:center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13px; cursor: pointer; user-select: none; padding: 6px 4px; }
.toggle input { appearance: none; -webkit-appearance: none; width: 36px; height: 20px; border-radius: 999px; background: var(--slate); position: relative; cursor: pointer; transition: background-color var(--dur-fast) var(--ease); margin: 0; }
.toggle input::after { content:""; position:absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-xs); transition: transform var(--dur-fast) var(--ease); }
.toggle input:checked { background: var(--orange); }
.toggle input:checked::after { transform: translateX(16px); }
.toggle input:focus-visible { box-shadow: 0 0 0 3px var(--focus-ring-action); }

.job-top { display:flex; gap: var(--space-3); align-items: center; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: var(--radius-lg); display:grid; place-items:center; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.av-0 { background: var(--blue-50); color: var(--blue-800); }
.av-1 { background: var(--orange-50); color: var(--orange-900); }
.av-2 { background: var(--slate-50); color: var(--ink); }
.av-3 { background: var(--ink); color: var(--white); }
.job-top .job-company { line-height: 1.35; }
.job h3 a { color: inherit; text-decoration: none; }
.job h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-xl); }
.job { position: relative; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.job:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.job:has(h3 a:focus-visible) { box-shadow: 0 0 0 3px var(--focus-ring); }
.job h3 a:focus-visible { box-shadow: none; }
.job-foot a, .job-foot button { position: relative; z-index: 1; }
.link-btn { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--blue-700); background: none; border: 0; padding: 9px 4px; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.foot-actions { display:flex; align-items:center; gap: var(--space-2); }

/* Detail dialog */
dialog.detail { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius-2xl); box-shadow: 0 24px 60px rgba(14,26,35,.28); background: var(--white); color: var(--ink); }
dialog.detail::backdrop { background: rgba(14,26,35,.55); }
dialog.detail[open] { animation: rise var(--dur-base) var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.detail-head { background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-800) 100%); color: var(--white); padding: var(--space-6) var(--space-6) var(--space-5); position: relative; }
.detail-head .avatar { background: rgba(255,255,255,.14); color: var(--white); }
.detail-head .co { margin: var(--space-3) 0 2px; font-weight: 600; font-size: 14px; color: rgba(255,255,255,.88); }
.detail-head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -0.01em; padding-right: 40px; }
.detail-head .badges { margin-top: var(--space-4); }
.detail-head .badge-field { background: rgba(255,255,255,.14); color: var(--white); }
.detail-head .badge-upcoming { background: rgba(255,255,255,.92); color: var(--blue-800); }
.detail-head .badge-expected { color: rgba(255,255,255,.9); }
.close { position:absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: var(--radius-pill); border: 0; background: rgba(255,255,255,.14); color: var(--white); display:grid; place-items:center; cursor: pointer; }
.close:hover { background: rgba(255,255,255,.24); }
.close svg { width: 18px; height: 18px; }
.detail-body { padding: var(--space-6); display:grid; gap: var(--space-6); }
.detail-body p { margin: 0; }
.detail-body .summary { font-size: 17px; line-height: 1.65; color: var(--text-secondary); }
.facts { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-3); margin: 0; }
.fact { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px 14px; }
.fact dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--blue-700); margin-bottom: 4px; }
.fact dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.35; }
.fact.wide { grid-column: 1 / -1; }
.fact.wide dd { font-family: var(--font-body); font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.timeline li { padding: 12px 14px; background: var(--white); }
.timeline li + li { border-left: 1px solid var(--border); }
.timeline li.now { background: var(--orange-50); }
.timeline small { display:block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--text-muted); }
.timeline b { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.detail-section h3 { margin: 0 0 var(--space-2); font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.prep { background: var(--blue-50); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); }
.prep p { font-size: 15px; color: var(--blue-800); }
.prep a { font-weight: 700; }
.detail-actions { display:flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding: var(--space-4) var(--space-6); background: var(--white); position: sticky; bottom: 0; }
.detail-actions .src { font-size: 13px; color: var(--text-muted); }
.btn-ghost { background: transparent; color: var(--blue-700); box-shadow: none; }
.btn-ghost:hover { background: var(--blue-50); }

/* Employer form page */
.page-head { padding: var(--space-10) 0 var(--space-6); }
.page-head h1 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.02em; max-width: 18ch; }
.page-head .lede { margin: var(--space-4) 0 0; font-size: 18px; color: var(--text-secondary); max-width: 58ch; }
.back { display:inline-flex; align-items:center; gap: 6px; margin-bottom: var(--space-5); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--blue-700); text-decoration: none; }
.back:hover { text-decoration: underline; }
.form-layout { display:grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-8); align-items: start; padding-bottom: var(--space-16); }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: var(--space-6); }
.form-card + .form-card { margin-top: var(--space-4); }
.form-card h2 { margin: 0 0 var(--space-5); font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.fields { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-4) var(--space-5); }
.field { display:flex; flex-direction: column; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.field .hint { font-size: 13px; color: var(--text-muted); margin-top: -4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--slate-50); border: 1px solid var(--border); border-radius: var(--radius-md); outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E1A23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: var(--orange); box-shadow: 0 0 0 3px var(--focus-ring-action); }
.radio-row { display:flex; gap: var(--space-2); flex-wrap: wrap; }
.radio-row label { display:inline-flex; align-items:center; gap: 8px; border: 1px solid var(--border); background: var(--white); border-radius: var(--radius-lg); padding: 10px 14px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.radio-row label:has(input:checked) { background: var(--orange-50); border-color: var(--orange); }
.radio-row input { accent-color: var(--orange-700); margin: 0; }
.form-submit { display:flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-top: var(--space-5); }
.form-submit p { margin: 0; font-size: 13px; color: var(--text-muted); }
.hp { position:absolute; left:-9999px; }
.aside-card { position: sticky; top: var(--space-6); background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-800) 100%); color: var(--white); border-radius: var(--radius-2xl); padding: var(--space-6); }
.aside-card h2 { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.aside-card ol { margin: 0; padding-left: 20px; display:grid; gap: 10px; font-size: 15px; line-height: 1.5; }
.aside-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.2); margin: var(--space-5) 0; }
.aside-card p { margin: 0 0 var(--space-3); font-size: 15px; line-height: 1.55; }
.aside-card a.btn { width: 100%; }
.thanks { max-width: 640px; margin: var(--space-16) auto; text-align: left; }

@media (max-width: 860px) {
  .form-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 560px) {
  .fields, .facts { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li + li { border-left: 0; border-top: 1px solid var(--border); }
  .detail-head, .detail-body { padding: var(--space-5); }
  .detail-actions { padding: var(--space-4) var(--space-5); }
  .filter-row { width: 100%; }
  .filter-row .select { flex: 1; }
}

/* Logo avatars: monogram underneath, employer icon on top once it loads */
.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; object-fit: contain; opacity: 0; transition: opacity var(--dur-base) var(--ease); }
.avatar.has-logo { background: var(--white); border: 1px solid var(--border); }
.avatar.has-logo img { opacity: 1; }
.avatar.has-logo .initials { visibility: hidden; }
.detail-head .avatar { width: 52px; height: 52px; }
.detail-head .avatar img { width: 32px; height: 32px; }
.detail-head .avatar.has-logo { background: var(--white); border-color: transparent; }

/* =========================================================
   Aligned with internshipinsightsco.com (Squarespace):
   Raleway headings at medium weight, Inter Tight buttons,
   photo hero with dark overlay, glass cards, wave dividers.
   ========================================================= */
:root {
  --font-display: "Raleway", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-button: "Inter Tight", "Raleway", ui-sans-serif, system-ui, sans-serif;
  --hero-photo: url("https://images.squarespace-cdn.com/content/v1/67341669c76f8a207c0482bd/1780194575540-ZE73GSJOF7RLA4X6XXR3/unsplash-image-n95VMLxqM2I.jpg?format=2500w");
  --radius-card: 24px;
  --radius-glass: 28px;
}
body { background: var(--white); }

/* Headings: Raleway 500/600, natural tracking */
h1, h2, h3, .job h3, .results-head h2, .band .wrap > h2, .band-card h3, .closing-panel h2,
.detail-head h2, .form-card h2, .page-head h1, .empty h3, .aside-card h2, .detail-section h3 {
  font-family: var(--font-display); letter-spacing: normal;
}
.job h3, .results-head h2, .band-card h3, .closing-panel h2, .form-card h2, .empty h3, .aside-card h2 { font-weight: 600; }
.band .wrap > h2, .page-head h1, .detail-head h2 { font-weight: 500; }
.job h3 { font-size: 20px; }
.results-head h2 { font-size: 26px; }
.band .wrap > h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; max-width: 20ch; }

/* Buttons like the main site: Inter Tight, orange, black text, 10px radius */
.btn { font-family: var(--font-button); font-weight: 500; letter-spacing: normal; border-radius: 10px; box-shadow: none; }
.btn-primary { color: #000; }
.btn-sm { border-radius: 10px; }
.btn-glass { background: rgba(255,255,255,.14); color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.btn-glass:hover { background: rgba(255,255,255,.24); }
.link-btn, .header-link { font-family: var(--font-button); font-weight: 500; }

/* Header: transparent over the photo, centred nav */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; background: transparent; border: 0; }
.site-header .wrap { max-width: 1240px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.brand img { width: auto; height: 55px; }
.site-nav { display: flex; gap: 32px; justify-content: center; }
.site-nav a { font-family: var(--font-display); font-size: 16px; color: var(--white); text-decoration: none; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--white); }
.nav-cta { justify-self: end; }

/* Photo hero */
.photo-hero { position: relative; color: var(--white); background: #222 var(--hero-photo) center / cover no-repeat; padding: 150px 0 130px; overflow: hidden; }
.photo-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.63); }
.photo-hero > .wrap { position: relative; z-index: 1; }
.hero.photo-hero .wrap { max-width: 1240px; align-items: center; }
.kicker { margin: 0 0 var(--space-4); font-family: var(--font-display); font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; color: var(--white); }
.photo-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 6.2vw, 76px); line-height: 1.05; letter-spacing: normal; color: var(--white); max-width: 14ch; }
.photo-hero h1 em { display: block; font-style: italic; color: var(--orange); }
.photo-hero .lede { color: var(--white); font-size: 19px; line-height: 1.5; max-width: 34em; margin-top: var(--space-6); }
.photo-hero .hero-actions { margin-top: var(--space-8); }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; display: block; }
.wave path { fill: var(--white); }

/* Coming-up panel as a glass card */
.closing-panel { background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-glass); box-shadow: none; padding: var(--space-8) var(--space-6); }
.closing-list { background: rgba(0,0,0,.18); border-radius: 18px; }

/* Filters + cards */
.filters { background: rgba(255,255,255,.96); }
.job { border-radius: var(--radius-card); border-color: #E3E9EC; box-shadow: 0 2px 10px rgba(14,26,35,.05); padding: var(--space-6) var(--space-6) var(--space-5); }
.job:hover { box-shadow: 0 10px 28px rgba(14,26,35,.10); }
.job h3 a::after { border-radius: var(--radius-card); }
.badge { font-family: var(--font-display); }
.avatar { border-radius: 12px; }
.band { background: #D1DBE0; border-top: 0; }
.band-card { border-radius: var(--radius-glass); border: 0; background: rgba(255,255,255,.75); padding: var(--space-8); }
.band-card h3 { font-size: 30px; font-weight: 500; }
dialog.detail { border-radius: var(--radius-glass); }
.detail-head { background: #222 var(--hero-photo) center / cover; }
.detail-head::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.detail-head > * { position: relative; }
.detail-head .close { position: absolute; }

/* Employer pages: same design, blue base */
body.employer { background: var(--blue-50); }
body.employer .wave path { fill: var(--blue-50); }
.hire-head.photo-hero { padding-bottom: 140px; margin-bottom: 0; }
.hire-head.photo-hero::before { background: linear-gradient(135deg, rgba(58,121,149,.92), rgba(44,96,121,.88)); }
.hire-head .back { color: var(--white); }
.hire-head .lede { color: rgba(255,255,255,.95); }
.hire-head h1 { max-width: 16ch; }
body.employer .form-layout { padding-top: var(--space-4); position: relative; }
body.employer .form-card { border-radius: var(--radius-card); border-color: var(--blue-100); }
body.employer .form-card h2 { color: var(--blue-800); }
body.employer .aside-card { background: var(--white); color: var(--ink); border: 1px solid var(--blue-100); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
body.employer .aside-card hr { border-top-color: var(--border); }
body.employer .aside-card p, body.employer .aside-card ol { color: var(--text-secondary); }
.thanks-hero { min-height: 70vh; display: flex; align-items: center; }
.thanks-hero .wrap { width: 100%; }

/* "Are you hiring?" card on the board */
.band-card.band-hire { background: linear-gradient(135deg, rgba(58,121,149,.96), rgba(44,96,121,.96)); color: var(--white); }
.band-card.band-hire p { color: rgba(255,255,255,.92); }

/* Footer like the main site */
.site-footer { background: var(--white); border-top: 1px solid #E3E9EC; }
.site-footer .wrap { display: grid; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-8); padding-top: var(--space-12) !important; padding-bottom: var(--space-8) !important; font-size: 17px; color: #000; }
.footer-grid p { margin: 0 0 6px; }
.footer-grid a { display: block; color: #000; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid p a { display: inline; }
.f-title { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.f-head { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; margin-bottom: 12px !important; }
.footer-base { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 8px var(--space-6); border-top: 1px solid #E3E9EC; padding-top: 18px !important; padding-bottom: 22px !important; font-size: 13px; color: var(--text-muted); }
.footer-base p { margin: 0; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-header .wrap { grid-template-columns: 1fr auto; }
}
@media (max-width: 860px) {
  .photo-hero { padding: 120px 0 110px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .photo-hero h1 { font-size: 42px; }
  .photo-hero .lede { font-size: 17px; }
  .wave { height: 48px; }
  .band-card { padding: var(--space-6); }
  .band-card h3 { font-size: 26px; }
}
.wrap { max-width: 1240px; }
.photo-hero h1 { max-width: 18ch; }
