/* Magnify V2 (Figma "Magnify logic board", V2_00 design system).
   Light: cream canvas, white cards, ink type, orange conversion, deep teal trust.
   Containers stay rectangular with small radii: no pills, no ovals. */

:root {
  --orange: #ff5a0a;
  --orange-deep: #f86204;
  --orange-hover: #d9471b;
  --orange-soft: #ffe4d5;
  --orange-tint: #fff2ea;
  --ink: #102f2c;
  --teal: #1b5a53;
  --teal-deep: #0d4a43;
  --teal-badge-bg: #c3dfdc;
  --teal-badge-text: #104944;
  --muted: #637672;
  --cream: #f3f2ec;
  --canvas: #fff8ea;
  --white: #ffffff;
  --border: #d9e0da;
  --border-soft: #d9e6df;
  --mint: #e8f0ea;
  --mint-deep: #e6f0e8;
  --chip-bg: #f3f8f5;
  --chip-border: #d3e2da;
  --match: #16825d;
  --verified: #d84a00;
  --shadow-card: 0 10px 28px -4px rgba(16, 47, 44, 0.09), 0 2px 4px rgba(16, 47, 44, 0.05);
  --shadow-soft: 0 14px 36px rgba(6, 51, 47, 0.08);
  --shadow-orange: 0 10px 24px rgba(255, 90, 10, 0.15);

  --bg: var(--cream);
  --surface: var(--white);
  --surface-raised: var(--canvas);
  --text: var(--ink);
  --text-secondary: var(--muted);
  --primary: var(--orange);
  --primary-hover: var(--orange-hover);
  --green: var(--teal);

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --font-body: Geist, Montserrat, "Segoe UI", sans-serif;
  --font-display: Lora, Georgia, serif;
  color-scheme: light;
}

