/* ==========================================================================
   El-Olam Healthcare Ltd — healthcare recruitment, Oxford & Oxfordshire
   Palette taken from the El-Olam logo: magenta wordmark, orange leaf.
   ========================================================================== */

:root {
  /* Colour */
  --plum-900: #190520;   /* deepest ground */
  --plum-800: #260a30;
  --plum-700: #3a1047;
  --plum-600: #4e1a5e;
  --magenta-600: #cc0ccc; /* logo wordmark — fills and buttons */
  --magenta-700: #a309a3; /* darker, for text and links (6.7:1 on white) */
  --magenta-500: #dd2bdd;
  --orange-500: #fc7830;  /* logo leaf — accent only, never text on white */
  --orange-600: #e25e14;

  --paper: #ffffff;
  --blush-50: #fdf5fd;
  --blush-100: #f7e6f7;
  --line: #e7cfe7;
  --text: #2b1430;
  --muted: #684c6d;

  /* Type */
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --sans: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Measure & rhythm */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);
  --radius: 6px;
  --radius-lg: 14px;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-700); }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.1; font-weight: 700; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--plum-800);
  color: #fff;
  padding: 0.85rem 1.25rem;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------- typography -- */
.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
}
h1.display { font-size: clamp(2.15rem, 4.5vw, 3.35rem); }
h2.display { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-family: var(--display); font-size: 1.22rem; letter-spacing: -0.01em; }

.lede {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 34em;
}
.measure { max-width: 68ch; }

/* ------------------------------------------------------------- layout --- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--blush { background: var(--blush-50); }
.section--plum { background: var(--plum-800); color: #f0e2f3; }
.section--plum h2, .section--plum h3 { color: #fff; }
.section--plum .lede { color: #d4bdd9; }

.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* The roofline from the logo, used sparingly as a section marker */
.roofmark {
  display: block;
  width: 46px;
  height: 18px;
  margin-bottom: 1.1rem;
  background: var(--magenta-600);
  clip-path: polygon(50% 0, 100% 62%, 100% 100%, 50% 38%, 0 100%, 0 62%);
}
.roofmark--orange { background: var(--orange-500); }
.roofmark--light { background: var(--orange-500); }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  padding: 1rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--magenta-600); color: #fff; }
.btn--primary:hover { background: var(--magenta-700); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--plum { background: var(--plum-800); color: #fff; }
.btn--plum:hover { background: var(--plum-700); }
.btn--outline { background: transparent; color: var(--plum-800); border-color: var(--plum-800); }
.btn--outline:hover { background: var(--plum-800); color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  color: var(--plum-800);
}
.nav-toggle svg { display: block; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  color: var(--plum-800);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  white-space: nowrap;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--orange-500); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--magenta-600); }

.header-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--plum-800);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--magenta-700); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; order: 3; }
  .site-nav {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 1rem;
  }
  .header-inner { flex-wrap: wrap; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--blush-100); white-space: normal; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--magenta-600); }
  .header-cta .btn { display: none; }
}

