@font-face {
  font-family: "Poppins";
  src: url("./fonts/poppins-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/poppins-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/poppins-400-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/poppins-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/poppins-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("./fonts/geist-mono-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("./fonts/geist-mono-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ground-light: #ffffff;
  --ground-surface: #f6f8fa;
  --ground-paper: #f5f4ef;
  --ground-dark: #0e2e30;
  --text-primary: #14171c;
  --text-secondary: #5b626c;
  --text-on-dark: #ffffff;
  --line: #e3e7ec;
  --line-on-dark: rgba(224, 179, 60, 0.35);
  --signature-on-dark: #e0b33c;
  --signature-on-light: #c2941a;
  --signature-text: #8a6a0a;
  --caution-text: #a3462a;
  --link: #1f4e8c;
  --link-hover: #163a69;
  --focus-ring: rgba(31, 78, 140, 0.4);
  --radius: 3px;
  --selected: #e8eef7;
  --font-main: "Poppins", Arial, sans-serif;
  --font-detail: "Geist Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--ground-light);
  color: var(--text-primary);
  font: 400 16px/1.7 var(--font-main);
}

a {
  color: var(--link);
  text-underline-offset: 5px;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 5px;
  box-shadow: 0 0 0 6px var(--focus-ring);
}

::selection {
  background: var(--selected);
  color: var(--text-primary);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h1,
h2 {
  font-weight: 400;
  letter-spacing: -0.055em;
}

h1 {
  font-size: clamp(51px, 5.625vw, 80px);
}

h2 {
  font-size: clamp(27px, 3.45vw, 44px);
}

h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

.wrap {
  width: min(1280px, 89%);
  margin-inline: auto;
}

/* Text for screen readers only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -100px;
  z-index: 10;
  padding: 12px;
  background: var(--signature-on-dark);
  color: var(--ground-dark);
  border-radius: var(--radius);
}

.skip:focus {
  top: 0;
}

.eyebrow,
.number,
.detail-label,
.footer,
.nav,
.button {
  font-family: var(--font-detail);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dark-ground,
.header {
  background: var(--ground-dark);
  color: var(--text-on-dark);
}

.dark-ground a,
.header a {
  color: var(--text-on-dark);
}

.dark-ground a:hover,
.header a:hover {
  color: var(--signature-on-dark);
}

.dark-ground a:focus-visible,
.header a:focus-visible {
  outline-color: var(--signature-on-dark);
  box-shadow: none;
}

.dark-ground ::selection,
.header ::selection {
  background: var(--signature-on-dark);
  color: var(--ground-dark);
}

.header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--text-on-dark);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.75px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  /* Size the visible mark slightly past the Poppins lowercase l so its lighter
     strokes carry the same weight as the wordmark, including SVG padding. */
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

/* Inline mark follows the link colour, so it turns gold with the wordmark on hover. */
.header .brand {
  transition: color 0.2s ease;
}

/* The full stop carries the gold signature into the wordmark. */
.brand span span {
  color: var(--signature-on-dark);
}

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

.nav a {
  font-size: 12px;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-on-dark);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  color: var(--signature-on-dark);
  font: 400 12px/1 var(--font-detail);
  content: "+";
}

.nav-dropdown[open] summary::after {
  content: "−";
}

.nav-dropdown__menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 16px);
  right: 0;
  width: max-content;
  min-width: 260px;
  padding: 8px 18px;
  border-top: 1px solid var(--signature-on-dark);
  background: var(--ground-dark);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  border-radius: var(--radius);
}

.nav-dropdown__menu a {
  display: block;
  padding-block: 11px;
  color: var(--text-on-dark);
}

.header .nav-contact {
  padding: 10px 16px;
  border: 1px solid var(--signature-on-dark);
  border-radius: var(--radius);
  color: var(--signature-on-dark);
}

.header .nav-contact:hover {
  border-color: var(--text-on-dark);
  color: var(--text-on-dark);
  text-decoration: none;
}