html.dark {
  --bg: #0e1c1a;
  --surface: #15302c;
  --surface-raised: #1b3a35;
  --canvas: #132a27;
  --cream: #0e1c1a;
  --text: #f1f3ef;
  --text-secondary: #b7c6c1;
  --muted: #b7c6c1;
  --border: #2d4a45;
  --border-soft: #2d4a45;
  --mint: #16302c;
  --mint-deep: #122824;
  --chip-bg: #1d3934;
  --chip-border: #2d4a45;
  --teal-badge-bg: #1f4f49;
  --teal-badge-text: #cfe9e4;
  --orange-soft: #4a2412;
  --orange-tint: #2b1a12;
  --match: #5ccf9a;
  --shadow-card: 0 10px 28px -4px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul { margin-top: 0; }
h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 4rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 0.6rem; }
h2 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin-bottom: 0.25rem; }
.serif { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.meta, .lead { color: var(--text-secondary); }
.lead { font-size: 1.05rem; max-width: 44rem; }
.small { font-size: 0.85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.page a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.page a.btn:hover, .footer a.btn:hover, .page a.chip:hover, .page a.card:hover, .page a.story:hover, .page a.cat-card:hover { text-decoration: none; }
[hidden] { display: none !important; }

/* Layout ----------------------------------------------------------- */
.wrap { width: min(1296px, calc(100% - 2rem)); margin-inline: auto; }
.wrap-narrow { width: min(820px, calc(100% - 2rem)); margin-inline: auto; }
.page { padding-bottom: 0; }
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.band-canvas { background: var(--canvas); }
.band-white { background: var(--surface); }
.band-mint { background: var(--mint-deep); }
.band-cream { background: var(--cream); }
.band-line { border-bottom: 1px solid var(--border); }

/* Section headings: orange eyebrow, 30px title, muted lead */
.major { margin-bottom: 1.6rem; }
.major p:not(.lead):not(.meta), .eyebrow-text { margin: 0 0 0.6rem; color: var(--orange); font-size: 12px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.major h1, .major h2 { margin-bottom: 0.5rem; }
.major .lead { margin: 0; font-size: 0.95rem; }
.major-center { text-align: center; }
.major-center .lead { margin-inline: auto; }
.major-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.major-row > a { color: var(--orange); font-weight: 600; font-size: 0.95rem; }

/* Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.6rem 1.15rem;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text);
  font: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { border-color: var(--orange); color: var(--orange); }
.btn-solid { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-solid:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; }
.btn-green { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-green:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-soft { background: var(--chip-bg); border-color: var(--chip-border); color: var(--text); font-weight: 500; }
.btn-soft:hover { border-color: var(--orange); color: var(--orange); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-link { background: none; border: 0; min-height: 0; padding: 0; color: var(--text); font-weight: 700; font-size: 13px; }
.btn-link:hover { color: var(--orange); }
.btn-lg { min-height: 56px; padding-inline: 1.5rem; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 0.35rem 0.85rem; font-size: 0.85rem; }
.btn-square { min-width: 44px; padding-inline: 0.5rem; }
.btn-block { width: 100%; }
.btn svg { flex: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

/* Chips and badges (rectangular) ------------------------------------ */
.chip, .tag-row span, .tag-row a {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 0.7rem; border-radius: var(--r-xs);
  border: 1px solid var(--chip-border); background: var(--chip-bg); color: var(--text);
  font-size: 13px; font-weight: 500; line-height: 1.2;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.tag-row > .meta { font-size: 12px; margin-right: 0.2rem; }
.chip-mint { background: var(--mint); border-color: var(--border); color: var(--text-secondary); font-size: 12px; }
.chip-mint.is-on, .tag-row a:hover, .chip-hot { background: var(--orange-soft); border-color: var(--orange-soft); color: var(--orange); font-weight: 700; }
.chip-teal { background: var(--teal-badge-bg); border-color: transparent; color: var(--teal-badge-text); font-weight: 600; }
.chip-orange { background: #ff8950; border-color: transparent; color: var(--teal-badge-text); font-weight: 600; }
.chip-canvas { background: var(--canvas); border-color: transparent; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; padding: 0.4rem 0.75rem; border-radius: var(--r-xs); background: var(--mint); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text); }
.match { color: var(--match); font-weight: 800; }
.pay { color: var(--orange); font-weight: 800; }
.verified { color: var(--verified); font-size: 0.9rem; font-weight: 500; }

/* Forms ------------------------------------------------------------- */
input, select, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text);
  font: inherit; font-size: 0.95rem; padding: 0.75rem 0.85rem;
}
textarea { resize: vertical; }
label { font-size: 0.9rem; font-weight: 600; }
label.check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-weight: 400; margin-top: 0.9rem; }
label.check input { width: 1.1rem; height: 1.1rem; margin-top: 0.25rem; accent-color: var(--orange); }
.stack-form, .auth-block, .review-grid, .form-grid { display: grid; gap: 1rem; }
.stack-form label, .auth-block label, .review-grid label, .form-grid label, label.stacked { display: grid; gap: 0.4rem; }
.form-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.label-text { font-weight: 600; }
.req { color: var(--orange); font-weight: 700; }
.field-help { color: var(--text-secondary); font-size: 0.85rem; font-weight: 400; }

/* Search bar: one bordered row, fields separated by a hairline */
.search-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px) auto; align-items: stretch;
  gap: 0; width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); box-shadow: 0 3px 12px -3px rgba(16, 47, 44, 0.06);
}
.search-bar label { display: flex; align-items: center; gap: 0.6rem; padding: 0 0.75rem; font-weight: 400; }
.search-bar label + label { border-left: 1px solid var(--border); }
.search-bar input { border: 0; padding: 0.7rem 0; background: transparent; font-size: 0.95rem; }
.search-bar input:focus-visible { outline: none; }
.search-bar .btn { min-height: 48px; margin-left: 8px; }
.search-bar .icon { width: 18px; height: 18px; color: var(--text-secondary); flex: none; }