/* --------------------------------------------------------------- hero --- */
.hero {
  background:
    radial-gradient(900px 480px at 92% 0%, rgba(204, 12, 204, 0.42), transparent 60%),
    linear-gradient(165deg, var(--plum-800) 0%, var(--plum-900) 100%);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero p.lede { color: #d6c2db; }

.hero-locale {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--orange-500);
  margin-bottom: 1.3rem;
}
.hero-locale::before { content: ""; width: 28px; height: 2px; background: var(--orange-500); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }

.hero-assure {
  display: grid;
  gap: 0.9rem 1.75rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.93rem;
  color: #c3aec9;
}
@media (min-width: 620px) { .hero-assure { grid-template-columns: repeat(3, auto); justify-content: start; } }
.hero-assure span { display: inline-flex; align-items: flex-start; gap: 0.5rem; line-height: 1.4; }
.hero-assure svg { flex-shrink: 0; color: var(--orange-500); }

/* ------------------------------------------------------ coverage board -- */
/* El-Olam covers a county, so the hero panel is organised by place. */
.board {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px -20px rgba(14, 2, 20, 0.65);
  overflow: hidden;
  color: var(--text);
}
.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: var(--magenta-600);
  color: #fff;
}
.board-head strong { font-family: var(--display); font-size: 1.02rem; font-weight: 600; }
.board-head span { font-size: 0.8rem; color: #f7d6f7; }
.board-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 1rem;
  align-items: center;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--blush-100);
}
.board-row:last-of-type { border-bottom: 0; }
.board-place { font-family: var(--display); font-weight: 600; color: var(--plum-800); }
.board-roles { grid-column: 1; font-size: 0.88rem; color: var(--muted); }
.board-count {
  grid-row: span 2;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--blush-100);
  color: var(--magenta-700);
}
.board-count--wide { background: #fff0e4; color: var(--orange-600); }
.board-foot {
  padding: 1.1rem 1.4rem;
  background: var(--blush-50);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.board-row { animation: board-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.board-row:nth-of-type(2) { animation-delay: 0.08s; }
.board-row:nth-of-type(3) { animation-delay: 0.16s; }
.board-row:nth-of-type(4) { animation-delay: 0.24s; }
.board-row:nth-of-type(5) { animation-delay: 0.32s; }
@keyframes board-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- page head --- */
.page-head {
  background:
    radial-gradient(760px 400px at 95% 0%, rgba(204, 12, 204, 0.4), transparent 62%),
    linear-gradient(165deg, var(--plum-800), var(--plum-900));
  color: #fff;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.page-head h1 { color: #fff; margin-bottom: 0.75rem; }
.page-head p { color: #d2bdd8; max-width: 46rem; margin-bottom: 0; }
.crumb { font-size: 0.88rem; color: var(--orange-500); margin-bottom: 1rem; font-weight: 600; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* -------------------------------------------------------------- cards --- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
}
.card h3 { color: var(--plum-800); }
.card p:last-child { margin-bottom: 0; }

.role-card { border-top: 4px solid var(--magenta-600); }
.role-card:nth-child(2) { border-top-color: var(--orange-500); }
.role-card:nth-child(3) { border-top-color: var(--plum-600); }
.role-card ul { padding-left: 1.1rem; font-size: 0.97rem; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tags li {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--plum-700);
}
.section--plum .tags li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  color: #e8d8ec;
}

/* ------------------------------------------------------------- process -- */
.process { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 0; }
@media (min-width: 860px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li {
  counter-increment: step;
  margin: 0;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-top: 2px solid var(--line);
}
@media (max-width: 859px) { .process li { padding-right: 0; } }
.process li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--magenta-600);
  margin-bottom: 0.6rem;
}
.process h3 { font-size: 1.08rem; color: var(--plum-800); }
.process p { font-size: 0.97rem; color: var(--muted); margin-bottom: 0; }

/* ------------------------------------------------------------ checks ---- */
.checks { list-style: none; padding: 0; display: grid; gap: 0.85rem; }
@media (min-width: 700px) { .checks--2 { grid-template-columns: repeat(2, 1fr); } }
.checks li { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0; font-size: 1rem; }
.checks svg { flex-shrink: 0; margin-top: 0.3rem; color: var(--orange-500); }

/* --------------------------------------------------------------- split -- */
.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--center { align-items: center; }

.stat-band {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 640px) { .stat-band { grid-template-columns: repeat(3, 1fr); } }
.stat-band div { background: var(--paper); padding: 1.6rem 1.4rem; }
.stat-band dt { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.3rem; }
.stat-band dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--plum-800);
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------- forms -- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--plum-800);
}
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--magenta-600);
  outline-offset: 1px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label.consent,
.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 0;
}
.consent input { width: auto; margin-top: 0.25rem; flex-shrink: 0; }

.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.hp { position: absolute; left: -9999px; }

