/* meffectmarketing.com
   One shared stylesheet for index.html and launch-briefs.html.
   Tokens come from section 3 of the site brief. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/manrope-800.woff2") format("woff2");
}

:root {
  --font-display: "Manrope", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --navy-deep: #051F3A;      /* hero, advising band, image placeholders */
  --navy-footer: #03172B;    /* footer */
  --navy: #073763;           /* headings and links on light, outlined buttons */
  --green: #10B981;          /* filled buttons, the asterisk mark */
  --green-on-dark: #34D399;  /* headline accent phrase, active nav link */
  --green-on-light: #047857; /* text links and small labels on light */
  --green-button: #047857;      /* filled buttons: white text on deep green */
  --green-button-hover: #065F46;
  --off-white: #FAFAFA;      /* page background, card background */
  --white: #FFFFFF;          /* alternate section and card background */
  --border: #E5E7EB;         /* dividers and card borders */
  --ink: #1C2841;            /* base text color, spec values */
  --body: #334155;           /* paragraphs on light */
  --muted: #475569;          /* labels and secondary text on light */
  --on-dark: #D5E0EC;        /* paragraphs on navy */
  --slot-light: #DCE3EA;     /* light image slots (portrait, supporting images) */

  --radius-card: 14px;
  --radius-button: 6px;

  /* Image frame. Every brief image sits in the same padded frame on one
     backdrop color. Change the backdrop here and it changes everywhere. */
  --frame-bg: var(--off-white);
  --frame-pad-card: 28px 28px 0;                       /* home cards: image lines up with the text */
  --frame-line: var(--border);                         /* edge between a frame and a card */
  --frame-img-edge: rgba(5, 31, 58, 0.10);             /* hairline around the image */
  --frame-img-shadow: 0 10px 28px rgba(5, 31, 58, 0.10);
  --slot-bg: var(--slot-light);                        /* missing-image slot */
  --slot-ink: var(--muted);
}

/* ---------- Base ---------- */

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--off-white);
}

h1, h2, h3, p, dl, dd, ul, figure, blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

a {
  color: var(--navy);
}

a:hover {
  color: var(--green-on-light);
}

/* Text for screen readers only */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Visible keyboard focus: navy on light bands, green on navy bands */
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.on-navy :focus-visible {
  outline-color: var(--green-on-dark);
}