.hero-ground {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.hero-orca {
  --orca-width: min(72vw, 1040px);
  position: absolute;
  z-index: -1;
  /* Bleed off the right and bottom edges so the pod surfaces into the hero
     from below, with the lead orca clear of the headline. */
  right: calc(var(--orca-width) * -0.12);
  bottom: calc(var(--orca-width) * -0.11);
  width: var(--orca-width);
  aspect-ratio: 782 / 774;
  pointer-events: none;
  background: var(--ground-dark) url("images/orca-overhead.webp") center / contain no-repeat;
  /* Match the dark ocean to the hero, leaving the whales and wake bright. */
  background-blend-mode: lighten;
  /* One soft V-shaped pool rising from the bottom edge, eased to avoid banding;
     the top fade lets the bow wave dissolve ahead of the lead orca. */
  -webkit-mask-image:
    radial-gradient(ellipse 60% 128% at 52% 100%, #000 58%, rgba(0, 0, 0, 0.9) 66%, rgba(0, 0, 0, 0.66) 75%, rgba(0, 0, 0, 0.38) 84%, rgba(0, 0, 0, 0.14) 92%, transparent 100%),
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.35) 5%, rgba(0, 0, 0, 0.8) 11%, #000 17%);
  mask-image:
    radial-gradient(ellipse 60% 128% at 52% 100%, #000 58%, rgba(0, 0, 0, 0.9) 66%, rgba(0, 0, 0, 0.66) 75%, rgba(0, 0, 0, 0.38) 84%, rgba(0, 0, 0, 0.14) 92%, transparent 100%),
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.35) 5%, rgba(0, 0, 0, 0.8) 11%, #000 17%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-orca::after {
  content: "";
  position: absolute;
  inset: 0;
  /* A little depth at the bottom edge, as if the tails are still underwater. */
  background: linear-gradient(to top, rgba(14, 46, 48, 0.45), rgba(14, 46, 48, 0) 22%);
}

.hero-motion-toggle {
  position: absolute;
  z-index: 3;
  /* Align with the right edge of .wrap. */
  right: calc((100% - min(1280px, 89%)) / 2);
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 46, 48, 0.55);
  color: rgba(255, 255, 255, 0.72);
  font: 400 11px/1 var(--font-detail);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-radius: var(--radius);
}

.hero-motion-toggle::before {
  content: "";
  width: 8px;
  height: 9px;
  /* Pause bars; switch to a play triangle once paused. */
  background: linear-gradient(to right, currentColor 3px, transparent 3px 5px, currentColor 5px);
}

.hero-motion-toggle[aria-pressed="true"]::before {
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.hero-motion-toggle:hover {
  border-color: var(--signature-on-dark);
  color: var(--signature-on-dark);
}

.hero-motion-toggle:focus-visible {
  outline: 2px solid var(--signature-on-dark);
  outline-offset: 2px;
}

.hero-motion-toggle[hidden] { display: none; }

.hero-orca__motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (min-width: 1051px) {
  /* Give the larger image enough height to retain all three orcas and their wake. */
  .hero-ground .hero { min-height: min(64.4vw, 868px); }
}

@media (max-width: 1050px) {
  .hero-orca {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background-size: cover;
    background-blend-mode: normal;
    background-position: center;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent);
  }

  .hero-orca::after {
    background: linear-gradient(to right, rgba(14, 46, 48, 0.78), rgba(14, 46, 48, 0.62));
  }
}

.hero {
  padding-block: 100px 112px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  min-width: 0;
}

.hero h1 {
  margin: 0 0 38px;
  font-size: clamp(39px, 3.75vw, 53px);
  line-height: 1.04;
}

.hero .intro {
  color: var(--text-on-dark);
}

.intro {
  max-width: 620px;
  font-size: 22px;
  line-height: 1.6;
}