/* Header ------------------------------------------------------------ */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); }
.topbar-row { min-height: 72px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.topbar-left { display: flex; align-items: center; gap: 2rem; }
.logo img { height: 36px; width: auto; }
.logo-dark, html.dark .logo-light { display: none; }
html.dark .logo-dark { display: block; }
.persona { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); }
.persona a { padding: 0.55rem 0.95rem; border: 1px solid var(--border); border-radius: var(--r-xs); font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.persona a.persona-on { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 800; }
.persona a.persona-on.persona-green { background: var(--teal); border-color: var(--teal); }
.topbar-links { display: flex; align-items: center; justify-content: center; gap: 2.2rem; }
.topbar-links > a, .nav-drop > a { font-size: 16px; font-weight: 600; color: var(--text); padding: 0.4rem 0; letter-spacing: 0.1px; }
.topbar-links > a[aria-current="page"], .nav-drop > a[aria-current="page"] { color: var(--orange); font-weight: 700; }
.topbar-links a:hover { color: var(--orange); }
.topbar-actions { display: flex; align-items: center; gap: 0.75rem; justify-content: flex-end; }
.topbar-actions .btn-link { font-size: 13px; }
.topbar-actions .btn-solid { min-height: 40px; padding: 0.5rem 1rem; font-size: 13px; font-weight: 800; box-shadow: none; }
.theme-toggle { min-height: 40px; min-width: 40px; display: inline-grid; place-items: center; padding: 0; }
.theme-toggle svg { display: block; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-sun { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.lang-switch a { padding: 0.5rem 0.65rem; font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.lang-switch a[aria-current="true"] { background: var(--orange); color: #fff; }
.nav-drop { position: relative; }
.nav-menu {
  display: none; position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%);
  min-width: 240px; padding: 0.4rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-card); z-index: 30;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: grid; }
.nav-menu a { padding: 0.65rem 0.8rem; border-radius: var(--r-xs); font-size: 0.95rem; font-weight: 500; }
.nav-menu a:hover { background: var(--chip-bg); color: var(--orange); text-decoration: none; }
.mobile-only { display: none; }
.menu-backdrop { position: fixed; inset: 0; background: rgb(0 0 0 / 55%); z-index: 30; }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(20rem, 88vw); background: var(--surface); border-left: 1px solid var(--border); display: flex; flex-direction: column; padding: 0.75rem 1rem 1rem; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu-links a { padding: 0.8rem 0; border-bottom: 1px solid var(--border); font-weight: 600; }
.mobile-menu-actions { margin-top: auto; display: grid; gap: 0.5rem; }
.notice { margin: 1rem auto; padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.notice strong { display: block; margin-bottom: 0.2rem; }

/* Cards ------------------------------------------------------------- */
.card, .block, .box, .widget, .empty {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-card);
}
.card-flat { box-shadow: none; }
.box strong { display: block; font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
.box span { color: var(--text-secondary); }
.box-copy { display: flex; flex-direction: column; height: 100%; gap: 0.35rem; }
.box-copy strong { font-size: 1.1rem; }
.box-copy .btn { margin-top: auto; align-self: flex-start; }
.boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.boxes-3 { grid-template-columns: repeat(3, 1fr); }
.boxes-2 { grid-template-columns: repeat(2, 1fr); }
a.box:hover { border-color: var(--orange); }
.stack { display: grid; gap: 1rem; }

/* Home: hero --------------------------------------------------------- */
.hero { padding: 4.5rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 3rem; align-items: center; }
.hero-copy { display: grid; gap: 1.35rem; justify-items: start; }
.hero-copy h1 { margin: 0; }
.hero-copy .lead { margin: 0; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.hero-actions .btn { min-height: 50px; padding-inline: 1.4rem; }
.story {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 560px; padding: 1.5rem; border-radius: var(--r-lg); overflow: hidden; color: var(--ink);
  background: var(--teal) center / cover no-repeat;
}
.story img.story-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story > * { position: relative; }
.story-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.story-card {
  display: grid; gap: 0.5rem; width: min(340px, 100%); padding: 1.25rem;
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: 0 14px 36px rgba(6, 51, 47, 0.08);
}
.story-card .row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.story-card .title { font-size: 1.1rem; color: var(--ink); }
.story-card .meta { font-size: 12px; }
.story-card .btn { box-shadow: none; }

/* Home: trust / partner logos */
.stats-line { color: var(--text-secondary); font-size: 0.95rem; }
.logo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; padding: 1rem; }
.logo-slot { display: grid; place-items: center; height: 114px; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.logo-slot img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.logo-slot:hover { border-color: var(--orange); }

/* Home: employer stories */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-bottom: 1.5rem; }
.story-employer { min-height: 420px; }
.story-copy {
  display: grid; gap: 0.35rem; padding: 1.25rem; border: 1px solid #e4e8e5; border-radius: var(--r-md);
  background: rgba(165, 207, 255, 0.9); backdrop-filter: blur(6px); box-shadow: 0 8px 24px rgba(6, 51, 47, 0.08);
}
.story-copy.tint-orange { background: rgba(255, 150, 84, 0.9); }
.story-copy strong { font-size: 1.35rem; font-weight: 800; }
.story-copy .meta { color: #637672; font-size: 0.9rem; }
.story-copy q, .story-copy .quote { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.2; }

/* Home: categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cat-card {
  display: flex; align-items: center; gap: 1rem; min-height: 108px; padding: 1.25rem;
  border-radius: var(--r-md); background: var(--orange); color: var(--ink); box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
}
.cat-card:nth-child(2) { background: var(--teal); color: #fff; }
.cat-card:hover { filter: brightness(1.04); }
.cat-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-sm); background: #e6f0e8; border: 1px solid #e6f0e8; box-shadow: 0 4px 12px rgba(16, 73, 68, 0.1); }
.cat-icon img { width: 20px; height: 20px; }
.cat-card strong { display: block; font-size: 1.05rem; font-weight: 600; line-height: 1.2; }
.cat-card span { font-size: 0.9rem; font-weight: 500; }

/* Home: process */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.step-card { display: grid; gap: 1rem; padding: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-soft); align-content: start; }
.step-no { font-family: var(--font-display); font-size: 2.75rem; font-weight: 700; color: var(--orange); line-height: 1; }
.step-card h3 { font-size: 1.2rem; font-weight: 500; margin: 0; }
.step-card p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; }
.step-card .btn { box-shadow: none; }

/* Home: students */
.split { display: grid; grid-template-columns: 540px minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.split-photo { border-radius: var(--r-lg); overflow: hidden; min-height: 440px; background: var(--teal); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; font-size: 0.95rem; }
.checklist li::before { content: "\2713\00a0"; color: var(--match); font-weight: 700; }

/* Jobs listing -------------------------------------------------------- */
.jobs-hero { padding: 3rem 0 2.25rem; }
.jobs-hero h1 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -1.2px; line-height: 1.06; }
.jobs-hero .search-bar { margin-top: 1.25rem; }
.jobs-hero .tag-row { margin-top: 0.75rem; }
.results-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.15rem; border: 1px solid var(--border-soft); border-radius: var(--r-md); background: var(--chip-bg);
}
.results-head h2 { margin: 0; font-size: 1.5rem; font-weight: 700; }
.results-head .meta { font-size: 12px; margin: 0.15rem 0 0; }
.sort-box { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.5rem 0.35rem 0.75rem; border: 1px solid #ffd4bf; border-radius: var(--r-xs); background: var(--orange-tint); font-size: 12px; color: var(--text-secondary); }
.posts { display: grid; gap: 1rem; margin-top: 1rem; }
.job-card {
  position: relative; display: grid; gap: 1.1rem; padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); box-shadow: var(--shadow-card);
}
.job-card::before { content: ""; position: absolute; left: -1px; top: 21px; width: 4px; height: 52px; background: var(--orange); border-radius: 2px; }
.job-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; }
.job-head h3 { font-size: 1.25rem; font-weight: 500; margin: 0; }
.job-head h3 a:hover { color: var(--orange); }
.job-head .meta { font-size: 1rem; }
.job-numbers { display: flex; gap: 1rem; align-items: center; font-size: 1rem; white-space: nowrap; }
.job-card > p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }
.job-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.job-foot .btn { box-shadow: none; }
.logo-mark {
  width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--r-sm); background: var(--surface); border: 2px solid rgba(255, 255, 255, 0.9); box-shadow: 0 1px 3px rgba(16, 47, 44, 0.15);
  font-weight: 700; font-size: 13px; color: var(--teal);
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; padding: 4px; background: #fff; }
.logo-mark-lg { width: 64px; height: 64px; }
.filters-panel { margin-top: 1rem; }
.filters-panel > summary { list-style: none; display: inline-flex; cursor: pointer; }
.filters-panel > summary::-webkit-details-marker { display: none; }
.filter-board { margin-top: 0.75rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.filter-board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.filter-board-head h2 { margin: 0; font-size: 1.2rem; font-weight: 600; }
.filter-board-head p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; margin: 1rem 0; }
.filter-grid label { display: grid; gap: 0.35rem; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-secondary); }
.filter-grid input { font-size: 0.9rem; text-transform: none; letter-spacing: 0; }
.empty { text-align: center; color: var(--text-secondary); }