/* 1160px content width plus 32px side padding */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-button);
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.button--fill {
  min-height: 54px;
  padding: 0 34px;
  border: 0;
  background: var(--green-button);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.button--fill:hover {
  background: var(--green-button-hover);
  color: var(--white);
}

.button--outline {
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.button--outline:hover {
  color: var(--green-on-light);
}

/* ---------- Header (sits on the navy hero band) ---------- */

.site-header {
  background: var(--navy-deep);
}

.site-header__inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;   /* 44px tap target ... */
  margin: -12px 0;    /* ... without making the header taller than the design */
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  color: var(--white);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 36px;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav a[aria-current="page"] {
  color: var(--green-on-dark);
}

/* ---------- Home: hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 84% 78%, rgba(16, 185, 129, 0.20), rgba(16, 185, 129, 0.07) 42%, rgba(5, 31, 58, 0) 70%),
    var(--navy-deep);
}

/* The multiplier tree: one mark that branches. Decorative and static. */
.hero__graphic {
  position: absolute;
  right: -70px;
  bottom: 26px;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
  .hero__graphic {
    right: -330px;
    bottom: -60px;
    opacity: 0.5;
  }
}

@media (max-width: 700px) {
  .hero__graphic {
    display: none;
  }
}

.hero__inner {
  padding-top: 128px;
  padding-bottom: 216px;   /* room for the portrait that overlaps the bottom edge */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

.hero__title {
  font-size: clamp(2.5rem, 6.6vw, 5.625rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
  text-wrap: balance;
}

/* "hard to explain." always stays on one line */
.hero__accent {
  color: var(--green-on-dark);
  white-space: nowrap;
}

/* Two set lines from tablet up. Below that the words wrap on their own. */
@media (min-width: 700px) {
  .hero__line {
    display: block;
    white-space: nowrap;
  }
}

@media (max-width: 359px) {
  .hero__accent {
    white-space: normal;
  }
}

.hero__subhead {
  max-width: 46ch;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--on-dark);
}

/* ---------- Home: about strip ---------- */

.about {
  padding-top: 64px;
  padding-bottom: 104px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 72px;
  align-items: flex-start;
}

.about__portrait {
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  width: 330px;
  max-width: 100%;
  margin-top: -170px;      /* sits across the hero's bottom edge */
  border: 6px solid var(--white);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: var(--radius-card);
  background: var(--slot-light);
  box-shadow: 0 24px 60px rgba(5, 31, 58, 0.28);
}

.about__text {
  padding-top: 16px;
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about__text p {
  max-width: 60ch;
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--body);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-on-light);
}

/* ---------- Home: launch briefs teaser ---------- */

.work {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.work__inner {
  padding-top: 112px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

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

.work__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work__intro p {
  max-width: 52ch;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 28px;
}

/* Brief card: the title link is stretched over the whole card */
.brief-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* Image frame: a 16:10 image fitted inside 20px of padding on the frame
   backdrop. Same box size as the approved design. */
.brief-card__media {
  padding: var(--frame-pad-card);
  background: var(--frame-bg);
}

.brief-card__media img,
.brief__media img,
.image-slot {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
}

.brief-card__media img,
.brief__media img {
  object-fit: contain;
  box-shadow: 0 0 0 1px var(--frame-img-edge), var(--frame-img-shadow);
}

.brief-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 28px 32px;
}

.brief-card__title {
  font-size: 1.6rem;
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.brief-card__title a {
  color: inherit;
  text-decoration: none;
}

.brief-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
}

.brief-card__title a:focus-visible {
  outline: none;
}

.brief-card__title a:focus-visible::after {
  outline: 3px solid var(--navy);
  outline-offset: -3px;
}

.brief-card__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brief-card__hook {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}

.brief-card__cta {
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green-on-light);
}

.brief-card:hover .brief-card__cta {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Home cards carry one line of context (company and year). The four
   specs live on the launch briefs page. Cards in a row are the same
   height and the link sits at the bottom of each. */
.brief-card__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The four specs: Company, My role, Type, When */
.specs {
  display: grid;
  gap: 14px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.specs__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.specs dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.specs dd {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* Marked slot for an image that has not been supplied yet.
   Same shape and frame as a real image. */
.image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--slot-bg);
  color: var(--slot-ink);
}

/* ---------- Home: advising and consulting ---------- */

.advising {
  background: var(--navy-deep);
}

.advising__inner {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.advising .section-title {
  color: var(--white);
}

.advising p {
  max-width: 60ch;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--on-dark);
}

.advising strong {
  color: var(--white);
  font-weight: 600;
}

.advising .button {
  margin-top: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(213, 224, 236, 0.14);
}

.site-footer__inner {
  padding-top: 44px;
  padding-bottom: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--white);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 36px;
  font-size: 15px;
  font-weight: 500;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Launch briefs page ---------- */

.page-hero {
  background: var(--navy-deep);
}

.page-hero__inner {
  padding-top: 88px;
  padding-bottom: 104px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-hero__title {
  font-size: clamp(2.75rem, 5.6vw, 4.75rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
}

.page-hero__lede {
  max-width: 54ch;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--on-dark);
}

.briefs {
  padding-top: 88px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.brief {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  scroll-margin-top: 24px;
}

/* Snapshot: image and text. One column on narrow screens, image first. */
.brief__snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* Image frame, same treatment as the home cards */
.brief__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--frame-bg);
  border-bottom: 1px solid var(--frame-line);
}

/* Stacked: the image never grows past a comfortable size */
.brief__media img,
.brief__media .image-slot {
  max-width: 560px;
}

/* Two columns from 860px. Image left for briefs 1, 3, 5 and right for
   2, 4, 6. The text side is the wider one so the four specs fit on one row. */
@media (min-width: 860px) {
  .brief__snapshot {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .brief__media {
    padding: 28px;
    border-bottom: 0;
    border-right: 1px solid var(--frame-line);
  }

  .brief:nth-of-type(even) .brief__snapshot {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .brief:nth-of-type(even) .brief__media {
    order: 2;
    border-right: 0;
    border-left: 1px solid var(--frame-line);
  }
}

.brief__summary {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 36px 40px;
}

.brief__title {
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.brief__hook {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--body);
}

.brief .specs {
  grid-template-columns: minmax(0, 1fr);
}

@container (min-width: 300px) {
  .brief .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Column widths follow what each spec needs, so no value runs past two lines */
@container (min-width: 600px) {
  .brief .specs {
    grid-template-columns: minmax(0, 132fr) minmax(0, 193fr) minmax(0, 154fr) minmax(0, 88fr);
    column-gap: 16px;
  }
}

.brief__toggle {
  min-height: 46px;
  padding: 0 22px;
}

.brief__toggle[aria-expanded="true"] {
  background: var(--green-button);
  border-color: var(--green-button);
  color: var(--white);
  font-weight: 700;
}

.brief__toggle[aria-expanded="true"]:hover {
  background: var(--green-button-hover);
  border-color: var(--green-button-hover);
  color: var(--white);
}

/* Full brief. Open by default; script.js adds .js to <html> and collapses
   every brief that is not .is-open. With JavaScript off, all briefs show
   fully open and the buttons are hidden. */
.brief__full {
  border-top: 1px solid var(--border);
  padding: 44px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 44px;
  background: var(--off-white);
}

.js .brief:not(.is-open) .brief__full {
  display: none;
}

html:not(.js) .brief__toggle {
  display: none;
}

.brief__story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 32px 44px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
}

.brief__part {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brief__part h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-on-light);
}

/* Up to three supporting images */
.brief__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
}

@media (min-width: 846px) {
  .brief__gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Each supporting image is a framed thumbnail that opens larger */
.brief__zoom {
  position: relative;
  display: block;
  padding: 14px;
  border: 1px solid var(--frame-line);
  border-radius: 10px;
  background: var(--frame-bg);
  cursor: zoom-in;
}

.brief__zoom img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--frame-img-edge);
}

/* The larger view. Built by script.js; without JavaScript the link opens
   the full image on its own. Tall screenshots scroll inside the view. */
.lightbox {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 72px 16px 24px;
  border: 0;
  overflow: auto;
  background: rgba(3, 23, 43, 0.92);
  cursor: zoom-out;
}

.lightbox[open] {
  display: flex;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox__img {
  margin: auto;
  max-width: min(100%, 1280px);
  height: auto;
  border-radius: 8px;
  background: var(--white);
  cursor: default;
}

.lightbox__close {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-deep);
  font: 400 26px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

html:has(.lightbox[open]) {
  overflow: hidden;
}

/* Testimonial. Only add the markup once a quote is signed off. */
.brief__quote {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brief__quote blockquote {
  max-width: 62ch;
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--navy);
}

.brief__quote figcaption {
  font-size: 14px;
  color: var(--muted);
}

/* Portrait overlap on small screens */
@media (max-width: 700px) {
  .hero__inner {
    padding-bottom: 190px;
  }

  .about__portrait {
    width: 220px;
    margin-top: -150px;
  }
}

/* ---------- Polish round: display type, logo, block two, hover ---------- */

.hero__title,
.page-hero__title,
.section-title,
.brief-card__title,
.brief__title,
.about__title {
  font-family: var(--font-display);
  font-weight: 800;
}

.hero__title {
  font-size: clamp(2.5rem, 6.55vw, 5.6rem);
  line-height: 1.05;
}

.brand__logo,
.site-footer__logo,
.advising__logo {
  display: block;
  width: auto;
}

.brand__logo { height: 26px; }
.advising__logo { height: 20px; margin-bottom: -8px; }

.site-footer__brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.site-footer__logo { height: 18px; }

.about__portrait {
  width: 440px;
  aspect-ratio: 4 / 3;
}

.about__title {
  max-width: 24ch;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.advising,
.page-hero {
  background:
    radial-gradient(700px 420px at 90% 100%, rgba(16, 185, 129, 0.12), rgba(5, 31, 58, 0) 70%),
    var(--navy-deep);
}

@media (max-width: 700px) {
  .about__portrait {
    width: 100%;
    margin-top: -150px;
  }
}

/* Hover detail: cards lift a little, arrows nudge. Off for reduced motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brief-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .brief-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(5, 31, 58, 0.12);
  }

  .brief-card__cta,
  .text-link,
  .button--outline {
    transition: letter-spacing 0.18s ease;
  }

  .brief-card:hover .brief-card__cta,
  .text-link:hover,
  .button--outline:hover {
    letter-spacing: 0.02em;
  }
}

/* ---------- Launch briefs page: index, numbers, bigger images ---------- */

.brief-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.brief-index a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 8px;
  align-content: center;
  min-height: 44px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(213, 224, 236, 0.16);
  text-decoration: none;
}

.brief-index li:first-child a {
  border-top: 1px solid rgba(213, 224, 236, 0.16);
}

.brief-index__num,
.brief__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  color: var(--green-on-light);
}

.brief-index__num {
  grid-row: span 2;
  font-size: 13px;
  line-height: 1.6;
  color: var(--green-on-dark);
}

.brief-index__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--white);
}