.hero-view {
  max-width: 620px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 2px solid var(--signature-on-dark);
  font-size: 24px;
  line-height: 1.5;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  justify-content: center;
  padding: 17px 24px;
  border-radius: var(--radius);
  background: var(--ground-dark);
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

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

.hero .button {
  background: var(--signature-on-dark);
  color: var(--ground-dark);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 500;
}

.hero .button:hover {
  background: var(--ground-light);
  color: var(--ground-dark);
}

.section {
  padding-block: 90px;
}

#focus > .eyebrow,
.about-feature__content > .eyebrow {
  color: var(--signature-text);
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-top: 24px;
  padding-bottom: 34px;
  border-bottom: 2px solid var(--text-primary);
}

.section-top p {
  max-width: 370px;
  color: var(--text-secondary);
  font-size: 14px;
}

.card {
  display: grid;
  grid-template-columns: 105px 1fr 1.1fr;
  align-items: start;
  column-gap: 28px;
  row-gap: 15px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.card:last-child {
  border-color: var(--text-primary);
}

.number {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item-numeral {
  color: var(--signature-on-light);
  font: 400 28px/1 var(--font-detail);
}

.item-name {
  color: var(--text-secondary);
  font: 400 12px/1.4 var(--font-detail);
}

.card h3 {
  font-size: 20px;
  letter-spacing: -0.045em;
}

.card > p {
  color: var(--text-secondary);
  font-size: 14px;
}

.detail {
  grid-column: 3;
  color: var(--text-secondary);
  line-height: 1.8;
}

.detail-label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail strong {
  display: block;
  color: var(--text-primary);
  font: 400 15px/1.65 var(--font-main);
}

.latest-thoughts__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--signature-on-light);
}

.latest-thoughts__heading h3 {
  margin-top: 16px;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--signature-on-light);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-primary);
  font: 400 26px/1 var(--font-detail);
  cursor: pointer;
}

.carousel-controls button:hover {
  background: var(--ground-dark);
  color: var(--signature-on-dark);
}

.carousel-controls button:disabled {
  border-color: var(--line);
  color: var(--text-secondary);
  cursor: default;
  opacity: 0.45;
}

.post-carousel {
  display: grid;
  grid-auto-columns: minmax(280px, 31%);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  /* Room for card shadows, which the scroll container would otherwise clip. */
  margin: -16px -20px -20px;
  padding: 16px 20px 32px;
  scroll-padding-inline: 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.post-carousel::-webkit-scrollbar {
  display: none;
}

.post-preview {
  min-width: 0;
  scroll-snap-align: start;
  background: var(--ground-light);
  box-shadow: 0 1px 2px rgba(20, 23, 28, 0.06), 0 10px 28px rgba(20, 23, 28, 0.08);
  overflow: hidden;
  border-radius: var(--radius);
}

.post-preview__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background: var(--ground-light);
}

.post-preview__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.post-preview__media:hover img {
  transform: scale(1.025);
}

.post-preview__placeholder {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ground-light);
}

.post-preview__placeholder::before,
.post-preview__placeholder::after {
  position: absolute;
  content: "";
}

.post-preview__placeholder::before {
  top: 20%;
  right: 12%;
  bottom: 20%;
  left: 12%;
  border-top: 2px solid var(--signature-on-light);
  border-bottom: 1px solid var(--line);
}

.post-preview__placeholder::after {
  top: 12%;
  right: 20%;
  width: 34%;
  height: 68%;
  border-left: 1px solid var(--signature-on-light);
  transform: skew(-16deg);
}

.post-preview__placeholder--two::after {
  right: auto;
  left: 25%;
  width: 45%;
  transform: skew(14deg);
}

.post-preview__placeholder--three::before {
  right: 20%;
  left: 20%;
  border: 1px solid var(--line);
}

.post-preview__body {
  padding: 22px 22px 26px;
}

.post-preview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 0 0 14px;
  padding: 0;
  color: var(--signature-text);
  font: 400 12px/1.4 var(--font-detail);
  list-style: none;
  text-transform: uppercase;
}