.form-status { padding: 1rem 1.15rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-weight: 700; }
.form-status--ok { background: #e7f5ec; color: #14562f; border: 1px solid #b6ddc6; }
.form-status--err { background: #fdecea; color: #8a1c13; border: 1px solid #f3c2bd; }

/* ------------------------------------------------------------ contact --- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { flex-shrink: 0; margin-top: 0.25rem; color: var(--magenta-600); }
.contact-list strong { display: block; color: var(--plum-800); font-family: var(--display); }

/* ----------------------------------------------------------------- CTA -- */
.cta-band {
  background: linear-gradient(120deg, var(--magenta-600) 0%, var(--plum-800) 72%);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #f0dcf3; max-width: 40rem; }
.cta-band .hero-actions { margin-top: 1.6rem; }
.cta-band .btn--primary { background: #fff; color: var(--magenta-700); }
.cta-band .btn--primary:hover { background: var(--blush-100); }

/* -------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--plum-900);
  color: #b49bba;
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem;
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo {
  background: #fff;
  display: inline-block;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
}
.footer-logo img { height: 38px; width: auto; }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: 0.98rem; font-weight: 600; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #b49bba; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: space-between;
  font-size: 0.87rem;
  color: #917198;
}

/* ------------------------------------------------------------- tables --- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; min-width: 540px; }
caption { text-align: left; padding: 1rem 1.2rem; font-weight: 600; color: var(--muted); }
th, td { padding: 0.9rem 1.2rem; text-align: left; border-bottom: 1px solid var(--blush-100); vertical-align: top; }
thead th { background: var(--plum-800); color: #fff; font-family: var(--display); font-weight: 600; border-bottom: 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: var(--blush-50); }

/* --------------------------------------------------------------- misc --- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  color: var(--plum-800);
  font-size: 1.06rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-500); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0.85rem 0 0; color: var(--muted); max-width: 62ch; }

.quote { border-left: 4px solid var(--orange-500); padding-left: 1.5rem; margin: 0; }
.quote p {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--plum-800);
  letter-spacing: -0.01em;
}
.quote footer { font-size: 0.92rem; color: var(--muted); }

.legal { max-width: 70ch; }
.legal h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.legal h3 { font-size: 1.08rem; margin-top: 1.5rem; }

/* The El-Olam wordmark is wide, so it needs trimming on small screens to keep
   the logo, phone number and menu button on a single row. */
@media (max-width: 520px) {
  .brand img { height: 34px; }
  .header-phone { font-size: 0.95rem; }
  .header-inner { min-height: 66px; gap: 0.75rem; }
}
@media (max-width: 380px) {
  .header-phone span,
  .header-phone { gap: 0.3rem; }
  .brand img { height: 30px; }
}

/* ======================================================================
   Photography
   ====================================================================== */

/* Hero and page headers carry a photograph behind a plum wash. The photograph
   is a real <img> rather than a CSS background, so its path is relative to the
   page (not this stylesheet) and the browser can prioritise loading it. */
.hero--photo,
.page-head--photo {
  position: relative;
  isolation: isolate;
}
.backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: -2;
}
/* The wash is heavy on purpose: white text over these images must stay legible. */
.hero--photo::after,
.page-head--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(25, 5, 32, 0.95) 0%,
    rgba(38, 10, 48, 0.88) 40%,
    rgba(78, 26, 94, 0.66) 74%,
    rgba(110, 20, 110, 0.5) 100%
  );
}
@media (max-width: 959px) {
  /* Narrow screens stack the text over the full width, so the wash goes flat. */
  .hero--photo::after,
  .page-head--photo::after {
    background: linear-gradient(
      185deg,
      rgba(25, 5, 32, 0.94) 0%,
      rgba(38, 10, 48, 0.89) 55%,
      rgba(78, 26, 94, 0.76) 100%
    );
  }
}
.hero--photo h1,
.hero--photo .lede,
.page-head--photo h1,
.page-head--photo .lede,
.page-head--photo .crumb { text-shadow: 0 1px 18px rgba(16, 2, 22, 0.62); }

/* Image at the head of a card */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card-body { padding: clamp(1.4rem, 2.6vw, 1.9rem); }
.card--media .card-body > :last-child { margin-bottom: 0; }
.card-media {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
}
.role-card.card--media { border-top-width: 4px; }

/* Standalone image block used inside split layouts */
.media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blush-100);
}
.media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.media--tall img { aspect-ratio: 4 / 5; }