/* Job detail --------------------------------------------------------- */
.detail-hero { padding: 2.5rem 0 2rem; }
.detail-hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
.detail-hero .tag-row { margin: 0.75rem 0 1rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; padding: 1.5rem 0 3rem; }
.detail-rail { position: sticky; top: 5.5rem; display: grid; gap: 1rem; }
.info-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.info-tile { padding: 0.9rem 1rem; border: 1px solid var(--border-soft); border-radius: var(--r-sm); background: var(--chip-bg); }
.info-tile span { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-secondary); }
.info-tile strong { font-size: 1rem; font-weight: 700; }
.info-tile strong.pay { color: var(--orange); }
.copy h2 { font-size: 1.1rem; font-weight: 700; margin: 1.6rem 0 0.5rem; }
.copy ul { padding-left: 1.2rem; color: var(--text-secondary); }
.copy p { color: var(--text-secondary); }
.callout { padding: 1rem 1.1rem; border: 1px solid var(--border-soft); border-radius: var(--r-sm); background: var(--chip-bg); }
.callout-required { border-color: #ffd4bf; background: var(--orange-tint); }
.callout-locked { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.callout-locked .btn-solid { box-shadow: none; }
.locked-box { padding: 1.5rem; border: 1px solid var(--border-soft); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card); text-align: center; }
.locked-box h2 { font-family: var(--font-display); font-size: 1.5rem; }

/* Companies ---------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.company-card { display: grid; gap: 0.85rem; align-content: start; }
.company-card .head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0.9rem; align-items: center; }
.company-card .head h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.company-card .facts { display: grid; gap: 0.2rem; color: var(--text-secondary); font-size: 0.9rem; }
.company-card p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }
.company-card .open { color: var(--orange); font-weight: 700; }
.company-card .button-row { margin-top: auto; }
.company-card .btn { box-shadow: none; }
.company-hero .logo-mark-lg { margin-bottom: 1rem; }
.featured-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.featured-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0.85rem; align-items: start; padding: 1.1rem 1.2rem; }
.featured-card strong { display: block; font-size: 1.05rem; }
.featured-card .meta { font-size: 0.85rem; }
.featured-card .open { color: var(--orange); font-weight: 700; font-size: 0.85rem; }

/* Auth pages ---------------------------------------------------------- */
.auth { padding: 3.5rem 0 4rem; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 2.5rem; align-items: stretch; }
.auth-card { width: min(520px, 100%); margin-inline: auto; padding: 2.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-soft); }
.auth-card h1 { font-size: 2.6rem; }
.auth-card .lead { font-size: 0.95rem; margin-bottom: 1.5rem; }
.auth-card form { display: grid; gap: 1rem; }
.auth-card .btn-solid { min-height: 54px; font-size: 1rem; }
.auth-card .meta { text-align: center; }
.auth-card .meta a { color: var(--orange); font-weight: 600; }
.auth-aside { position: relative; min-height: 560px; border-radius: var(--r-lg); overflow: hidden; background: var(--teal); display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; }
.auth-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-aside > * { position: relative; }
.auth-quote { padding: 1.5rem; background: rgba(255, 255, 255, 0.95); border-radius: var(--r-md); color: var(--ink); }
.auth-quote p { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; margin-bottom: 0.6rem; }
.auth-quote .meta { font-size: 0.85rem; }
.privacy-line { display: flex; justify-content: center; gap: 0.4rem; color: var(--text-secondary); font-size: 0.8rem; text-align: center; }