.post-preview h3,
.post-preview h4 {
  font-size: 21px;
  line-height: 1.35;
}

.post-preview h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.post-preview h3 a:hover {
  color: var(--link);
}

.about-feature {
  padding-block: 56px;
  background: var(--ground-dark);
}

.about-feature__panel {
  display: grid;
  /* Portrait takes about 31% so the message has the room. */
  grid-template-columns: 0.62fr 1.38fr;
  min-height: 0;
  border-top: 2px solid var(--signature-on-light);
  /* Warm paper matches the graded portrait's background exactly. */
  background: var(--ground-paper);
  overflow: hidden;
  border-radius: var(--radius);
}

.about-feature__portrait {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ground-paper);
}

/* A head-and-shoulders crop fills the whole column, however tall the copy runs. */
.about-feature__portrait img {
  position: absolute;
  /* Inset from the panel edge for breathing room on the left. */
  inset: 0 0 0 28px;
  display: block;
  width: calc(100% - 28px);
  height: 100%;
  /* The crop matches the column's tall shape, so it fills it with almost
     nothing cut; anchor to the top to keep headroom. */
  object-fit: cover;
  object-position: 50% 0;
}

.about-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px clamp(32px, 4vw, 60px) 48px clamp(24px, 2.6vw, 40px);
}

.about-feature__content h2 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(33px, 3.75vw, 50px);
}

.about-feature__copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-feature__copy p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

/* Experience strip: a second card under the About panel. */
.about-strip {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 12px;
  padding: 26px 36px;
  border-radius: var(--radius);
  background: var(--ground-paper);
}

