/* ============================================================
   CroccoCode — main.css
   ============================================================ */

/* ── 1. Variables ─────────────────────────────────────────── */
:root {
  --bg:               #dfebe9;
  --bg-alt:           #FFFFFF; 
  /*--bg-alt:           #F2F2F2; */
  --bg-dark:          #435470;
  --text:             #222222;
  --text-muted:       #666666;
  --text-on-dark:     #F2F2F2;
  --text-muted-dark:  #b8c5d4;
  --accent:           #00754e;
  --accent-interactive: #009073;
  --heading:          #435470;
  --border:           #c5d8d4;
  --border-dark:      #526080;
  --accent-on-dark:   #5ecba8;

  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', 'Courier New', monospace;

  --container: 1140px;
  --radius:    8px;
  --transition: 0.18s ease;
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol { list-style: none; }

a {
  color: var(--accent-interactive);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent); }

a:focus-visible {
  outline: 2px solid var(--accent-interactive);
  outline-offset: 3px;
  border-radius: 2px;
}

button:focus-visible {
  outline: 2px solid var(--accent-interactive);
  outline-offset: 3px;
}

/* ── 3. Base Typography ───────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.15;
  color: var(--heading);
}

h1 { font-size: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 0.5em; }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 16px; }

p {
  color: var(--text-muted);
  max-width: 65ch;
}

strong { color: var(--text); font-weight: 700; }

/* ── 4. Layout Utilities ──────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 80px 0;
}

.section--sm {
  padding: 48px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.text-center { text-align: center; }
.text-mono { font-family: var(--font-mono); }

/* ── 5. Components ────────────────────────────────────────── */

/* Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 32px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-interactive);
  color: var(--text-on-dark);
  transform: translateY(-1px);
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-sm:hover { background: var(--accent-interactive); }

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 27px;
  background: transparent;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--text-on-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--text-on-dark);
  color: var(--bg-dark);
}

/* Tag */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--border);
  padding: 3px 9px;
  border-radius: 4px;
}

/* ── 6. NAV ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #F2F2F2;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}


.nav__logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav__logo .logo-symbol {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--accent-interactive);
}

.nav__cta {
  margin-left: 16px;
}

/* Mobile nav — checkbox hack */
.nav__toggle {
  display: none;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-bottom: 16px;
  border-top: 1px solid var(--border);
}

.nav__mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.nav__mobile-menu a:last-child {
  border-bottom: none;
}

.nav__mobile-menu .btn-primary {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

/* ── 7. HERO ──────────────────────────────────────────────── */
.hero {
  background: var(--bg);
  padding: 96px 0 80px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  align-items: center;
  gap: 48px;
}

.hero__text {
  min-width: 0;
}

.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero__headline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  overflow: hidden;
}

.hero__words {
  display: block;
  position: relative;
  height: 1.08em;
  overflow: hidden;
  white-space: nowrap;
}

.hero__word {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  animation: wordSlide 10s infinite;
}

.hero__word--1 { animation-delay: 0s; }
.hero__word--2 { animation-delay: 2.5s; }
.hero__word--3 { animation-delay: 5s; }
.hero__word--4 { animation-delay: 7.5s; }

@keyframes wordSlide {
  0%         { opacity: 0;   transform: translateY(100%); }
  5%         { opacity: 1;   transform: translateY(0);    }
  22%        { opacity: 1;   transform: translateY(0);    }
  27%        { opacity: 0;   transform: translateY(-100%);}
  100%       { opacity: 0;   transform: translateY(-100%);}
}

.hero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 52ch;
  font-weight: 400;
}

/* ── 8. LOGOS STRIP ───────────────────────────────────────── */
.logos {
  background: var(--bg-alt);
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


.logos__track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logos__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 24s linear infinite;
  margin-bottom: 24px;
}

.logos__track--reverse {
  animation: marquee 16s linear infinite;
}

.logos__track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.65;
  transition: opacity var(--transition);
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  height: 64px;
  width: auto;
  display: block;
}

.logo-name--hidden {
  display: none;
}

.logo-item span {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── 9. SERVICES ──────────────────────────────────────────── */
.services {
  background: var(--bg);
}

.services__header {
  margin-bottom: 48px;
}

.services__header p {
  margin-top: 12px;
  font-size: 17px;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 84, 112, 0.1);
}

.service-card__icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}

.service-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: none;
  line-height: 1.6;
}

/* ── 10. HOW WE WORK ──────────────────────────────────────── */
.how {
  background: var(--bg-alt);
}

.how__header {
  margin-bottom: 12px;
}

.how__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 60ch;
}

.how__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.how-item {
  padding: 32px 32px 32px 28px;
  border-left: 3px solid var(--accent);
  margin-bottom: 0;
}

.how-items-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.how-item__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.how-item__desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: none;
  line-height: 1.6;
}

/* ── 11. RESULTS ──────────────────────────────────────────── */
.results {
  background: var(--bg);
}

.results__header {
  margin-bottom: 48px;
}

.case-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-card__metric {
  font-family: var(--font-mono);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.case-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
}

.case-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: none;
  line-height: 1.65;
}

/* ── 12. ABOUT ────────────────────────────────────────────── */
.about {
  background: var(--bg-alt);
}

.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  width: 220px;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.about__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about__name {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--heading);
  margin-bottom: 0;
}

.about__creds {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about__cred {
  font-size: 15px;
  color: var(--text-muted);
  max-width: none;
  padding-left: 14px;
  border-left: 2px solid var(--border);
  line-height: 1.5;
}

.about__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-interactive);
  margin-top: 4px;
}