.brief-index__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
  opacity: 0.75;
}

.brief-index a:hover .brief-index__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero__fan {
  display: none;
}

.page-hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Wide screens: title, then the mark fanning out to the five briefs.
   Rows are a fixed 80px so each branch lands on its row. */
@media (min-width: 1000px) {
  .page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) 220px minmax(0, 1.1fr);
    align-items: center;
    column-gap: 12px;
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .page-hero__fan {
    display: block;
  }

  .brief-index a,
  .brief-index li:first-child a {
    box-sizing: border-box;
    height: 80px;
    padding: 0 0 0 6px;
    border: 0;
  }
}

.brief__graphic {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--frame-img-edge), var(--frame-img-shadow);
}

.brief__num {
  font-size: 14px;
  line-height: 1;
  margin-bottom: -6px;
}

.brief__title {
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

@media (min-width: 860px) {
  .brief__snapshot,
  .brief:nth-child(even) .brief__snapshot {
    grid-template-columns: 1fr 1fr;
  }
}

/* What shipped as a short list, with any closing line under the columns */
.brief__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brief__list li {
  position: relative;
  padding-left: 18px;
}

.brief__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--green-on-light);
}

.brief__outcome {
  margin: -8px 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--green-on-light);
  max-width: 760px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--navy, #0f1b33);
}

/* Briefs with no lead image yet: summary runs full width */
.brief--text .brief__snapshot {
  grid-template-columns: minmax(0, 1fr);
}

/* Galleries made of slides keep the slide shape */
.brief__gallery--wide .brief__zoom img {
  aspect-ratio: 16 / 9;
}

/* Page not found */
.not-found {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 96px;
  padding-bottom: 140px;
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 12px 0 0;
}

.not-found__alt {
  color: var(--green-on-dark);
  font-weight: 600;
  text-decoration: none;
}

.not-found__alt:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The not-found page is short: let its navy hero fill the window */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy-deep);
}

.page-404 main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-404 main .page-hero {
  flex: 1;
}

/* Phones: logo only in the header */
@media (max-width: 600px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    display: none;
  }

  .hero__inner {
    padding-top: 64px;
  }

  .page-hero__inner {
    padding-top: 56px;
  }
}

/* Footer: a thin line between the logo and the name */
.site-footer__brand > span {
  padding-left: 16px;
  border-left: 1px solid rgba(213, 224, 236, 0.3);
  line-height: 18px;
}
