/* ==========================================================================
   Rachael Dorrell — portfolio styles
   Change the colours and fonts here and they update across every page.
   ========================================================================== */

:root {
  /* Brand colours from the business card. Yellow is an accent only: use it sparingly. */
  --navy: #0b4aa8;        /* brand blue: headings, buttons, waves */
  --navy-dark: #073479;   /* contact section, footer, hover */
  --yellow: #ffdc5c;      /* brand yellow: small accents only */
  --tint: #eef3fb;        /* pale blue for image placeholders and badges */
  --paper: #fbfbf9;       /* page background */
  --white: #ffffff;
  --ink: #1b2333;         /* body text */
  --muted: #5b6477;       /* secondary text */
  --line: #e3e6ec;        /* borders */

  --display: "Ubuntu", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;

  --max: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0;
}
h3 { font-weight: 500; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--yellow);
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--navy);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
/* Copy-email button: email address with a copy icon */
.btn--copy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: inherit; line-height: inherit; cursor: pointer; }
.btn--copy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--copy.is-copied { background: var(--navy-dark); border-color: var(--navy-dark); }

/* ---------- Wave motif (from the business card) ---------- */
/* Three wavy brand-blue lines. The tile repeats down the page, so it fits any height. */
.waves {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -18px;
  width: 210px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='200' viewBox='0 0 70 200'%3E%3Cpath d='M28 0 C62 34 62 66 28 100 C-6 134 -6 166 28 200' fill='none' stroke='%230b4aa8' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 70px 200px;
}

/* ---------- Hero ---------- */
/* Top section: yellow background with brand blue, like the business card */
.hero { --gutter: max(24px, calc((100vw - var(--max)) / 2 + 24px)); position: relative; overflow: hidden; padding: 64px 0; background: var(--yellow); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: stretch;
  /* The photo lines up with the right edge of the content below. On narrower
     screens, leave room for at least one wave line beside it. */
  padding-right: max(24px, calc(110px - var(--gutter)));
}
/* Waves fill the space right of the content, keeping a 16px gap from the photo */
.hero .waves { width: max(88px, calc(var(--gutter) + 2px)); }
/* The photo fills the height of the right-hand column, up to 360px wide */
.hero .portrait { aspect-ratio: auto; height: 100%; min-height: 420px; width: 100%; max-width: 360px; justify-self: end; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.status::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--navy);
}
/* The heading scales with its column so "PR & Communications" always fits on one line */
/* Text column: centred vertically against the photo */
.hero-grid > div:first-child {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero h1 { font-size: min(60px, 9.4cqi); line-height: 1.08; }
.hero h1 .nowrap { white-space: nowrap; }
.hero .lede { font-size: 20px; color: var(--navy); margin: 24px 0 32px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .status { background: rgba(255, 255, 255, .55); margin-top: 0; }
.hero .status::before { background: var(--navy); box-shadow: none; }
.hero .portrait { background: rgba(255, 255, 255, .45); border-color: rgba(11, 74, 168, .35); color: var(--navy); }

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--tint);
  border: 2px dashed #b9c9e6;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Once a photo is in, drop the dashed placeholder styling */
.hero .portrait--photo { padding: 0; border: 0; background: var(--white); box-shadow: 0 18px 40px rgba(11, 74, 168, .18); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); margin: 16px 0 0; max-width: 640px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; }
.about-copy p { margin: 0 0 18px; }
/* Intro paragraph: add class="intro" to any <p> to make it the bold lead-in */
.intro { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--navy); }
.about-copy .intro { margin-bottom: 22px; }
/* Value props: a navy panel with yellow bullets */
.stats { position: relative; overflow: hidden; align-self: start; padding: 32px; background: var(--navy); color: var(--white); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(11, 74, 168, .18); }
.stats::after { content: ""; position: absolute; right: -48px; top: -48px; width: 112px; height: 112px; border-radius: 50%; background: var(--yellow); opacity: .9; }
.stats-title { position: relative; margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.stat { position: relative; display: grid; grid-template-columns: 10px 1fr; gap: 16px; margin: 0; padding: 20px 0; font-family: var(--display); font-size: 20px; font-weight: 500; line-height: 1.3; }
.stat + .stat { border-top: 1px solid rgba(255, 255, 255, .18); }
.stat:last-child { padding-bottom: 0; }
.stat::before { content: ""; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--yellow); }

/* Work: brand blue background, white cards */
#work { background: var(--navy); border-top: 0; }
#work .section-head h2 { color: var(--white); }
#work .eyebrow { color: var(--white); }
#work .section-head p { color: rgba(255, 255, 255, .8); }
#work .work-card { border-color: transparent; }
#work .work-card:hover { box-shadow: 0 16px 34px rgba(4, 24, 60, .35); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(13, 47, 107, .10); }
.work-image {
  aspect-ratio: 3 / 2;
  background: var(--tint);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}