.about-strip > * + * {
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.about-strip__label {
  color: var(--signature-text);
  font: 500 12px/1.4 var(--font-detail);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-strip__logos {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

/* Logos sit in grey so they read as credentials, not brand colour. */
.about-strip__logo {
  display: block;
  width: auto;
  filter: grayscale(1);
  opacity: 0.72;
}

.about-strip__logo--sap { height: 30px; }
.about-strip__logo--roche { height: 34px; }
.about-strip__logo--novartis { height: 20px; }

.about-strip__fact {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-strip__icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--signature-on-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-strip__fact strong {
  display: block;
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-strip__fact span {
  display: block;
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 14px;
}

@media (max-width: 1050px) {
  .about-strip { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .about-strip__experience { grid-column: 1 / -1; }
  .about-strip > * + * { margin-left: 0; padding-left: 0; border-left: 0; }
  .about-strip > :nth-child(n + 2) { padding-top: 20px; border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .about-strip { grid-template-columns: 1fr; padding: 24px; }
  .about-strip__logos { flex-wrap: wrap; gap: 24px; }
}

.content-hero {
  padding-block: 80px 88px;
}

.content-hero .eyebrow,
.article-header .eyebrow {
  color: var(--signature-on-dark);
}

.content-hero h1 {
  max-width: 900px;
  margin-top: 24px;
  font-size: clamp(42px, 5vw, 68px);
}

.content-hero h1 + p {
  max-width: 720px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.writing-index {
  min-height: 40vh;
  padding-block: 72px 86px;
}

.post-entry {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px 40px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.post-entry time,
.article-header time {
  color: var(--text-secondary);
  font: 400 12px/1.5 var(--font-detail);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-entry h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.post-entry h2 a {
  color: var(--text-primary);
  text-decoration: none;
}

.post-entry h2 a:hover {
  color: var(--link);
}

.post-entry__excerpt {
  grid-column: 2;
  max-width: 720px;
  color: var(--text-secondary);
}

.empty-state {
  padding-block: 34px;
  border-top: 1px solid var(--signature-on-light);
}

.empty-state .eyebrow {
  color: var(--signature-text);
}

.empty-state h2 {
  margin-top: 22px;
}

.article-header {
  padding-block: 72px 80px;
}

.article-header__inner {
  max-width: 960px;
}

.article-header h1 {
  margin-block: 24px 30px;
  font-size: clamp(42px, 5vw, 68px);
}

.article-header time {
  color: rgba(255, 255, 255, 0.7);
}

.article-body {
  max-width: 850px;
  min-height: 42vh;
  padding-block: 64px 84px;
}

.article-body > * + * {
  margin-top: 24px;
}

.article-body img {
  max-width: 100%;
  height: auto;
}

.community-page {
  background: var(--ground-light);
}

.community-landing {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 150px);
  padding-block: 84px;
}

.community-landing__grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
}

.community-landing__identity {
  display: flex;
  align-items: center;
  min-height: 330px;
  padding-left: clamp(0px, 3vw, 40px);
}

.community-landing__identity img {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.community-landing__notice {
  display: flex;
  align-items: center;
  min-height: 330px;
  padding: clamp(38px, 5vw, 68px);
  border-top: 2px solid var(--signature-on-light);
  background: var(--ground-surface);
  box-shadow: 0 12px 28px rgba(14, 46, 48, 0.08);
  border-radius: var(--radius);
}

.community-landing__notice h1 {
  color: var(--text-primary);
  font-size: clamp(38px, 4.2vw, 58px);
}

.closing-section {
  padding-block: 76px 80px;
}

#contact > .eyebrow {
  color: var(--signature-text);
}

#contact > h2 {
  margin-top: 18px;
  font-size: clamp(33px, 3.75vw, 50px);
}

.closing-intro {
  max-width: 560px;
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

/* The page ends on two direct ways to get in touch. */
.closing-links {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.closing-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-size: 20px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* Gold line icons lead each contact link. */
.closing-link::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: var(--signature-text);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.closing-link--email { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.closing-link--linkedin { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M8 10.5V17M12 10.5V17M12 13.4c0-1.7 1-2.9 2.5-2.9S17 11.7 17 13.4V17'/%3E%3Ccircle cx='8' cy='7.4' r='.9' fill='black' stroke='none'/%3E%3C/svg%3E"); }

.closing-link:hover {
  color: var(--signature-text);
}

.footer {
  padding-bottom: 26px;
  color: var(--text-secondary);
  font-size: 12px;
}

/* Back to top sits above the rule, aligned with the legal links. */
.footer__top {
  display: block;
  width: fit-content;
  margin: 0 0 18px auto;
}

/* Copyright left, tagline centred, legal links right. */
.footer__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.page-content {
  max-width: 850px;
  min-height: 60vh;
}

.footer__legal {
  display: flex;
  justify-self: end;
  gap: 20px;
}

.footer__legal a {
  color: var(--text-secondary);
}

/* Legal pages: readable long-form text with clear section breaks. */
.legal-page .eyebrow {
  color: var(--signature-text);
}

.legal-page h1 {
  margin-top: 16px;
}

.legal-updated {
  margin-top: 10px;
  color: var(--text-secondary);
  font: 400 13px/1.5 var(--font-detail);
}

.legal-page h2 {
  margin-top: 44px;
  font-size: 22px;
  font-weight: 500;
}

.legal-page p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.page-content h1 {
  font-size: 35px;
}

.page-content p {
  margin-block: 20px;
}

.page-content img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1050px) {
  .nav { gap: 18px; }
  h1 { font-size: clamp(47px, 5.625vw, 64px); }
  .card { grid-template-columns: 80px 1fr 1.1fr; gap: 20px; }
  .about-feature__panel { grid-template-columns: 0.6fr 1.4fr; }
}

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; min-height: 85px; padding-block: 20px; gap: 14px; }
  .brand { font-size: 25px; }
  .nav { justify-content: flex-start; flex-wrap: wrap; width: 100%; gap: 12px 20px; }
  .nav a { font-size: 12px; }
  .nav-dropdown__menu { right: auto; left: 0; min-width: 240px; }
  .header .nav-contact { padding: 8px 10px; }
  .eyebrow { font-size: 12px; }
  .hero { padding-block: 56px 68px; }
  h1 { font-size: clamp(42px, 9vw, 56px); letter-spacing: -0.045em; }
  .hero h1 { margin: 0 0 30px; font-size: clamp(35px, 9vw, 47px); }
  .hero .intro { font-size: 20px; }
  .hero-view { font-size: 20px; }
  .section { padding-block: 60px; }
  .section-top { display: block; padding-bottom: 25px; }
  .section-top p { margin-top: 22px; }
  .card { grid-template-columns: 40px 1fr; gap: 15px; padding-block: 25px; }
  .item-numeral { font-size: 24px; }
  .card h3 { font-size: 20px; }
  .card > p, .detail { grid-column: 2; }
  .latest-thoughts__heading { align-items: center; }
  .post-carousel { grid-auto-columns: minmax(270px, 82%); }
  .about-feature { padding-block: 32px; }
  .about-feature__panel { grid-template-columns: 1fr; min-height: 0; }
  .about-feature__portrait { min-height: 0; }
  .about-feature__portrait img { position: static; height: auto; aspect-ratio: 4 / 5; }
  .about-feature__content { padding: 32px 24px 36px; }
  .about-feature__content h2 { font-size: 26px; }
  .about-feature__copy { gap: 14px; margin-top: 22px; padding-top: 18px; }
  .content-hero { padding-block: 56px 62px; }
  .content-hero h1 br { display: none; }
  .writing-index { padding-block: 48px 58px; }
  .post-entry { grid-template-columns: 1fr; gap: 12px; }
  .post-entry__excerpt { grid-column: 1; }
  .article-header { padding-block: 54px 60px; }
  .article-body { padding-block: 46px 58px; }
  .closing-section { padding-block: 46px 50px; }
  .footer__bar { grid-template-columns: 1fr; justify-items: start; gap: 12px; }
  .footer__legal { justify-self: start; }
}

@media (max-width: 560px) {
  .community-landing { min-height: 0; padding-block: 54px; }
  .community-landing__grid { grid-template-columns: 1fr; gap: 34px; }
  .community-landing__identity { min-height: 220px; padding-left: 0; }
  .community-landing__identity img { width: min(82%, 320px); }
  .community-landing__notice { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Keep the hero title as live text; anchor the note to the word it explains. */
.hero h1 {
  padding-bottom: 1.8em;
}
.hero-title-line {
  display: block;
}
.hero-regulated {
  position: relative;
  display: inline-block;
}
.hero-pharma-note {
  position: absolute;
  top: calc(100% + 0.08em);
  left: 60%;
  display: flex;
  align-items: flex-end;
  gap: 0.12em;
  color: #f5cc7c;
  font-size: 0.72em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
}
.hero-pharma-note svg {
  flex: none;
  width: 2.5em;
  height: 1.42em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-pharma-note > span {
  font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", cursive;
  font-style: italic;
  transform: translateY(0.24em) rotate(-3deg);
}
@media (min-width: 721px) {
  .hero h1 { font-size: clamp(28px, 3.75vw, 53px); }
  .hero-title-line { white-space: nowrap; }
}
@media (max-width: 720px) {
  .hero-title-line + .hero-title-line { margin-top: 0.12em; }
  .hero-regulated { margin-bottom: 1.7em; }
  .hero h1 { padding-bottom: 0; }
  .hero-pharma-note { left: 35%; font-size: 0.6em; }
}

/* Focus: three questions connected in sequence. */
.focus-section { padding-block: 80px 88px; background: var(--ground-light); color: var(--text-primary); }
.focus-heading {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  align-items: end;
  gap: 64px;
}
.focus-kicker {
  color: var(--signature-text);
  font: 500 12px/1.5 var(--font-detail);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.focus-heading > div { grid-column: 1 / -1; }
.focus-heading h2 {
  /* One statement per line: identity, then belief. */
  max-width: none;
  text-wrap: balance;
  margin-top: 12px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.18;
}
.focus-intro { max-width: 880px; text-wrap: pretty; margin-top: 18px; color: var(--text-secondary); font-size: 18px; line-height: 1.6; }
.focus-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}
.focus-step { position: relative; min-width: 0; }
.focus-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 38px;
  width: calc(100% + 44px - 38px);
  border-top: 1px solid var(--line);
}
.focus-step:last-child::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 38px;
  right: 0;
  border-top: 1px solid var(--line);
}
.focus-step:last-child::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}
.focus-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border: 1px solid var(--signature-text);
  border-radius: 50%;
  color: var(--signature-text);
  font: 400 16px/1 var(--font-detail);
}
.focus-step h3 { margin-top: 3px; font-size: clamp(20px, 2vw, 27px); line-height: 1.3; }
.focus-question { margin-top: 18px; font-size: 18px; line-height: 1.5; }
.focus-description { margin-top: 18px; font-size: 14px; line-height: 1.75; }
.focus-failure { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.focus-failure h4 { margin: 0 0 6px; color: var(--caution-text); font: 400 11px/1.5 var(--font-detail); letter-spacing: 0.06em; text-transform: uppercase; }
/* The failure line is the punchline of each step. */
.focus-failure p { font-size: 17px; font-weight: 500; line-height: 1.45; }
@media (max-width: 900px) {
  .focus-heading { gap: 32px; }
  .focus-steps { gap: 28px; }
  .focus-step:not(:last-child)::before { width: calc(100% + 28px - 38px); }
}
@media (max-width: 600px) {
  .focus-section { padding-block: 54px; }
  .focus-heading { grid-template-columns: 1fr; gap: 22px; }
  .focus-heading h2 br { display: none; }
  .focus-steps { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
  .focus-step:not(:last-child)::before { display: none; }
  .focus-step-number { margin-bottom: 20px; }
}

/* Share content rows so the three closing dividers stay aligned as text wraps. */
@media (min-width: 601px) {
  .focus-steps { row-gap: 0; }
  .focus-step {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

/* Questions worth asking: open questions on the light grey ground. */
.questions-section {
  position: relative;
  overflow: hidden;
  padding-block: 88px 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ground-surface);
}

.questions-section .eyebrow {
  color: var(--signature-text);
}

.questions__heading {
  margin-top: 24px;
}

.questions__heading p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

/* Two columns of questions, each with its illustration on the left. */
.questions__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 72px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.questions__list > li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  min-width: 0;
  padding-block: 32px;
}

.questions__list > li:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.questions__art {
  display: flex;
  justify-content: center;
}

.questions__icon {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 108px;
  overflow: visible;
}

.questions__label {
  color: var(--signature-text);
  font: 500 12px/1.4 var(--font-detail);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.questions__list h3 {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.questions__text > p:last-child {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.q-gold,
.q-muted {
  fill: none;
  stroke-width: 1.5;
}

.q-gold { stroke: var(--signature-on-light); }
.q-muted { stroke: #9aa3ad; }
.q-ink { fill: none; stroke: var(--text-secondary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.q-fill { fill: var(--text-secondary); }
/* Nodes sit on the gold ring and hide the line passing behind them. */
.q-node { fill: var(--ground-surface); }
.q-ai { fill: var(--text-secondary); font: 500 15px var(--font-main); }
.q-ai--small { font-size: 13.5px; }
.q-axis { fill: var(--text-secondary); font: 400 12px var(--font-main); }
.q-dashed { stroke-dasharray: 4 4; }
.q-dot { fill: var(--signature-on-light); }

/* Notes sit inside the questions section, below the questions. */
.questions__notes {
  margin-top: 88px;
}

@media (max-width: 1050px) {
  .questions__list { grid-template-columns: 1fr; }
  .questions__list > li:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .questions-section { padding-block: 60px; }
  .questions__list > li { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
  .questions__art { justify-content: flex-start; }
  .questions__icon { max-width: 160px; height: 96px; }
}