/* Pages: contact, resources, review, employer pitch ------------------ */
.stage { padding: 3rem 0 4rem; }
.stage-card { width: min(620px, 100%); margin-inline: auto; }
.sheet { padding: 3rem 0 1.5rem; }
.banner { padding: 3.5rem 0 3rem; }
.center-grid { text-align: center; }
.review-wrap { max-width: 820px; }
.review-form { display: grid; gap: 1.25rem; }
.rating { border: 1px solid var(--border-soft); background: var(--chip-bg); padding: 1rem 1.1rem; margin: 0 0 1rem; border-radius: var(--r-sm); }
.rating legend { font-weight: 600; padding: 0 0.3rem; }
.rating.is-invalid { border-color: var(--orange); }
.rating-scale { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.rating-anchor { color: var(--text-secondary); font-size: 0.9rem; min-width: 6rem; }
.rating-anchor:last-child { text-align: right; }
.rating-option { position: relative; }
.rating-option input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rating-option span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; border-radius: var(--r-xs); }
.rating-option input:hover + span, .rating-option input:focus-visible + span { border-color: var(--orange); color: var(--orange); }
.rating-option input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.review-success .btn { margin-top: 0.5rem; }
.review-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.review-cta h2 { margin-bottom: 0.25rem; }
.review-cta p { margin: 0; }
.meta.small { font-size: 0.85rem; }