.work-image { overflow: hidden; }
/* Document covers: show the whole cover on a soft background instead of cropping it */
.work-image--doc { display: flex; align-items: center; justify-content: center; padding: 22px; background: #e9edf4; aspect-ratio: 3 / 2; }
.work-image.work-image--doc img { aspect-ratio: auto; width: 100%; height: auto; object-fit: contain; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
/* Portrait covers and cuttings fit to the frame's height */
.work-image.work-image--portrait img { width: auto; height: 100%; }
.work-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; }
.work-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-body h3 { font-size: 22px; }
.work-body p { margin: 0; color: var(--muted); font-size: 15px; }
.work-link { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--navy); font-size: 15px; }

/* Experience: compact rows. Click a role's title row to open its bullet points. */
#experience .section-head { margin-bottom: 28px; }
.timeline { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.job { border-top: 1px solid var(--line); }
.job summary {
  display: grid;
  grid-template-columns: 1fr auto 20px;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.job summary::-webkit-details-marker { display: none; }
.job summary::after {
  content: "";
  width: 8px;
  height: 8px;
  justify-self: end;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s;
}
.job details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.job-main { display: block; }
.job h3 { font-size: 20px; display: inline; }
.job summary:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.job-org { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.job-dates { color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.job-body { padding: 0 44px 22px 0; max-width: 820px; }
.job-body ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.job-body li { margin-bottom: 4px; }
.job-body li::marker { color: var(--navy); }
.sub-roles { margin: 0 0 10px !important; padding: 0 !important; list-style: none; color: var(--muted); font-size: 13px !important; }
.sub-roles li { margin: 0; }

/* Contact */
/* Contact: yellow background with brand blue, like the business card */
.contact { position: relative; overflow: hidden; background: var(--yellow); color: var(--navy); padding: 96px 0; }
.contact .wrap { position: relative; }
/* Keep the contact content to 800px wide, lined up with the left edge of the page */
.contact .wrap > * { max-width: 800px; }
.contact h2 { color: var(--navy); font-size: clamp(32px, 5vw, 52px); padding-bottom: 24px; border-bottom: 3px solid var(--navy); }
.contact .eyebrow { color: var(--navy); }
.contact .eyebrow::before { background: var(--navy); }
.contact p { color: var(--navy); margin: 24px 0 32px; }
.contact-list { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .btn { background: var(--navy); border-color: var(--navy); color: var(--white); }
.contact .btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.contact .btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.contact .btn--ghost:hover { background: var(--navy); color: var(--white); }


/* ---------- Work example page ---------- */
.case-hero { padding: 72px 0 48px; }
.case-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 18em; }
.case-hero .lede { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--navy); max-width: 36em; margin: 20px 0 0; }
.case-summary { max-width: 40em; margin-top: 18px; }
/* Intro text on the left, project details stacked on the right */
.case-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 64px;
  align-items: start;
  margin-top: 20px;
}
.case-intro .case-text .lede { margin-top: 0; }
.case-intro .case-meta {
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 6px 0 0;
  padding: 0 0 0 28px;
  border-top: 0;
  border-left: 1px solid var(--line);
}
.case-summary p { margin: 0 0 14px; }
.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.case-meta dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-meta dd { margin: 4px 0 0; font-weight: 500; }
.case-image {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius);
  background: var(--tint);
  display: grid;
  place-items: center;
  color: var(--muted);
  overflow: hidden;
  margin: 24px 0;
}
.case-image img { width: 100%; height: 100%; object-fit: cover; }
.case-body { max-width: 680px; margin: 0 auto; padding: 48px 24px 96px; }
.case-body h2 { font-size: 30px; margin: 48px 0 14px; }
.case-body h2:first-child { margin-top: 0; }
.case-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--navy);
  font-family: var(--display);
  font-size: 22px;
  color: var(--navy);
}
.case-body li::marker { color: var(--navy); }

/* ---------- Coverage wall (case study press cuttings) ---------- */
.coverage { background: var(--tint); padding: 64px 0 56px; }
.coverage-title { font-size: 28px; margin-bottom: 28px; }
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
/* Desktop arrangement: two tall cuttings, with the Telegraph and TV still stacked on the right */
.clip--mail { grid-column: 1; grid-row: 1 / 3; }
.clip--star { grid-column: 2; grid-row: 1 / 3; }
.clip--telegraph { grid-column: 3; grid-row: 1; }
.clip--tv { grid-column: 3; grid-row: 2; }
.clip {
  margin: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(11, 74, 168, .10);
  transition: transform .2s, box-shadow .2s;
}
.clip:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11, 74, 168, .16); }
.clip a { display: block; cursor: zoom-in; }
.clip img { width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line); }
.clip figcaption { padding: 12px 2px 2px; font-size: 14px; line-height: 1.45; }
.clip figcaption strong { display: block; color: var(--navy); font-family: var(--display); font-weight: 500; font-size: 16px; }
.clip figcaption span { color: var(--muted); }
.coverage-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.case-hero + .coverage { margin-top: 8px; }
.case-hero:has(+ .coverage) { padding-bottom: 40px; }