/* ── 13. CONTACT / CTA ────────────────────────────────────── */
.contact {
  background: var(--bg-dark);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__left h2 {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--text-on-dark);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}

.contact__left p {
  font-size: 16px;
  color: var(--text-muted-dark);
  max-width: 40ch;
  margin-bottom: 32px;
}

.contact__alt {
  font-size: 13px;
  color: var(--text-muted-dark);
  margin-top: 20px;
}

.contact__alt a {
  color: var(--accent-on-dark);
}

.contact__alt a:hover {
  color: var(--text-on-dark);
}

/* Form on dark */
.form-dark {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-dark label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 6px;
}

.form-dark input,
.form-dark textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition), background var(--transition);
}

.form-dark input::placeholder,
.form-dark textarea::placeholder {
  color: rgba(184, 197, 212, 0.5);
}

.form-dark input:focus,
.form-dark textarea:focus {
  outline: none;
  border-color: var(--accent-on-dark);
  background: rgba(255,255,255,0.1);
}

.form-dark textarea {
  resize: vertical;
  min-height: 110px;
}

.form-dark .form-field {
  display: flex;
  flex-direction: column;
}

.form-dark .btn-primary {
  align-self: flex-start;
  background: var(--accent-on-dark);
  color: var(--bg-dark);
  font-weight: 700;
}

.form-dark .btn-primary:hover {
  background: var(--text-on-dark);
  color: var(--bg-dark);
}

/* ── 14. FOOTER ───────────────────────────────────────────── */
.footer {
  background: #222222;
  padding: 28px 0;
  border-top: 1px solid #333;
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #888;
  text-decoration: none;
}

.footer__logo .logo-symbol {
  color: var(--accent);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--accent-on-dark);
}

.footer__contact {
  font-size: 13px;
  color: #888;
}

.footer__contact a {
  color: #888;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--accent-on-dark);
}

.footer__copy {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #2e2e2e;
  font-size: 12px;
  color: #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy a {
  color: #666;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__copy a:hover {
  color: var(--accent-on-dark);
}

/* ── 15. CAREERS PAGE ─────────────────────────────────────── */
.page-hero {
  background: var(--bg-alt);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  color: var(--heading);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 55ch;
}

.job-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.job-card:hover {
  box-shadow: 0 6px 20px rgba(67, 84, 112, 0.1);
  border-color: var(--heading);
}

.job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.job-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
}

.job-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(0, 117, 78, 0.08);
  border: 1px solid rgba(0, 117, 78, 0.2);
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.job-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: none;
  line-height: 1.65;
}

.job-card__requirements {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  max-width: none;
}

.careers__cta {
  margin-top: 56px;
  padding: 36px 32px;
  background: var(--bg-dark);
  border-radius: var(--radius);
  text-align: center;
}

.careers__cta p {
  font-size: 16px;
  color: var(--text-muted-dark);
  max-width: none;
  margin-bottom: 8px;
}

.careers__cta a {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-on-dark);
}

.careers__cta a:hover {
  color: var(--text-on-dark);
}

/* ── 16. PORTAL PAGE ──────────────────────────────────────── */
.portal-page {
  background: var(--bg-alt);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.portal-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(67, 84, 112, 0.12);
}

.portal-card__logo {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
  display: block;
}

.portal-card__logo .logo-symbol {
  color: var(--accent);
}

.portal-card h1 {
  font-size: 22px;
  color: var(--heading);
  margin-bottom: 6px;
}

.portal-card__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: none;
}

.form-light {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-light label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-light input {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition);
}

.form-light input:focus {
  outline: none;
  border-color: var(--accent-interactive);
}

.form-light .form-field {
  display: flex;
  flex-direction: column;
}

.form-light .remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-light .remember-row input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.form-light .remember-row label {
  font-size: 13px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-muted);
  margin-bottom: 0;
}

.form-light .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px;
}

.portal-card__forgot {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  max-width: none;
  text-align: center;
  line-height: 1.5;
}

.portal-card__forgot a {
  color: var(--accent-interactive);
}

.portal-message {
  display: none;
  padding: 20px;
  background: rgba(0, 117, 78, 0.08);
  border: 1px solid rgba(0, 117, 78, 0.2);
  border-radius: 6px;
  color: var(--heading);
  font-size: 14px;
  text-align: center;
  line-height: 1.6;
}

/* ── 17. RESPONSIVE ───────────────────────────────────────── */

/* Tablet — 768px */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  /* Nav */
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__toggle:checked ~ div .nav__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle:checked ~ div .nav__hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle:checked ~ div .nav__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__toggle:checked ~ .nav__mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 64px 0 56px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__image {
    order: -1;
  }

  .hero__image img {
    max-height: 260px;
  }

  /* Logos */
  .logos__row {
    gap: 14px 28px;
  }

  /* Grids → 1 column */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .how-items-wrap {
    grid-template-columns: 1fr;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .about__photo {
    height: 220px;
  }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }

  .hero__headline {
    letter-spacing: -0.01em;
  }

  .case-card__metric {
    font-size: 40px;
  }

  .logos__row {
    gap: 12px 20px;
  }

  .portal-card {
    padding: 32px 24px;
  }

  .job-card__header {
    flex-direction: column;
    gap: 8px;
  }
}

/* Ensure logos wrap nicely into 2 rows on small screens */
@media (max-width: 640px) {
  .logos__row .logo-item {
    flex-basis: calc(25% - 20px);
    text-align: center;
  }
}