/* Footer -------------------------------------------------------------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 2.5rem 0 1.5rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 12px; color: var(--text-secondary); }
.footer-copy { margin-top: 1.5rem; color: var(--text-secondary); font-size: 11px; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .topbar-links { gap: 1.25rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 420px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
  .company-grid, .featured-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .topbar-links, .topbar-left .persona, .desktop-only { display: none; }
  .topbar-row { grid-template-columns: auto 1fr auto; }
  .mobile-only { display: inline-flex; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-grid, .stories, .steps, .cat-grid, .split, .detail-grid, .auth-grid, .boxes, .boxes-3, .boxes-2, .form-grid, .review-grid, .filter-grid, .info-tiles, .company-grid, .featured-row { grid-template-columns: 1fr; }
  .story { min-height: 440px; }
  .search-bar { grid-template-columns: 1fr; gap: 0.5rem; }
  .search-bar label + label { border-left: 0; border-top: 1px solid var(--border); }
  .search-bar .btn { margin-left: 0; }
  .detail-rail { position: static; }
  .job-head { grid-template-columns: 48px minmax(0, 1fr); }
  .job-numbers { grid-column: 2; }
  .auth-aside { min-height: 360px; }
  .section { padding: 3rem 0; }
  .rating-anchor { min-width: 0; flex-basis: 100%; }
  .rating-anchor:last-child { text-align: left; order: 9; }
}

/* Georgian labels run about 35% longer: tighten the header so it never overlaps */
.topbar-links { flex-wrap: wrap; row-gap: 0.25rem; }
html[lang="ka"] .topbar-links { gap: 1.1rem; }
html[lang="ka"] .topbar-links > a, html[lang="ka"] .nav-drop > a { font-size: 14px; }
html[lang="ka"] .persona a { font-size: 12px; padding-inline: 0.7rem; }
html[lang="ka"] .topbar-actions .btn-solid, html[lang="ka"] .topbar-actions .btn-link { font-size: 12px; }
@media (max-width: 1280px) {
  html[lang="ka"] .topbar-left .persona { display: none; }
}