/* ---------- Content blocks (Content creation case study) ---------- */
.content-block { padding: 64px 0; }
.content-block--tint { background: var(--tint); }
.content-block h2 { font-size: 32px; }
.block-intro { max-width: 40em; margin: 12px 0 28px; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.content-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(11, 74, 168, .10);
  transition: transform .2s, box-shadow .2s;
}
.content-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11, 74, 168, .16); }
.content-frame { aspect-ratio: 16 / 10; overflow: hidden; background: #f1f3f7; border-bottom: 1px solid var(--line); }
.content-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Documents sit whole inside the frame, like a report on a desk */
.content-frame--doc { display: flex; align-items: center; justify-content: center; padding: 28px; background: #d5e0f2; }
.content-frame--doc img { width: 100%; height: auto; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
/* Portrait documents (e.g. A4 reports) fit to the frame's height instead */
.content-frame--portrait img { width: auto; height: 100%; }
.content-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 4px; }
.content-card-body strong { font-family: var(--display); font-weight: 500; font-size: 20px; color: var(--navy); }
.content-card-body span { font-size: 15px; font-weight: 600; color: var(--navy); }
/* Lock label for password-protected documents */
.content-card-body .lock-note { display: inline-flex; align-items: center; gap: 6px; width: max-content; margin: 2px 0 4px; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--tint); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.lock-note svg { width: 13px; height: 13px; fill: currentColor; }

/* Framework list (Communications strategy case study) */
.framework {
  list-style: none;
  margin: 0;
  padding: 8px 26px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(11, 74, 168, .10);
}
.framework li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}
.framework li:first-child { border-top: 0; }
.framework b { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--navy); }
.framework--wide li { grid-template-columns: 112px 1fr; }

/* ---------- PDF viewer modal ---------- */
.pdf-viewer {
  width: min(1100px, calc(100vw - 48px));
  height: calc(100vh - 48px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(4, 24, 60, .45);
}
.pdf-viewer[open] { display: flex; flex-direction: column; }
.pdf-viewer::backdrop { background: rgba(7, 52, 121, .75); }
.pdf-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 22px;
  background: var(--navy);
  color: var(--white);
}
.pdf-viewer-bar strong { font-family: var(--display); font-weight: 500; font-size: 18px; }
.pdf-viewer-actions { display: flex; align-items: center; gap: 8px; }
.pdf-viewer-open { color: var(--white); font-size: 14px; font-weight: 600; padding: 6px 10px; }
.pdf-viewer-close {
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.pdf-viewer-close:hover { background: var(--yellow); color: var(--navy-dark); }
.pdf-viewer-frame { flex: 1; width: 100%; border: 0; background: #525659; }
body.modal-open { overflow: hidden; }

/* ---------- Image lightbox (coverage pages) ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--white);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(7, 52, 121, .88); }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 160px); }
.lightbox-figure img { display: block; max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; background: var(--white); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.lightbox-figure figcaption { text-align: center; font-size: 15px; }
.lightbox-figure figcaption strong { display: block; font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--yellow); }
.lightbox-btn {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: var(--white);
  font-size: 28px; line-height: 1; cursor: pointer;
}
.lightbox-btn:hover { background: var(--yellow); color: var(--navy-dark); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 680px) {
  .lightbox-figure { max-width: calc(100vw - 32px); }
  .lightbox-figure img { max-height: calc(100vh - 200px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 24px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { padding-right: 120px; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .case-intro { grid-template-columns: 1fr; gap: 24px; }
  .case-intro .case-meta { grid-template-columns: repeat(3, 1fr); padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .clip--mail, .clip--star, .clip--telegraph, .clip--tv { grid-column: auto; grid-row: auto; }
  .waves, .hero .waves { width: 140px; }
  .portrait { max-width: 360px; }
  .hero .portrait { aspect-ratio: 4 / 5; height: auto; min-height: 0; justify-self: start; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    font: 600 14px var(--body);
    color: var(--navy);
  }
  .nav {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .hero { padding: 56px 0; }
  .hero-grid { padding-right: 16px; }
  .waves { display: none; }
  .hero .lede { font-size: 18px; }
  .section { padding: 64px 0; }
  .work-grid, .case-meta { grid-template-columns: 1fr; }
  .job summary { grid-template-columns: 1fr 20px; gap: 4px 16px; }
  .job-main { grid-row: 1; }
  .job-dates { grid-row: 2; grid-column: 1; }
  .job summary::after { grid-row: 1 / 3; grid-column: 2; }
  .job-body { padding-right: 0; }
  .contact { padding: 64px 0; }
  .coverage-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .content-block { padding: 48px 0; }
  .case-intro .case-meta { grid-template-columns: 1fr; }
}
