/**
 * Danish Khan website
 * Reusable public components.
 *
 * Visual direction:
 * warm editorial personal website
 * inspired by the supplied reference structure
 *
 * This is an original implementation built for
 * the existing PHP/CMS architecture.
 */

/* =============================================================
   BUTTONS
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: var(--space-2);

  min-height: var(--tap-target-min);

  padding: 13px 28px;

  border: 1px solid transparent;
  border-radius: var(--radius-md);

  font: var(--text-button);

  letter-spacing: 0.02em;

  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color var(--duration-slow) var(--easing-standard),
    border-color var(--duration-slow) var(--easing-standard),
    color var(--duration-slow) var(--easing-standard),
    transform var(--duration-slow) var(--easing-standard);
}

.btn:hover {
  text-decoration: none;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;

  cursor: not-allowed;
}

/* Yellow primary CTA */

.btn--primary {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);

  color: var(--color-text-on-accent);
}

.btn--primary:hover:not(:disabled) {
  background: transparent;
  border-color: var(--color-border-strong);

  color: var(--color-text-primary);
}

.btn--primary:active:not(:disabled) {
  background: var(--color-accent-primary-hover);
  border-color: var(--color-accent-primary-hover);
}

/* Outline pill */

.btn--secondary {
  padding-inline: 29px;

  background: transparent;

  border-color: var(--color-border-strong);
  border-radius: var(--radius-full);

  color: var(--color-text-primary);
}

.btn--secondary:hover:not(:disabled) {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);

  color: var(--color-text-primary);
}

/* Danger button (destructive confirmations) */

.btn--danger {
  background: #a0322d;
  border-color: #a0322d;

  color: #fff;
}

.btn--danger:hover:not(:disabled) {
  background: #7d2521;
  border-color: #7d2521;
}

/* Dark button */

.btn--dark {
  background: var(--color-text-primary);
  border-color: var(--color-text-primary);

  color: var(--color-text-inverse);
}

.btn--dark:hover:not(:disabled) {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);

  color: var(--color-text-primary);
}

/* Text button */

.btn--text {
  min-height: auto;

  padding: 0;

  border: 0;

  background: transparent;

  color: var(--color-text-primary);

  text-transform: none;
}

.btn--text:hover {
  background: transparent;
}

/* Small */

.btn--sm {
  min-height: 38px;

  padding: 9px 18px;

  font-size: 0.875rem;
}

/* Full width */

.btn--block {
  width: 100%;
}

/* =============================================================
   ARROW LINKS
   ============================================================= */

.arrow-link {
  position: relative;

  display: inline-flex;
  align-items: center;

  min-height: 40px;

  gap: 10px;

  padding-bottom: 4px;

  border-bottom: 2px solid transparent;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;

  text-decoration: none;

  transition: border-color var(--duration-slow) var(--easing-standard);
}

.arrow-link::after {
  content: "↗";

  display: inline-block;

  font-size: 1.15em;

  line-height: 1;

  transform: rotate(0deg);

  transition: transform var(--duration-slow) var(--easing-standard);
}

.arrow-link:hover {
  border-bottom-color: var(--color-accent-primary);

  text-decoration: none;
}

.arrow-link:hover::after {
  transform: rotate(45deg);
}

/* Horizontal arrow */

.arrow-link--right::after {
  content: "→";

  transform: translateX(0);
}

.arrow-link--right:hover::after {
  transform: translateX(5px);
}

/* =============================================================
   LINKS
   ============================================================= */

.link {
  color: var(--color-text-primary);
}

.link--nav {
  display: inline-flex;
  align-items: center;

  min-height: var(--tap-target-min);

  padding-inline: 12px;

  border-radius: var(--radius-sm);

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;

  text-decoration: none;

  transition: color var(--duration-base) var(--easing-standard);
}

.link--nav:hover {
  background: transparent;

  color: var(--color-text-muted);
}

.link--nav[aria-current="page"] {
  color: var(--color-text-primary);

  font-weight: 600;
}

.link--cta {
  text-decoration: none;
}

.link--external::after {
  content: "↗";

  display: inline-block;

  margin-left: 0.3em;

  font-size: 0.9em;
}

.link--contextual {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;

  text-decoration: none;
}

.link--contextual::after {
  content: "→";

  transition: transform var(--duration-base) var(--easing-standard);
}

.link--contextual:hover::after {
  transform: translateX(4px);
}

/* =============================================================
   YELLOW UNDERLINE
   ============================================================= */

.yellow-underline {
  display: inline;

  border-bottom: 4px solid var(--color-accent-primary);

  line-height: 1.1;
}

.yellow-underline--thin {
  border-bottom-width: 2px;
}

/* =============================================================
   EYEBROWS
   ============================================================= */

.eyebrow,
.section-eyebrow {
  display: block;

  margin-bottom: 20px;

  color: var(--color-text-secondary);

  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;

  letter-spacing: var(--letter-spacing-eyebrow);

  text-transform: uppercase;
}

.section-eyebrow--center {
  text-align: center;
}

/* =============================================================
   REFERENCE SECTION INTRO
   ============================================================= */

.reference-intro {
  width: 100%;
  max-width: var(--section-width);

  margin-inline: auto;

  text-align: center;
}

.reference-intro__eyebrow {
  margin-bottom: 20px;
}

.reference-intro__title {
  margin: 0;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: -0.025em;
}

.reference-intro__body {
  max-width: 650px;

  margin: var(--space-5) auto 0;

  color: var(--color-text-secondary);

  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.55;
}

/* =============================================================
   CARDS
   ============================================================= */

.card {
  display: flex;
  flex-direction: column;

  gap: var(--space-3);

  padding: var(--space-5);

  background: var(--color-surface-raised);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  box-shadow: none;

  color: inherit;

  text-decoration: none;

  transition:
    border-color var(--duration-base) var(--easing-standard),
    background-color var(--duration-base) var(--easing-standard);
}

.card:hover {
  border-color: var(--color-border-strong);

  background: var(--color-bg);
}

.card__title {
  color: var(--color-text-primary);

  font: var(--text-h4);
}

.card__meta {
  color: var(--color-text-muted);

  font: var(--text-small);
}

.card__body {
  color: var(--color-text-secondary);

  font: var(--text-body);
}

/* =============================================================
   TAGS
   ============================================================= */

.tag {
  display: inline-flex;
  align-items: center;

  min-height: 30px;

  padding: 4px 12px;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);

  background: var(--color-bg);

  color: var(--color-text-secondary);

  font: var(--text-caption);
}

/* =============================================================
   BADGES
   ============================================================= */

.badge {
  display: inline-flex;
  align-items: center;

  padding: 3px 9px;

  border-radius: var(--radius-sm);

  background: var(--color-accent-tint);

  color: var(--color-text-primary);

  font: var(--text-caption);

  font-weight: 600;
}

.badge--success {
  background: var(--color-success-tint);
  color: var(--color-success);
}

.badge--warning {
  background: var(--color-warning-tint);
  color: var(--color-warning);
}

.badge--error {
  background: var(--color-error-tint);
  color: var(--color-error);
}

/* =============================================================
   FORMS
   ============================================================= */

.form-group {
  display: flex;
  flex-direction: column;

  gap: var(--space-2);

  margin-bottom: var(--space-5);
}

.form-label {
  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-hint {
  color: var(--color-text-muted);

  font: var(--text-caption);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;

  min-height: 56px;

  padding: 15px 18px;

  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);

  background: var(--color-bg);

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.4;

  transition:
    border-color var(--duration-base) var(--easing-standard),
    box-shadow var(--duration-base) var(--easing-standard);
}

.form-textarea {
  min-height: 160px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-text-primary);

  box-shadow: 0 0 0 1px var(--color-text-primary);
}

.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"],
.form-select[aria-invalid="true"] {
  border-color: var(--color-error);
}

.form-error {
  color: var(--color-error);

  font: var(--text-caption);
}

/* =============================================================
   CONTAINED PHOTO WITH BLURRED-BACKDROP FILL
   Reusable, global. Use only where a real content photo is shown
   with object-fit:contain (so its whole frame is visible instead
   of cropped) — the letterbox gaps get filled with a blurred,
   scaled-up copy of the SAME photo instead of a flat colour, so it
   reads as one continuous image. Never use on logos/brand marks —
   blurring a logo into its own backdrop looks broken, not polished.
   Markup: wrapper needs style="--media-bg:url('...same src...')"
   and class="media-blur-frame"; the <img> inside just needs
   object-fit:contain (sizing stays fully up to the component).
   ============================================================= */

.media-blur-frame {
  position: relative;
  overflow: hidden;
}

.media-blur-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: var(--media-bg);
  background-position: center;
  background-size: cover;

  filter: blur(30px) saturate(1.25) brightness(0.92);
  transform: scale(1.15);
}

.media-blur-frame img {
  position: relative;
  z-index: 1;

  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.25);
}

.form-checkbox-row {
  display: flex;
  align-items: center;

  gap: var(--space-2);
}

.form-input--xs {
  width: 5rem;
}

/* =============================================================
   ALERTS
   ============================================================= */

.alert {
  display: flex;

  gap: var(--space-3);

  padding: var(--space-4);

  border: 1px solid transparent;
  border-radius: var(--radius-md);

  font: var(--text-small);
}

.alert--info {
  background: var(--color-accent-tint);

  border-color: var(--color-accent-primary);

  color: var(--color-text-primary);
}

.alert--success {
  background: var(--color-success-tint);

  border-color: var(--color-success);

  color: var(--color-success);
}

.alert--warning {
  background: var(--color-warning-tint);

  border-color: var(--color-warning);

  color: var(--color-warning);
}

.alert--error {
  background: var(--color-error-tint);

  border-color: var(--color-error);

  color: var(--color-error);
}

/* =============================================================
   BREADCRUMBS
   ============================================================= */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: var(--space-2);

  color: var(--color-text-muted);

  font: var(--text-small);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
    justify-content: inherit;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}
.breadcrumbs [aria-current="page"] { overflow-wrap: anywhere; }
.breadcrumbs a {
  color: var(--color-text-secondary);

  text-decoration: none;
}

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

.breadcrumbs__separator {
  color: var(--color-border-strong);
}

/* =============================================================
   DROPDOWN NAVIGATION
   ============================================================= */

.dropdown {
  position: relative;
}

.dropdown__trigger {
  display: inline-flex;
  align-items: center;

  gap: 5px;

  min-height: var(--tap-target-min);

  padding-inline: 12px;

  border-radius: var(--radius-sm);

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;

  transition: color var(--duration-base) var(--easing-standard);
}

.dropdown__trigger:hover {
  color: var(--color-text-muted);
}

.dropdown__caret {
  width: 10px;
  height: 10px;

  transition: transform var(--duration-base) var(--easing-standard);
}

.dropdown[data-open="true"] .dropdown__caret {
  transform: rotate(180deg);
}

.dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;

  display: none;

  min-width: 260px;

  padding: 8px;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  background: var(--color-bg);

  box-shadow: var(--shadow-md);
}

.dropdown[data-open="true"] .dropdown__panel {
  display: block;
}

.dropdown__link {
  display: block;

  padding: 11px 13px;

  border-radius: var(--radius-sm);

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 400;

  text-decoration: none;
}

.dropdown__link:hover {
  background: var(--color-surface);
}

/* =============================================================
   MOBILE DROPDOWN
   ============================================================= */

@media (max-width: 1023px) {
  .dropdown__trigger {
    width: 100%;

    justify-content: space-between;

    padding-inline: 0;
  }

  .dropdown__panel {
    position: static;

    width: 100%;

    margin-top: 4px;
    padding: 0 0 8px 16px;

    border: 0;

    box-shadow: none;
  }
}

/* =============================================================
   SECTION HEADING
   Existing inner-page compatibility
   ============================================================= */

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: var(--space-3);

  width: 100%;
  max-width: 700px;

  margin: 0 auto var(--space-7);

  text-align: center;
}

.section-heading__eyebrow {
  color: var(--color-text-secondary);

  font: var(--text-label);

  letter-spacing: var(--letter-spacing-eyebrow);

  text-transform: uppercase;
}

.section-heading__title {
  font: var(--text-h2);

  letter-spacing: var(--letter-spacing-h2);
}

.section-heading__description {
  max-width: var(--reading-width);

  color: var(--color-text-secondary);

  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.55;
}

/* =============================================================
   MEDIA
   ============================================================= */

.media {
  position: relative;

  overflow: hidden;

  width: 100%;

  border-radius: var(--radius-md);

  background: var(--color-surface);
}

.media img,
.media picture {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.media--16x9 {
  aspect-ratio: 16 / 9;
}

.media--16x10 {
  aspect-ratio: 16 / 10;
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media--3x2 {
  aspect-ratio: 3 / 2;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.media--portrait {
  aspect-ratio: 3 / 4;
}

.media--4x5 {
  aspect-ratio: 4 / 5;
}

/* =============================================================
   EMPTY STATE
   ============================================================= */

.empty-state {
  padding: var(--space-7);

  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);

  color: var(--color-text-muted);

  text-align: center;
}

/* =============================================================
   FILTER BAR
   ============================================================= */

.filter-bar {
  display: flex;
  flex-wrap: wrap;

  gap: var(--space-2);

  margin-bottom: var(--space-7);
}

.filter-pill {
  display: inline-flex;
  align-items: center;

  min-height: var(--tap-target-min);

  padding: 8px 16px;

  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);

  background: var(--color-bg);

  color: var(--color-text-secondary);

  font: var(--text-small);

  text-decoration: none;
}

.filter-pill:hover {
  border-color: var(--color-accent-primary);

  background: var(--color-accent-tint);
}

.filter-pill[aria-current="true"] {
  border-color: var(--color-accent-primary);

  background: var(--color-accent-primary);

  color: var(--color-text-primary);
}

/* =============================================================
   META LIST
   ============================================================= */

.meta-list {
  display: flex;
  flex-wrap: wrap;

  gap: var(--space-6);

  padding-block: var(--space-4);

  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.meta-list__item {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.meta-list__label {
  color: var(--color-text-muted);

  font: var(--text-label);
}

.meta-list__value {
  color: var(--color-text-primary);

  font: var(--text-body);
}

/* =============================================================
   TABLE OF CONTENTS
   ============================================================= */

.toc {
  margin-block: var(--space-6);

  padding: var(--space-4) var(--space-5);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  background: var(--color-surface);
}

.toc__title {
  margin-bottom: var(--space-2);

  color: var(--color-text-muted);

  font: var(--text-label);

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

/* =============================================================
   RELATED CONTENT
   ============================================================= */

.related-section,
.featured-section {
  margin-top: var(--space-9);
}

/* =============================================================
   PAGINATION
   ============================================================= */

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--space-4);

  margin-top: var(--space-7);
}

.pagination__status {
  color: var(--color-text-muted);

  font: var(--text-small);
}

/* =============================================================
   REFERENCE HERO
   ============================================================= */

.reference-hero {
  position: relative;

  overflow: hidden;

  padding: var(--hero-space-top) 0 calc(var(--hero-space-bottom) + 100px);

  background: var(--color-surface);
}

.reference-hero__inner {
  position: relative;
  z-index: 2;
}

.reference-hero__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: var(--space-7);

  align-items: center;
}

/*
 * Desktop geometry follows the supplied reference:
 * approximately 41% image and 59% content.
 */

@media (min-width: 783px) {
  .reference-hero__grid {
    grid-template-columns:
      minmax(0, 41fr)
      minmax(0, 59fr);

    gap: clamp(32px, 5vw, 84px);
  }
}

/* Decorative background shape */

.reference-hero__visual {
  position: relative;

  z-index: 1;
}

.reference-hero__visual::before {
  content: "";

  position: absolute;

  z-index: -1;

  width: min(340px, 82%);
  aspect-ratio: 1;

  left: -65px;
  bottom: -50px;

  border: 32px solid rgba(250, 204, 21, 0.45);
  border-radius: 50%;
}

.reference-hero__portrait {
  position: relative;

  overflow: hidden;

  width: 100%;

  border-radius: 0;

  background: #e9e5dc;
}

.reference-hero__portrait img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.reference-hero__portrait-placeholder {
  display: grid;
  place-items: center;

  aspect-ratio: 1000 / 1190;

  background: linear-gradient(145deg, #ebe7dd, #dcd6c9);

  color: #9f998d;

  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 600;
}

/* Hero copy */

.reference-hero__content {
  width: 100%;
  max-width: 610px;
}

.reference-hero__label {
  display: block;

  margin-bottom: 20px;

  color: var(--color-text-secondary);

  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.reference-hero__title {
  margin: 0;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 4.8vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: -0.031em;
}

.reference-hero__title em {
  font-family: var(--font-serif);
  font-weight: 500;
}

.reference-hero__copy {
  max-width: 527px;

  margin-top: 20px;

  color: var(--color-text-primary);

  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.reference-hero__action {
  margin-top: 30px;
}

/* =============================================================
   HERO CREDIBILITY
   ============================================================= */

.hero-credibility {
  display: flex;
  flex-direction: column;

  gap: 18px;

  max-width: 570px;

  margin-top: 58px;
}

.hero-credibility__label {
  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-credibility__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 12px 24px;
}

.hero-credibility__item {
  display: inline-flex;
  align-items: center;

  min-height: 32px;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;

  text-decoration: none;
}

.hero-credibility__item:hover {
  color: var(--color-text-muted);
}

/* =============================================================
   STORY SECTION
   ============================================================= */

.story-section {
  padding: 145px 0 var(--section-space-desktop);

  background: var(--color-bg);
}

.story-section__intro {
  max-width: 850px;

  margin: 0 auto 64px;

  text-align: center;
}

.story-section__title {
  margin: 0;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: -0.025em;
}

.story-section__grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: var(--space-7);

  align-items: center;
}

@media (min-width: 768px) {
  .story-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: clamp(40px, 7vw, 96px);
  }
}

.story-section__image {
  overflow: hidden;

  width: 100%;

  border-radius: var(--radius-md);

  background: var(--color-surface);
}

.story-section__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.story-section__content {
  max-width: 520px;
}

.story-section__content h3 {
  margin-bottom: var(--space-4);

  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 500;
}

.story-section__content p {
  margin-bottom: var(--space-4);

  color: var(--color-text-secondary);

  line-height: 1.7;
}

.story-section__action {
  margin-top: var(--space-5);
}

/* =============================================================
   PROJECT / COMPANY STYLE GRID
   ============================================================= */

.reference-grid-section {
  padding: var(--section-space-desktop) 0;

  background: var(--color-bg);
}

.reference-grid-section__intro {
  margin-bottom: 64px;
}

.reference-project-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 0;

  width: 100%;
  max-width: 1060px;

  margin-inline: auto;

  border-top: 1px solid var(--color-border-strong);
}

@media (min-width: 768px) {
  .reference-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reference-project {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 110px;

  padding: 24px 34px 24px 0;

  border-bottom: 1px solid var(--color-border-strong);

  color: var(--color-text-primary);

  text-decoration: none;
}

@media (min-width: 768px) {
  .reference-project:nth-child(odd) {
    padding-right: 40px;

    border-right: 1px solid var(--color-border-strong);
  }

  .reference-project:nth-child(even) {
    padding-left: 40px;
  }
}

.reference-project__inner {
  display: grid;

  grid-template-columns:
    52px
    minmax(0, 1fr)
    28px;

  gap: 18px;

  width: 100%;

  align-items: center;
}

.reference-project__icon {
  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;

  overflow: hidden;

  border-radius: var(--radius-sm);

  background: var(--color-surface);
}

.reference-project__icon img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.reference-project__initial {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
}

.reference-project__title {
  margin: 0 0 4px;

  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
}

.reference-project__meta {
  color: var(--color-text-muted);

  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.4;
}

.reference-project__arrow {
  display: grid;
  place-items: center;

  width: 24px;
  height: 24px;

  font-size: 1.3rem;

  transition: transform var(--duration-slow) var(--easing-standard);
}

.reference-project:hover .reference-project__arrow {
  transform: rotate(45deg);
}

.reference-project:hover .reference-project__title {
  text-decoration-line: underline;
  text-decoration-color: var(--color-accent-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.reference-grid-section__footer {
  margin-top: 56px;

  text-align: center;
}

/* =============================================================
   RESEARCH / INVESTMENT STYLE SECTION
   ============================================================= */

.research-showcase {
  padding: var(--section-space-desktop) 0;

  background: var(--color-surface);
}

.research-showcase__list {
  width: 100%;
  max-width: 1060px;

  margin: 64px auto 0;

  border-top: 1px solid var(--color-border-strong);
}

.research-showcase__item {
  display: grid;

  grid-template-columns:
    150px
    minmax(0, 1fr)
    32px;

  gap: 36px;

  align-items: start;

  padding: 32px 0;

  border-bottom: 1px solid var(--color-border-strong);
}

.research-showcase__meta {
  color: var(--color-text-muted);

  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;

  text-transform: uppercase;
}

.research-showcase__title {
  margin: 0 0 10px;

  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
}

.research-showcase__title a {
  color: inherit;

  text-decoration: none;
}

.research-showcase__summary {
  max-width: 680px;

  color: var(--color-text-secondary);

  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.55;
}

.research-showcase__arrow {
  display: inline-flex;

  font-size: 1.4rem;

  transition: transform var(--duration-slow) var(--easing-standard);
}

.research-showcase__item:hover .research-showcase__arrow {
  transform: rotate(45deg);
}

.research-showcase__item:hover .research-showcase__title a {
  text-decoration-line: underline;
  text-decoration-color: var(--color-accent-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =============================================================
   RECOGNITION / QUOTE STYLE SECTION
   ============================================================= */

.recognition-section {
  padding: var(--section-space-desktop) 0;

  background: var(--color-bg);
}

.recognition-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 20px;

  max-width: 1060px;

  margin: 60px auto 0;
}

@media (min-width: 700px) {
  .recognition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .recognition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.recognition-card {
  display: flex;
  flex-direction: column;

  min-height: 280px;

  padding: 36px;

  border-radius: var(--radius-md);

  background: var(--color-surface);

  color: var(--color-text-primary);
}

.recognition-card__label {
  margin-bottom: 24px;

  color: var(--color-text-muted);

  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.recognition-card__title {
  margin: 0 0 18px;

  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.35;
}

.recognition-card__body {
  margin-bottom: 24px;

  color: var(--color-text-secondary);

  font-size: 0.9rem;
  line-height: 1.65;
}

.recognition-card__footer {
  margin-top: auto;
}

/* =============================================================
   IMPACT NUMBERS
   ============================================================= */

.impact-section {
  padding: var(--section-space-desktop) 0;

  background: var(--color-text-primary);

  color: var(--color-text-inverse);
}

.impact-section .section-eyebrow {
  color: #cfcfcf;
}

.impact-section__title {
  max-width: 750px;

  margin: 0;

  color: var(--color-text-inverse);

  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: -0.025em;
}

.impact-grid {
  display: grid;

  grid-template-columns: 1fr;

  margin-top: 58px;

  border-top: 1px solid var(--color-dark-section-border);
}

@media (min-width: 640px) {
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.impact-stat {
  padding: 30px 26px 30px 0;
}

.impact-stat__value {
  display: block;

  margin-bottom: 12px;

  color: var(--color-text-inverse);

  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;

  letter-spacing: -0.04em;
}

.impact-stat__label {
  display: block;

  max-width: 190px;

  color: var(--color-dark-section-muted);

  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* =============================================================
   BLOG / LATEST POSTS
   ============================================================= */

.posts-section {
  padding: var(--section-space-desktop) 0;

  background: var(--color-bg);
}

.posts-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 64px 32px;

  max-width: 1060px;

  margin: 60px auto 0;
}

@media (min-width: 700px) {
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.post-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
}

.post-card__image {
  display: block;

  overflow: hidden;

  width: 100%;
  aspect-ratio: 4 / 3;

  margin-bottom: 22px;

  border-radius: var(--radius-sm);

  background: var(--color-surface);

  text-decoration: none;
}

.post-card__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform var(--duration-slow) var(--easing-standard);
}

.post-card__image:hover img {
  transform: scale(1.02);
}

.post-card__date {
  order: 1;

  margin-bottom: 9px;

  color: var(--color-text-muted);

  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.post-card__title {
  order: 2;

  margin: 0 0 12px;

  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;

  letter-spacing: -0.015em;
}

.post-card__title a {
  color: var(--color-text-primary);

  text-decoration: none;
}

.post-card__title a:hover {
  text-decoration-line: underline;
  text-decoration-color: var(--color-accent-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.post-card__excerpt {
  order: 3;

  margin-bottom: 18px;

  color: var(--color-text-secondary);

  font-size: 0.9rem;
  line-height: 1.65;
}

.post-card__action {
  order: 4;
}

/* =============================================================
   FOOTER CTA
   ============================================================= */

.footer-cta {
  position: relative;

  overflow: hidden;

  width: var(--page-shell-width);
  max-width: 1600px;

  margin-inline: auto;

  background: var(--color-accent-primary);

  border-radius: var(--radius-md);
}

.footer-cta__inner {
  position: relative;
  z-index: 2;

  max-width: 1060px;

  margin-inline: auto;

  padding: 64px 32px;
}

.footer-cta__content {
  max-width: 650px;
}

.footer-cta__eyebrow {
  display: block;

  margin-bottom: 16px;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.footer-cta__title {
  margin: 0;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;

  letter-spacing: -0.035em;
}

.footer-cta__copy {
  max-width: 550px;

  margin-top: 18px;

  color: var(--color-text-primary);

  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
}

.footer-cta__action {
  margin-top: 28px;
}

/* Decorative circle */

.footer-cta::after {
  content: "";

  position: absolute;

  width: 280px;
  height: 280px;

  right: -65px;
  bottom: -120px;

  border: 40px solid rgba(23, 23, 23, 0.09);
  border-radius: 50%;
}

/* =============================================================
   SHARED EDITORIAL LIST
   Base styling for featured-list.php's default output. Individual
   pages (Projects, Publications, Recent Activity, etc.) override
   these rules to fit their own layout — see each page's own CSS
   block for `.<page>-featured .editorial-item` etc.
   ============================================================= */

.editorial-list {
  display: flex;
  flex-direction: column;
}

.editorial-item {
  display: flex;
  flex-direction: column;

  gap: var(--space-2);

  padding-block: var(--space-5);

  border-bottom: 1px solid var(--color-border);

  color: inherit;

  text-decoration: none;
}

.editorial-item__label {
  color: var(--color-text-muted);

  font: var(--text-label);

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.editorial-item__title {
  color: var(--color-text-primary);

  font: var(--text-h3);
}

.editorial-item__body {
  max-width: var(--reading-width);

  color: var(--color-text-secondary);

  font: var(--text-body);
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1024px) {
  .reference-hero {
    padding-bottom: calc(var(--hero-space-bottom) + 64px);
  }

  .story-section,
  .reference-grid-section,
  .research-showcase,
  .recognition-section,
  .impact-section,
  .posts-section {
    padding-block: var(--section-space-tablet);
  }

  .story-section {
    padding-top: 110px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 782px) {
  .reference-hero {
    padding: 30px 0 64px;
  }

  .reference-hero__grid {
    gap: 36px;
  }

  .reference-hero__visual {
    width: min(72%, 390px);
  }

  .reference-hero__visual::before {
    display: none;
  }

  .reference-hero__content {
    max-width: 100%;
  }

  .reference-hero__title {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.15;
  }

  .reference-hero__copy {
    font-size: 1.125rem;
  }

  .hero-credibility {
    margin-top: 34px;
  }

  .story-section {
    padding: 64px 0;
  }

  .story-section__intro {
    margin-bottom: 40px;

    text-align: left;
  }

  .reference-intro {
    text-align: left;
  }

  .reference-intro__body {
    margin-left: 0;
  }

  .reference-grid-section,
  .research-showcase,
  .recognition-section,
  .impact-section,
  .posts-section {
    padding: 64px 0;
  }

  .reference-grid-section__intro {
    margin-bottom: 40px;
  }

  .reference-project {
    padding: 22px 0;

    border-right: 0 !important;
  }

  .reference-project:nth-child(even) {
    padding-left: 0;
  }

  .research-showcase__list {
    margin-top: 40px;
  }

  .research-showcase__item {
    grid-template-columns: 1fr;

    gap: 12px;

    padding: 26px 0;
  }

  .research-showcase__arrow {
    display: none;
  }

  .recognition-grid,
  .posts-grid {
    margin-top: 40px;
  }

  .recognition-card {
    min-height: auto;

    padding: 28px;
  }

  .impact-grid {
    margin-top: 40px;
  }

  .impact-stat {
    padding: 24px 0;

    border-bottom: 1px solid var(--color-dark-section-border);
  }

  .footer-cta {
    width: 100%;

    border-radius: 0;
  }

  .footer-cta__inner {
    padding: 56px 20px;
  }
}

/* =============================================================
   SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {
  .reference-hero__visual {
    width: 82%;
  }

  .reference-project__inner {
    grid-template-columns:
      44px
      minmax(0, 1fr)
      24px;

    gap: 14px;
  }

  .reference-project__icon {
    width: 42px;
    height: 42px;
  }

  .recognition-card {
    padding: 24px;
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  .arrow-link::after,
  .reference-project__arrow,
  .research-showcase__arrow,
  .post-card__image img {
    transition: none;
  }

  .arrow-link:hover::after,
  .reference-project:hover .reference-project__arrow,
  .research-showcase__item:hover .research-showcase__arrow {
    transform: none;
  }
}
/* =============================================================
   DANISH KHAN HOMEPAGE
   PROFESSIONAL REFERENCE POLISH V2
   Keep this block at the END of components.css
   ============================================================= */

/* =============================================================
   PAGE FOUNDATION
   ============================================================= */

.homepage {
  /* No overflow clipping at this level: every decorative shape that
     bleeds past its box (hero rings, footer-cta circles) already
     clips itself locally, and the My Story section needs an
     unclipped ancestor chain for its sticky portrait to work. */
  background: #ffffff;
}

.homepage .container {
  max-width: 1200px;
}

/* =============================================================
   HERO
   ============================================================= */

.reference-hero {
  position: relative;
  overflow: hidden;

  min-height: 720px;

  padding: 64px 0 160px;

  background: #f8f6f1;
}

.reference-hero__inner {
  position: relative;
  z-index: 2;
}

.reference-hero__grid {
  display: grid;

  grid-template-columns:
    minmax(360px, 41fr)
    minmax(0, 59fr);

  align-items: center;

  gap: clamp(52px, 6vw, 104px);
}

/* Hero portrait */

.reference-hero__visual {
  position: relative;

  width: 100%;
}

.reference-hero__visual::before {
  content: "";

  position: absolute;
  z-index: -1;

  width: 330px;
  height: 330px;

  left: -115px;
  bottom: -78px;

  border: 38px solid #facc15;
  border-radius: 50%;

  opacity: 0.55;

  animation: heroRingPulse 6s ease-in-out infinite alternate;
}

.reference-hero__visual::after {
  content: "";

  position: absolute;
  z-index: -1;

  width: 115px;
  height: 115px;

  right: -35px;
  top: -28px;

  border: 2px dashed #b3b09d;
  border-radius: 50%;

  opacity: 0.7;

  animation: heroRingCounterClockwise 35s linear infinite;
}

@keyframes heroRingPulse {
  from { transform: scale(1); opacity: 0.55; }
  to { transform: scale(1.05); opacity: 0.7; }
}

@keyframes heroRingCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reference-hero__visual::before,
  .reference-hero__visual::after {
    animation: none;
  }
}

.reference-hero__portrait {
  width: 100%;
  max-width: 500px;

  margin: 0;

  overflow: hidden;

  border-radius: 0;

  background: #e8e2d7;

  box-shadow: none;
}

.reference-hero__portrait.media--4x5 {
  aspect-ratio: 1000 / 1190;
}

.reference-hero__portrait img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;
}

.reference-hero__portrait-placeholder {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;

  min-height: 580px;

  background: linear-gradient(145deg, #ede8df, #dcd4c7);

  color: #928b7e;

  font-family: var(--font-sans);
  font-size: 6rem;
  font-weight: 500;

  letter-spacing: -0.06em;
}

/* Hero content */

.reference-hero__content {
  width: 100%;
  max-width: 620px;

  padding-top: 8px;
}

.reference-hero__content > * {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reference-hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.reference-hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.reference-hero__content > *:nth-child(3) { animation-delay: 0.25s; }
.reference-hero__content > *:nth-child(4) { animation-delay: 0.35s; }
.reference-hero__content > *:nth-child(5) { animation-delay: 0.45s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reference-hero__content > * {
    animation: none;
  }
}

.reference-hero__label {
  display: block;

  margin-bottom: 20px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.reference-hero__title {
  max-width: 610px;

  margin: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.08;

  letter-spacing: -1.74px;

  text-wrap: balance;
}

.reference-hero__title em {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
}

/* Each phrase keeps its own line so the name reads as a complete statement. */
.reference-hero__title .reference-hero__line {
  display: block;
}

.reference-hero__copy {
  max-width: 530px;

  margin: 24px 0 0;

  color: #252525;

  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.reference-hero__action {
  margin-top: 32px;
}

/* Hero text CTA */

.reference-hero .arrow-link {
  gap: 11px;

  padding-bottom: 3px;

  border-bottom: 2px solid #171717;

  color: #171717;

  font-size: 16px;
  font-weight: 600;
}

.reference-hero .arrow-link:hover {
  border-color: #facc15;
}

/* =============================================================
   HERO CREDIBILITY
   ============================================================= */

.hero-credibility {
  max-width: 590px;

  margin-top: 58px;

  padding-top: 26px;

  border-top: 1px solid rgba(179, 176, 157, 0.7);
}

.hero-credibility__label {
  display: block;

  margin-bottom: 16px;

  color: #404040;

  font-size: 13px;
  font-weight: 500;
}

.hero-credibility__items {
  display: flex;
  flex-wrap: wrap;

  align-items: center;

  gap: 10px 28px;
}

.hero-credibility__item {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 96px;
  height: 48px;

  padding: 8px 12px;

  border: 1px solid transparent;
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.5);

  text-decoration: none;

  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.hero-credibility__item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 28px;
  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.75;

  transition: filter 0.2s ease, opacity 0.2s ease;
}

.hero-credibility__item:hover img,
.hero-credibility__item:focus-visible img {
  filter: grayscale(0%);
  opacity: 1;
}

.hero-credibility__item--ieee img {
  width: 76px;
}

.hero-credibility__item--springer {
  width: 124px;
}

.hero-credibility__item--springer img {
  width: 103px;
}

.hero-credibility__item--figma,
.hero-credibility__item--udemy {
  width: 112px;
}

.hero-credibility__item--figma img,
.hero-credibility__item--udemy img {
  width: 100px;
  height: auto;
}

.hero-credibility__item:hover,
.hero-credibility__item:focus-visible {
  border-color: rgba(138, 107, 0, 0.42);
  background: #fff;
  transform: translateY(-2px);
}

.hero-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}

.hero-marquee__track {
  display: flex;
  align-items: center;

  gap: 10px 28px;

  width: max-content;

  animation: heroMarquee 26s linear infinite;
}

.hero-marquee:hover .hero-marquee__track,
.hero-marquee:focus-within .hero-marquee__track {
  animation-play-state: paused;
}

@keyframes heroMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee__track {
    animation: none;
  }

  .hero-marquee__clone {
    display: none;
  }
}

/* =============================================================
   MAIN WHITE OVERLAP
   ============================================================= */

.page-shell.page-shell--overlap {
  position: relative;
  z-index: 10;

  width: 93.333333%;
  max-width: 1600px;

  margin: -100px auto 0;

  /* No overflow clipping here: the My Story section inside relies on
     position: sticky for its portrait, and any overflow value other
     than visible on an ancestor disables sticky positioning. */
  border-radius: 12px 12px 0 0;

  background: #ffffff;

  box-shadow: 0 -1px 0 rgba(23, 23, 23, 0.02);
}

/* =============================================================
   SHARED HOMEPAGE HEADINGS
   ============================================================= */

.homepage .section-eyebrow {
  margin-bottom: 20px;

  color: #404040;

  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.045em;

  text-transform: uppercase;
}

.homepage .reference-intro {
  max-width: 920px;
}

.homepage .reference-intro__title,
.homepage .story-section__title {
  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: -1px;

  text-wrap: balance;
}

.homepage .yellow-underline {
  display: inline;

  padding-bottom: 1px;

  border-bottom: 4px solid #facc15;

  line-height: 1.05;
}

/* =============================================================
   STORY
   ============================================================= */

.story-section {
  padding: 148px 0 120px;

  background: #ffffff;
}

.story-section__intro {
  max-width: 850px;

  margin: 0 auto 72px;

  text-align: center;
}

.story-section__grid {
  max-width: 1060px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: center;

  gap: clamp(56px, 8vw, 110px);
}

.story-section__image {
  border-radius: 12px;

  background: #f8f6f1;
}

.story-section__image.media--1x1 {
  aspect-ratio: 1 / 1;
}

.story-section__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.story-section__content {
  max-width: 490px;
}

.story-section__content .eyebrow {
  margin-bottom: 18px;

  color: #737373;

  font-size: 13px;
}

.story-section__content h3 {
  margin: 0 0 24px;

  color: #171717;

  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.22;

  letter-spacing: -0.025em;
}

.story-section__content p {
  margin-bottom: 20px;

  color: #404040;

  font-size: 16px;
  line-height: 1.72;
}

.story-section__content ul {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px 24px;

  margin: 30px 0 0;

  padding: 28px 0 0;

  border-top: 1px solid #e1ded5;

  list-style: none;
}

.story-section__content li {
  position: relative;

  margin: 0;
  padding-left: 17px;

  color: #404040;

  font-size: 14px;
  line-height: 1.5;
}

.story-section__content li::before {
  content: "→";

  position: absolute;

  left: 0;
  top: 0;

  color: #171717;

  font-size: 12px;
}

.story-section__action {
  margin-top: 32px;
}

/* =============================================================
   PROJECTS
   ============================================================= */

.reference-grid-section {
  position: relative;

  padding: 120px 0;

  background: #f8f6f1;
}

.reference-grid-section::before {
  content: "";

  position: absolute;

  width: 100%;
  height: 1px;

  left: 0;
  top: 0;

  background: linear-gradient(
    90deg,
    transparent,
    #d8d4c7 20%,
    #d8d4c7 80%,
    transparent
  );
}

.reference-grid-section__intro {
  max-width: 920px;

  margin-bottom: 70px;
}

.reference-project-grid {
  max-width: 1060px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  border-top: 1px solid #b3b09d;
  border-bottom: 1px solid #b3b09d;
}

.reference-project {
  position: relative;

  min-height: 116px;

  padding: 26px 38px 26px 0;

  border-bottom: 1px solid #b3b09d;

  background: transparent;

  text-decoration: none;

  transition: background-color 240ms ease;
}

.reference-project:nth-child(odd) {
  border-right: 1px solid #b3b09d;
}

.reference-project:nth-child(even) {
  padding-left: 38px;
}

.reference-project:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.reference-project:hover {
  background: rgba(255, 255, 255, 0.45);
}

.reference-project__inner {
  display: grid;

  grid-template-columns:
    54px
    minmax(0, 1fr)
    28px;

  align-items: center;

  gap: 20px;
}

.reference-project__icon {
  width: 48px;
  height: 48px;

  overflow: hidden;

  display: grid;
  place-items: center;

  border-radius: 6px;

  background: #ffffff;

  border: 1px solid rgba(179, 176, 157, 0.45);
}

.reference-project__icon img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.reference-project__initial {
  color: #171717;

  font-size: 17px;
  font-weight: 600;
}

.reference-project__title {
  margin: 0 0 5px;

  color: #171717;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.reference-project__meta {
  display: block;

  max-width: 360px;

  color: #737373;

  font-size: 13px;
  line-height: 1.45;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reference-project__arrow {
  color: #171717;

  font-size: 24px;

  transform: rotate(0deg);

  transition: transform 300ms ease;
}

.reference-project:hover .reference-project__arrow {
  transform: rotate(45deg);
}

.reference-project:hover .reference-project__title {
  text-decoration: none;

  border-bottom: 2px solid #facc15;
}

.reference-grid-section__footer {
  margin-top: 55px;

  text-align: center;
}

/* =============================================================
   RESEARCH
   ============================================================= */

.research-showcase {
  padding: 120px 0;

  background: #ffffff;
}

.research-showcase__list {
  max-width: 1060px;

  margin: 68px auto 0;

  border-top: 1px solid #b3b09d;
}

.research-showcase__item {
  display: grid;

  grid-template-columns:
    165px
    minmax(0, 1fr)
    40px;

  align-items: center;

  gap: 40px;

  padding: 34px 0;

  border-bottom: 1px solid #b3b09d;

  transition: background-color 220ms ease;
}

.research-showcase__item:hover {
  background: linear-gradient(
    90deg,
    transparent,
    #f8f6f1 15%,
    #f8f6f1 85%,
    transparent
  );
}

.research-showcase__meta {
  color: #737373;

  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.research-showcase__title {
  margin: 0 0 10px;

  color: #171717;

  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.research-showcase__title a {
  color: inherit;

  text-decoration: none;
}

.research-showcase__summary {
  max-width: 670px;

  margin: 0;

  color: #404040;

  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

.research-showcase__arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  color: #171717;

  font-size: 22px;

  text-decoration: none;

  transition:
    transform 300ms ease,
    background-color 300ms ease;
}

.research-showcase__item:hover .research-showcase__arrow {
  transform: rotate(45deg);

  background: #facc15;
}

/* =============================================================
   RECOGNITION
   ============================================================= */

.recognition-section {
  position: relative;

  padding: 120px 0;

  background: #f8f6f1;
}

.recognition-section .stat-row {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 0;

  max-width: 1060px;

  margin: 65px auto 0;

  border-top: 1px solid #b3b09d;
  border-bottom: 1px solid #b3b09d;

  text-align: left;
}

.recognition-section .stat {
  position: relative;

  padding: 30px 28px;

  border-right: 1px solid #b3b09d;
}

.recognition-section .stat:first-child {
  padding-left: 0;
}

.recognition-section .stat:last-child {
  border-right: 0;
}

.recognition-section .stat__value {
  display: block;

  margin-bottom: 11px;

  color: #171717;

  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;

  letter-spacing: -0.04em;
}

.recognition-section .stat__label {
  display: block;

  max-width: 190px;

  color: #606060;

  font-size: 13px;
  line-height: 1.5;
}

/* Existing mixed highlights partial */

.recognition-section .editorial-list {
  max-width: 1060px;

  margin: 0 auto;

  border-top: 1px solid #b3b09d;
}

.recognition-section .editorial-item {
  position: relative;

  display: grid;

  grid-template-columns:
    150px
    minmax(0, 1fr);

  gap: 40px;

  padding: 28px 0;

  border-bottom: 1px solid #b3b09d;

  background: transparent;

  border-radius: 0;

  text-decoration: none;
}

.recognition-section .editorial-item:hover {
  background: transparent;
}

.recognition-section .editorial-item__label {
  color: #737373;

  font-size: 12px;
  font-weight: 500;

  letter-spacing: 0.045em;

  text-transform: uppercase;
}

.recognition-section .editorial-item__title {
  color: #171717;

  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

.recognition-section .editorial-item__body {
  max-width: 700px;

  color: #404040;

  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
}

/* =============================================================
   POSTS
   ============================================================= */

.posts-section {
  padding: 120px 0;

  background: #ffffff;
}

.posts-grid {
  max-width: 1060px;

  margin: 68px auto 0;

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 64px 32px;
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card__image {
  overflow: hidden;

  width: 100%;
  aspect-ratio: 4 / 3;

  margin-bottom: 22px;

  border-radius: 0;

  background: #f8f6f1;
}

.post-card__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 350ms ease;
}

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

.post-card__date {
  display: block;

  margin-bottom: 10px;

  color: #737373;

  font-size: 12px;
  font-weight: 500;

  letter-spacing: 0.045em;

  text-transform: uppercase;
}

.post-card__title {
  margin: 0 0 12px;

  color: #171717;

  font-size: 20px;
  font-weight: 500;
  line-height: 1.32;
}

.post-card__excerpt {
  margin-bottom: 18px;

  color: #404040;

  font-size: 14px;
  line-height: 1.65;
}

/* =============================================================
   FINAL CTA
   ============================================================= */

.footer-cta {
  position: relative;

  width: 93.333333%;
  max-width: 1600px;

  margin: 120px auto 0;

  overflow: hidden;

  border-radius: 12px;

  background: #171717;
}

.footer-cta::before {
  content: "";

  position: absolute;

  width: 360px;
  height: 360px;

  right: -95px;
  top: -140px;

  border: 55px solid #facc15;
  border-radius: 50%;

  opacity: 0.95;
}

.footer-cta::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: 160px;
  bottom: -105px;

  border: 2px solid rgba(250, 204, 21, 0.55);
  border-radius: 50%;
}

.footer-cta__inner {
  position: relative;
  z-index: 2;

  max-width: 1060px;

  margin: 0 auto;

  padding: 76px 32px;
}

.footer-cta__content {
  max-width: 690px;
}

.footer-cta__eyebrow {
  margin-bottom: 18px;

  color: #d4d4d4;

  font-size: 13px;
  font-weight: 500;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.footer-cta__title {
  max-width: 700px;

  margin: 0;

  color: #ffffff;

  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.06;

  letter-spacing: -0.04em;

  text-wrap: balance;
}

.footer-cta__copy {
  max-width: 560px;

  margin-top: 22px;

  color: #d4d4d4;

  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-cta__action {
  margin-top: 32px;
}

.footer-cta .btn--dark {
  background: #facc15;
  border-color: #facc15;

  color: #171717;
}

.footer-cta .btn--dark:hover {
  background: #ffffff;
  border-color: #ffffff;

  color: #171717;
}

/* =============================================================
   GLOBAL HOMEPAGE ARROW LINKS
   ============================================================= */

.homepage .arrow-link {
  position: relative;

  gap: 10px;

  color: #171717;

  text-decoration: none;
}

.homepage .arrow-link::after {
  font-size: 18px;

  transition: transform 300ms ease;
}

.homepage .arrow-link:hover::after {
  transform: rotate(45deg);
}

.homepage .arrow-link.arrow-link--right:hover::after {
  transform: translateX(5px);
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1024px) {
  .reference-hero {
    min-height: auto;

    padding: 60px 0 130px;
  }

  .reference-hero__grid {
    grid-template-columns:
      minmax(310px, 44fr)
      minmax(0, 56fr);

    gap: 50px;
  }

  .reference-hero__title {
    font-size: 48px;
  }

  .reference-hero__visual::before {
    width: 260px;
    height: 260px;

    left: -90px;
  }

  .story-section__grid {
    gap: 55px;
  }

  .homepage .reference-intro__title,
  .homepage .story-section__title {
    font-size: 36px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 782px) {
  .reference-hero {
    padding: 24px 0 64px;
  }

  /* minmax(0, …) rather than 1fr: a bare 1fr track can't shrink below its
     content's min-content width, and the logo marquee track is max-content
     wide, which pushed the column to 680px on phones and clipped the hero. */
  .reference-hero__grid {
    grid-template-columns: minmax(0, 1fr);

    gap: 38px;
  }

  .reference-hero__content,
  .hero-credibility {
    min-width: 0;
    max-width: 100%;
  }

  .reference-hero__visual {
    width: 68%;
    min-width: 245px;

    margin: 0;
  }

  .reference-hero__visual::before,
  .reference-hero__visual::after {
    display: none;
  }

  .reference-hero__portrait-placeholder {
    min-height: 360px;

    font-size: 4rem;
  }

  .reference-hero__content {
    max-width: 100%;
  }

  .reference-hero__label {
    margin-bottom: 14px;
  }

  .reference-hero__title {
    max-width: 620px;

    font-size: 38px;
    line-height: 1.15;

    letter-spacing: -0.9px;
  }

  .reference-hero__copy {
    max-width: 100%;

    font-size: 18px;
  }

  .hero-credibility {
    margin-top: 36px;
  }

  .page-shell.page-shell--overlap {
    width: 100%;

    margin-top: 0;

    border-radius: 0;
  }

  /* Shared headings */

  .homepage .reference-intro,
  .story-section__intro {
    text-align: left;
  }

  .homepage .reference-intro__title,
  .homepage .story-section__title {
    font-size: 29px;
    line-height: 1.2;
  }

  /* Story */

  .story-section {
    padding: 68px 0;
  }

  .story-section__intro {
    margin-bottom: 42px;
  }

  .story-section__grid {
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .story-section__image {
    width: 85%;
  }

  .story-section__content {
    max-width: 100%;
  }

  .story-section__content h3 {
    font-size: 27px;
  }

  .story-section__content ul {
    grid-template-columns: 1fr;
  }

  /* Projects */

  .reference-grid-section {
    padding: 68px 0;
  }

  .reference-grid-section__intro {
    margin-bottom: 42px;
  }

  .reference-project-grid {
    grid-template-columns: 1fr;
  }

  .reference-project,
  .reference-project:nth-child(odd),
  .reference-project:nth-child(even) {
    min-height: 100px;

    padding: 22px 0;

    border-right: 0;
    border-bottom: 1px solid #b3b09d;
  }

  .reference-project:last-child {
    border-bottom: 0;
  }

  .reference-project__meta {
    max-width: 230px;
  }

  /* Research */

  .research-showcase {
    padding: 68px 0;
  }

  .research-showcase__list {
    margin-top: 42px;
  }

  .research-showcase__item {
    grid-template-columns: 1fr;

    gap: 12px;

    padding: 26px 0;
  }

  .research-showcase__title {
    font-size: 20px;
  }

  .research-showcase__summary {
    font-size: 16px;
  }

  .research-showcase__arrow {
    display: none;
  }

  /* Recognition */

  .recognition-section {
    padding: 68px 0;
  }

  .recognition-section .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    margin-top: 42px;
  }

  .recognition-section .stat {
    padding: 24px 20px 24px 0;

    border-bottom: 1px solid #b3b09d;
  }

  .recognition-section .stat:nth-child(even) {
    padding-left: 20px;

    border-right: 0;
  }

  .recognition-section .editorial-item {
    grid-template-columns: 1fr;

    gap: 9px;
  }

  /* Posts */

  .posts-section {
    padding: 68px 0;
  }

  .posts-grid {
    grid-template-columns: 1fr;

    gap: 48px;

    margin-top: 42px;
  }

  /* CTA */

  .footer-cta {
    width: 100%;

    margin-top: 68px;

    border-radius: 0;
  }

  .footer-cta__inner {
    padding: 58px 20px;
  }

  .footer-cta::before {
    width: 190px;
    height: 190px;

    right: -90px;
    top: -70px;

    border-width: 30px;
  }

  .footer-cta::after {
    display: none;
  }
}

/* =============================================================
   VERY SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {
  .reference-hero__visual {
    width: 82%;
  }

  .reference-hero__title {
    font-size: 34px;
  }

  .hero-credibility__items {
    gap: 10px 20px;
  }

  .story-section__image {
    width: 100%;
  }

  .recognition-section .stat-row {
    grid-template-columns: 1fr;
  }

  .recognition-section .stat,
  .recognition-section .stat:nth-child(even) {
    padding: 22px 0;

    border-right: 0;
  }
}
/* =============================================================
   MY STORY
   Asymmetric editorial split: sticky portrait + condensed bio
   ============================================================= */

.story-panel {
  padding: var(--section-space-desktop) 0;
  background: #fffefb;
}

.story-panel__grid {
  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);

  gap: clamp(48px, 6vw, 96px);

  align-items: start;
}

/* Portrait --------------------------------------------------- */

.story-panel__visual {
  position: sticky;
  top: 110px;

  order: 2;

  margin: 0;
  padding: 10px;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
}

.story-panel__visual img {
  display: block;

  width: 100%;
  aspect-ratio: 4 / 5;

  border-radius: 13px;

  object-fit: cover;
  object-position: center 20%;
}

.story-panel__visual::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;

  width: 42px;
  height: 4px;

  border-radius: 4px;

  background: var(--color-accent-primary);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.85);
}

/* Content ------------------------------------------------------ */

.story-panel__content {
  order: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-panel__eyebrow {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-bottom: 20px;
}

.story-panel__flags {
  display: flex;
  align-items: center;
}

.story-panel__flag.fi {
  display: inline-block;

  width: 26px;
  height: 26px;

  margin-left: -8px;

  border: 2px solid #fffefb;
  border-radius: 50%;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  box-shadow: 0 1px 4px rgba(23, 23, 23, 0.14);
}

.story-panel__flag.fi:first-child {
  margin-left: 0;
  z-index: 1;
}

.story-panel__label {
  color: var(--color-text-secondary);

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.story-panel__title {
  max-width: 30ch;

  margin: 0 0 24px;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: clamp(28px, 1.4vw + 1.4rem, 40px);
  font-weight: 500;
  line-height: 1.2;

  letter-spacing: -0.02em;

  text-wrap: balance;
}

.story-panel__title .yellow-underline {
  padding-bottom: 1px;

  border-bottom: 4px solid var(--color-accent-primary);
}

.story-panel__text {
  max-width: 56ch;

  margin: 0 0 36px;

  color: var(--color-text-secondary);

  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
}

/* Fact strip ----------------------------------------------------- */

.story-panel__facts {
  display: flex;
  flex-wrap: wrap;

  width: 100%;
  margin: 0 0 32px;
  padding: 0;

  list-style: none;

  border-top: 1px solid var(--color-border-strong);
  border-bottom: 1px solid var(--color-border-strong);
}

.story-panel__fact {
  flex: 1 1 160px;

  margin-right: 24px;
  padding: 18px 24px 18px 0;

  border-right: 1px solid var(--color-border-strong);
}

.story-panel__fact:last-child {
  margin-right: 0;
  padding-right: 0;

  border-right: 0;
}

.story-panel__fact-value {
  display: block;

  margin-bottom: 6px;

  color: var(--color-text-primary);

  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.story-panel__fact-label {
  display: block;

  color: var(--color-text-muted);

  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1024px) {
  .story-panel__grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);

    gap: 48px;
  }

  .story-panel__visual {
    top: 90px;
  }

  .story-panel__title {
    font-size: 32px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 768px) {
  .story-panel {
    padding: var(--section-space-mobile) 0;
  }

  .story-panel__grid {
    grid-template-columns: 1fr;

    gap: 36px;
  }

  /* Below the split layout, stack in reading order (photo, then
     bio) regardless of the desktop left/right swap. */
  .story-panel__visual,
  .story-panel__content {
    order: 0;
  }

  .story-panel__visual {
    position: static;

    max-width: 360px;
    margin: 0 auto;
  }

  .story-panel__title {
    max-width: none;

    font-size: 27px;
  }

  .story-panel__text {
    max-width: none;

    font-size: 16px;
  }

  .story-panel__facts {
    flex-direction: column;
  }

  .story-panel__fact {
    flex: 1 1 auto;

    margin-right: 0;
    padding: 14px 0;

    border-right: 0;
    border-bottom: 1px solid var(--color-border-strong);
  }

  .story-panel__fact:last-child {
    border-bottom: 0;
  }
}

/* =============================================================
   SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {
  .story-panel__title {
    font-size: 24px;
  }

  .story-panel__visual {
    max-width: 280px;
  }
}
/* =============================================================
   MY WRITINGS
   Reference-style article section
   ============================================================= */

.writings-section {
  padding: 120px 0;

  background: #ffffff;
}

/* =============================================================
   INTRO
   ============================================================= */

.writings-section__intro {
  width: 100%;
  max-width: 1000px;

  margin: 0 auto 64px;

  text-align: center;
}

.writings-section__label {
  display: block;

  margin-bottom: 20px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.writings-section__title {
  max-width: 920px;

  margin: 0 auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: -1px;

  text-align: center;
  text-wrap: balance;
}

.writings-section__title .yellow-underline {
  display: inline;

  padding-bottom: 1px;

  border-bottom: 4px solid #facc15;

  line-height: 1.05;
}

/* =============================================================
   ARTICLE GRID
   ============================================================= */

.writings-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 64px 32px;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto;
}

/* =============================================================
   ARTICLE
   ============================================================= */

.writing-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
}

/* Image */

.writing-card__image {
  display: block;

  width: 100%;
  height: 241px;

  margin-bottom: 0;

  overflow: hidden;

  background: #f8f6f1;

  color: inherit;

  text-decoration: none;
}

.writing-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 300ms ease;
}

.writing-card__image:hover img {
  transform: scale(1.02);
}

.writing-card__placeholder {
  display: grid;
  place-items: center;

  width: 100%;
  height: 100%;

  background: linear-gradient(145deg, #f1ede5, #ddd6c9);

  color: #8e877b;

  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 500;
}

/* Content */

.writing-card__content {
  display: flex;
  flex-direction: column;

  padding-top: 24px;
}

/* Date */

.writing-card__date {
  order: 1;

  display: block;

  margin-bottom: 8px;

  color: #525252;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;

  text-transform: uppercase;
}

/* Title */

.writing-card__title {
  order: 2;

  margin: 0 0 12px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;

  letter-spacing: -0.02em;
}

.writing-card__title a {
  color: #171717;

  text-decoration: none;
}

.writing-card__title a:hover {
  color: #171717;

  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* Excerpt */

.writing-card__excerpt {
  order: 3;

  margin: 0 0 18px;

  color: #262626;

  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

/* Read more */

.writing-card__read {
  order: 4;

  display: inline-flex;
  align-items: center;

  align-self: flex-start;

  gap: 10px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;

  text-decoration: none;
}

.writing-card__read span:last-child {
  display: inline-block;

  transition: transform 250ms ease;
}

.writing-card__read:hover span:last-child {
  transform: translateX(5px);
}

/* =============================================================
   SEE ALL ARTICLES
   ============================================================= */

.writings-section__footer {
  padding-top: 74px;

  text-align: center;
}

.writings-all-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 15px 32px;

  border: 1px solid #b3b09d;
  border-radius: 100px;

  background: transparent;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;

  letter-spacing: 0.02em;

  text-decoration: none;
  text-transform: uppercase;

  transition:
    background-color 250ms ease,
    border-color 250ms ease;
}

.writings-all-button:hover {
  border-color: #facc15;

  background: #facc15;

  color: #171717;
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1024px) {
  .writings-section {
    padding: 90px 0;
  }

  .writings-section__title {
    max-width: 800px;

    font-size: 36px;
  }

  .writings-grid {
    gap: 48px 24px;
  }

  .writing-card__image {
    height: 210px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 782px) {
  .writings-section {
    padding: 68px 0;
  }

  .writings-section__intro {
    margin-bottom: 42px;
  }

  .writings-section__title {
    font-size: 29px;
    line-height: 1.2;
  }

  .writings-grid {
    grid-template-columns: 1fr;

    gap: 48px;
  }

  .writing-card__image {
    height: auto;

    aspect-ratio: 4 / 3;
  }

  .writing-card__title {
    font-size: 22px;
  }

  .writing-card__excerpt {
    font-size: 18px;
  }

  .writings-section__footer {
    padding-top: 52px;
  }
}

/* =============================================================
   SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {
  .writings-section__title {
    font-size: 26px;
  }
}
/* =============================================================
   FINAL HOMEPAGE STRUCTURE
   Recent Activity + Open Source Projects
   ============================================================= */

/* =============================================================
   RECENT ACTIVITY
   ============================================================= */

.recent-activity-section {
  padding: 120px 0;

  background: #ffffff;
}

/* Heading */

.recent-activity__intro {
  width: 100%;
  max-width: 1000px;

  margin: 0 auto 64px;

  text-align: center;
}

.recent-activity__label {
  display: block;

  margin-bottom: 20px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.recent-activity__title {
  max-width: 900px;

  margin: 0 auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: -1px;

  text-align: center;
  text-wrap: balance;
}

/* 3 Cards */

.recent-activity-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 64px 32px;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto;
}

.recent-activity-card {
  min-width: 0;
}

/* =============================================================
   ACTIVITY CARD VISUAL
   Same visual rhythm as reference blog cards
   ============================================================= */

.recent-activity-card__visual {
  position: relative;

  display: flex;
  align-items: flex-end;

  width: 100%;
  height: 241px;

  overflow: hidden;

  padding: 24px;

  background-color: #f8f6f1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*
 * Optional cover images.
 *
 * If these files do not exist yet, the gradient fallback
 * below will still display correctly.
 */

.recent-activity-card--recognition .recent-activity-card__visual {
  background-image:
    linear-gradient(145deg, rgba(250, 204, 21, 0.95), rgba(250, 204, 21, 0.45)),
    url("/assets/images/content/recent-recognition.jpg");
}

.recent-activity-card--publication .recent-activity-card__visual {
  background-image:
    linear-gradient(145deg, rgba(23, 23, 23, 0.92), rgba(23, 23, 23, 0.52)),
    url("/assets/images/content/recent-publication.jpg");
}

.recent-activity-card--community .recent-activity-card__visual {
  background-image:
    linear-gradient(
      145deg,
      rgba(232, 226, 215, 0.96),
      rgba(248, 246, 241, 0.65)
    ),
    url("/assets/images/content/recent-community.jpg");
}

/* Visual category */

.recent-activity-card__visual > span {
  display: inline-flex;

  padding: 8px 13px;

  background: #ffffff;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

/* =============================================================
   FEATURED CONTENT INSIDE ACTIVITY CARD
   ============================================================= */

.recent-activity-card__content {
  padding-top: 24px;
}

/*
 * featured-list.php normally renders editorial rows.
 * Inside Recent Activity only, convert that markup into
 * the reference blog-card presentation.
 */

.recent-activity-card .editorial-list {
  display: block;

  margin: 0;

  border: 0;
}

/* Entire activity is the link */

.recent-activity-card .editorial-item {
  display: flex;
  flex-direction: column;

  gap: 0;

  min-height: 225px;

  padding: 0;

  border: 0;

  color: #171717;

  text-decoration: none;
}

/* Type */

.recent-activity-card .editorial-item__label {
  order: 1;

  display: block;

  margin-bottom: 10px;

  color: #525252;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

/* Title */

.recent-activity-card .editorial-item__title {
  order: 2;

  margin: 0 0 12px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;

  letter-spacing: -0.025em;
}

/* Description */

.recent-activity-card .editorial-item__body {
  order: 3;

  max-width: none;

  margin: 0 0 20px;

  color: #262626;

  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
}

/* Blog-style action */

.recent-activity-card .editorial-item::after {
  content: "View activity  →";

  order: 4;

  display: block;

  margin-top: auto;

  padding-top: 8px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;

  transition: transform 250ms ease;
}

.recent-activity-card .editorial-item:hover::after {
  transform: translateX(5px);
}

.recent-activity-card .editorial-item:hover .editorial-item__title {
  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* =============================================================
   OPEN SOURCE PROJECTS
   ============================================================= */

.open-source-section {
  padding: 64px 0;
  background: transparent;
}

/* Heading */

.open-source-section__intro {
  width: 100%;
  max-width: 900px;

  margin: 0 auto 64px;

  text-align: center;
}

.open-source-section__label {
  display: block;

  margin-bottom: 20px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.open-source-section__title {
  max-width: 850px;

  margin: 0 auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: -1px;

  text-wrap: balance;
}

/* Two cards */

.open-source-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 42px;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto;

  /* Stretch both cards to the row's tallest so "View project"
     lines up even when one card's summary runs longer. */
  align-items: stretch;
}

/* Project card */

.open-source-card {
  display: flex;
  flex-direction: column;

  min-width: 0;

  color: #171717;

  text-decoration: none;
}

/* Project image */

.open-source-card__image {
  width: 100%;

  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: #ebe7de;
}

.open-source-card__image picture {
  display: block;
  height: 100%;
}

.open-source-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  transition: transform 350ms ease;
}

.open-source-card:hover .open-source-card__image img {
  transform: scale(1.02);
}

/* Fallback */

.open-source-card__placeholder {
  display: grid;
  place-items: center;

  width: 100%;
  height: 100%;

  background: linear-gradient(145deg, #eee9df, #d8d0c2);

  color: #8d8578;

  font-family: var(--font-sans);
  font-size: 64px;
  font-weight: 500;
}

/* Project content */

.open-source-card__content {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding-top: 25px;
}

.open-source-card__meta {
  display: block;

  margin-bottom: 10px;

  color: #525252;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

.open-source-card__title {
  margin: 0 0 13px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;

  letter-spacing: -0.025em;
}

.open-source-card__summary {
  display: -webkit-box;

  max-width: 480px;

  margin: 0 0 20px;

  overflow: hidden;

  color: #262626;

  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.open-source-card__link {
  display: inline-flex;
  align-items: center;

  align-self: flex-start;

  gap: 10px;

  margin-top: auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
}

.open-source-card__link span {
  transition: transform 250ms ease;
}

.open-source-card:hover .open-source-card__link span {
  transform: translateX(5px);
}

.open-source-card:hover .open-source-card__title {
  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

/* View all */

.open-source-section__footer {
  padding-top: 68px;

  text-align: center;
}

/* =============================================================
   TABLET
   Without this, the grid stays two-up but the card content
   keeps its desktop left/start alignment, so the centred
   heading/summary text and the left-stuck "View project" link
   look mismatched between 768px and 1023px.
   ============================================================= */

@media (max-width: 1023px) {
  .open-source-grid {
    gap: 32px;
  }

  .open-source-card,
  .open-source-card__content {
    align-items: center;
  }

  .open-source-card__summary {
    margin-inline: auto;
  }

  .open-source-card__link {
    align-self: center;
  }
}
/* =============================================================
   RECENT ACTIVITY
   Full-width background + site-aligned inner content
   Reference-inspired layout
   ============================================================= */

/* =============================================================
   SECTION
   Background full browser width
   ============================================================= */

.recent-activity-section {
  position: relative;

  width: 100%;

  margin: 0;

  padding: 118px 0 112px;

  background: #f8f6f1;
}

/*
 * Do not make inner content full width.
 * This uses the normal website .container width.
 */

.recent-activity-container {
  width: 100%;
}

/* =============================================================
   SECTION INTRO
   ============================================================= */

.recent-activity__intro {
  width: 100%;
  max-width: 780px;

  margin: 0 auto 64px;

  text-align: center;
}

/* Small top label */

.recent-activity__label {
  display: block;

  margin: 0 0 22px;

  padding: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.025em;

  text-align: center;
  text-transform: uppercase;
}

/* Main heading */

.recent-activity__title {
  max-width: 780px;

  margin: 0 auto;

  padding: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.13;

  letter-spacing: -1px;

  text-align: center;
  text-wrap: balance;
}

/* Yellow underline */

.recent-activity__title .yellow-underline {
  display: inline;

  padding-bottom: 1px;

  border: 0;
  border-bottom: 3px solid #facc15;

  background: transparent;
}

/* =============================================================
   THREE CARD GRID
   ============================================================= */

.recent-activity-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  column-gap: 32px;
  row-gap: 56px;

  width: 100%;

  margin: 0;
  padding: 0;

  align-items: stretch;
}

/* =============================================================
   INDIVIDUAL CARD
   Reference has no card border or shadow
   Stretched to the row's tallest card (see align-items above) so
   the "Read more" action lines up across cards with different
   amounts of title/summary text — see margin-top: auto below.
   ============================================================= */

.recent-activity-card {
  display: flex;
  flex-direction: column;

  min-width: 0;

  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;

  box-shadow: none;
}

/* =============================================================
   IMAGE
   ============================================================= */

.recent-activity-card__image {
  position: relative;

  display: block;

  width: 100%;

  aspect-ratio: 1.56 / 1;

  margin: 0 0 20px;

  padding: 0;

  overflow: hidden;

  background-color: #e8e4dc;

  border: 0;
  border-radius: 0;
}

.recent-activity-card__image picture {
  display: block;
  height: 100%;
}

.recent-activity-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  border: 0;
  border-radius: 0;

  transition: transform 280ms ease;
}

.recent-activity-card:hover .recent-activity-card__image img {
  transform: scale(1.015);
}

/* =============================================================
   CONTENT WRAPPER
   ============================================================= */

.recent-activity-card__content {
  display: flex;
  flex-direction: column;

  flex: 1;
  width: 100%;

  margin: 0;
  padding: 0;
}

/* =============================================================
   RESET SHARED FEATURED CONTENT STYLES
   featured-list.php adds these wrappers
   ============================================================= */

.recent-activity-card .featured-section {
  display: flex;
  flex-direction: column;

  flex: 1;
  width: 100%;

  margin: 0 !important;
  padding: 0 !important;
}

/*
 * We already have our Recent Activity heading above.
 * Hide any heading coming from featured-list.php.
 */

.recent-activity-card .featured-section .section-heading {
  display: none !important;
}

/* Shared editorial list reset */

.recent-activity-card .editorial-list {
  display: flex;
  flex-direction: column;

  flex: 1;
  width: 100%;

  margin: 0;
  padding: 0;

  border: 0;
}

/* =============================================================
   ACTIVITY LINK
   ============================================================= */

.recent-activity-card .editorial-item {
  position: relative;

  display: flex;
  flex-direction: column;

  flex: 1;
  gap: 0;

  width: 100%;

  margin: 0;
  padding: 0 !important;

  border: 0 !important;

  background: transparent;

  color: #171717;

  text-decoration: none;

  box-shadow: none;
}

/* Remove shared first/last item effects */

.recent-activity-card .editorial-item:first-child,
.recent-activity-card .editorial-item:last-child {
  margin: 0;
  padding: 0 !important;

  border: 0 !important;
}

/* =============================================================
   META / TYPE
   ============================================================= */

.recent-activity-card .editorial-item__label {
  order: 1;

  display: block;

  width: 100%;

  margin: 0 0 13px;

  padding: 0;

  color: #525252;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;

  letter-spacing: 0;

  text-align: left;
  text-transform: uppercase;
}

/* =============================================================
   TITLE
   ============================================================= */

.recent-activity-card .editorial-item__title {
  order: 2;

  width: 100%;

  margin: 0 0 16px;

  padding: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;

  letter-spacing: -0.3px;

  text-align: left;

  transition: text-decoration-color 180ms ease;
}

/* =============================================================
   DESCRIPTION
   ============================================================= */

.recent-activity-card .editorial-item__body {
  order: 3;

  display: -webkit-box;

  width: 100%;
  max-width: none;

  margin: 0 0 21px;

  padding: 0;

  overflow: hidden;

  color: #262626;

  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;

  letter-spacing: 0;

  text-align: left;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* =============================================================
   READ MORE
   ============================================================= */

.recent-activity-card .editorial-item::after {
  content: "Read more  →";

  order: 4;

  display: inline-flex;
  align-items: center;

  align-self: flex-start;

  min-height: 18px;

  margin: 0;

  padding: 0 27px 0 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;

  text-align: left;

  background: radial-gradient(
    circle at calc(100% - 8px) 50%,
    #facc15 0,
    #facc15 8px,
    transparent 8.5px
  );

  transition: transform 180ms ease;
}

/* Remove any old decorative pseudo-element */

.recent-activity-card .editorial-item::before {
  content: none !important;
}

/* =============================================================
   HOVER
   ============================================================= */

.recent-activity-card .editorial-item:hover .editorial-item__title {
  color: #171717;

  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.recent-activity-card .editorial-item:hover::after {
  transform: translateX(3px);
}

/* =============================================================
   LARGE DESKTOP
   ============================================================= */

@media (min-width: 1400px) {
  .recent-activity__intro {
    max-width: 800px;
  }

  .recent-activity__title {
    max-width: 800px;

    font-size: 40px;
  }
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1023px) {
  .recent-activity-section {
    padding: 90px 0;
  }

  .recent-activity__intro {
    max-width: 720px;

    margin-bottom: 52px;
  }

  .recent-activity__title {
    font-size: 34px;
  }

  .recent-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 24px;
    row-gap: 48px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 767px) {
  .recent-activity-section {
    padding: 68px 0;
  }

  .recent-activity__intro {
    max-width: 100%;

    margin-bottom: 42px;
  }

  .recent-activity__label {
    margin-bottom: 18px;
  }

  .recent-activity__title {
    max-width: 100%;

    font-size: 29px;
    line-height: 1.2;

    letter-spacing: -0.6px;
  }

  .recent-activity-grid {
    grid-template-columns: 1fr;

    gap: 48px;
  }

  .recent-activity-card__image {
    aspect-ratio: 1.5 / 1;
  }

  .recent-activity-card .editorial-item__title {
    font-size: 21px;
  }

  .recent-activity-card .editorial-item__body {
    font-size: 17px;
  }
}

/* =============================================================
   SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {
  .recent-activity-section {
    padding: 58px 0;
  }

  .recent-activity__title {
    font-size: 26px;
  }

  .recent-activity-card__image {
    margin-bottom: 18px;
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  .recent-activity-card__image img,
  .recent-activity-card .editorial-item::after {
    transition: none;
  }
}
/* =============================================================
   HOMEPAGE END SPACING
   Open Source -> CTA -> Footer
   ============================================================= */

/* =============================================================
   OPEN SOURCE SECTION
   ============================================================= */

.open-source-section {
  padding-top: 120px;
  padding-bottom: 58px;
  background: transparent;
}

.open-source-section__footer {
  padding-top: 44px;
  text-align: center;
}

/* =============================================================
   CTA POSITIONING
   ============================================================= */

.footer-cta {
  position: relative;
  z-index: 5;

  margin-top: 24px;
  margin-bottom: -64px;
}

.footer-cta__inner {
  position: relative;
  z-index: 2;
}

/* =============================================================
   FOOTER
   Desktop
   ============================================================= */

.site-footer {
  position: relative;

  /*
     * CTA overlaps footer by 64px.
     * Keep enough space above footer content.
     */
  padding-top: 110px;

  /*
     * Generous breathing room at bottom.
     */
  padding-bottom: 96px;
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1023px) {
  .open-source-section {
    padding-top: 90px;
    padding-bottom: 52px;
  }

  .open-source-section__footer {
    padding-top: 40px;
  }

  .footer-cta {
    margin-top: 18px;
    margin-bottom: -52px;
  }

  .site-footer {
    padding-top: 94px;
    padding-bottom: 72px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 767px) {
  .open-source-section {
    padding-top: 68px;
    padding-bottom: 40px;
  }

  .open-source-section__footer {
    padding-top: 34px;
  }

  .footer-cta {
    margin-top: 12px;
    margin-bottom: -36px;
  }

  .site-footer {
    padding-top: 70px;
    padding-bottom: 52px;
  }
}
/* =============================================================
   FINAL CTA + FOOTER SPACING
   No overlap
   ============================================================= */

.footer-cta {
  position: relative;
  z-index: 5;

  margin-top: 24px;

  /* IMPORTANT: no footer overlap */
  margin-bottom: 72px !important;
}

/* CTA itself */

.footer-cta__inner {
  position: relative;
  z-index: 2;
}

/* Footer */

.site-footer {
  position: relative;

  /* no need to compensate for negative overlap anymore */
  padding-top: 64px;

  /* desktop bottom breathing room */
  padding-bottom: 96px;
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1023px) {
  .footer-cta {
    margin-top: 18px;
    margin-bottom: 56px !important;
  }

  .site-footer {
    padding-top: 56px;
    padding-bottom: 72px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 767px) {
  .footer-cta {
    margin-top: 12px;
    margin-bottom: 40px !important;
  }

  .site-footer {
    padding-top: 48px;
    padding-bottom: 52px;
  }
}

/* =============================================================
   SITE FOOTER
   Final reference-style layout
   ============================================================= */

.site-footer {
  position: relative;

  width: 100%;

  margin: 0;

  padding: 88px 0 80px;

  background: #f8f6f1;

  border-top: 1px solid #e4e1d8;

  color: #171717;
}

/* =============================================================
   MAIN CONTAINER
   ============================================================= */

.site-footer .site-footer__container {
  width: 100%;
}

/* =============================================================
   FOUR COLUMN GRID
   ============================================================= */

.site-footer .site-footer__grid {
  display: grid !important;

  grid-template-columns:
    minmax(300px, 1.7fr)
    minmax(130px, 0.7fr)
    minmax(210px, 1fr)
    minmax(110px, 0.55fr) !important;

  column-gap: clamp(40px, 5vw, 76px);
  row-gap: 0;

  align-items: start;

  width: 100%;

  margin: 0;
  padding: 0;
}

/* =============================================================
   INTRO COLUMN
   ============================================================= */

.site-footer .site-footer__intro {
  width: 100%;
  max-width: 430px;

  margin: 0;
  padding: 0;
}

.site-footer .site-footer__brand {
  display: inline-block;

  margin: 0 0 8px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;

  letter-spacing: -0.2px;

  text-decoration: none;
}

.site-footer .site-footer__brand:hover {
  color: #171717;

  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer .site-footer__descriptor {
  margin: 0 0 22px;

  color: #525252;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.site-footer .site-footer__about {
  max-width: 400px;

  margin: 0;

  color: #353535;

  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
}

/* =============================================================
   FOOTER COLUMNS
   ============================================================= */

.site-footer .site-footer__column {
  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;
}

/*
 * Important:
 * Override the global H2 styles used elsewhere on the website.
 */

.site-footer .site-footer__heading {
  margin: 0 0 22px !important;
  padding: 0 !important;

  color: #171717 !important;

  font-family: var(--font-sans) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;

  letter-spacing: -0.15px !important;

  text-transform: none !important;
}

/* =============================================================
   LINK LIST
   ============================================================= */

.site-footer .site-footer__links {
  display: flex !important;
  flex-direction: column;

  gap: 12px;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.site-footer .site-footer__links li {
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.site-footer .site-footer__links li::marker {
  display: none;
  content: "";
}

.site-footer .site-footer__links a {
  display: inline;

  padding: 0;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;

  text-decoration: none;
}

.site-footer .site-footer__links a:hover {
  color: #171717;

  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =============================================================
   SOCIAL AREA
   Only appears when social links exist
   ============================================================= */

.site-footer .site-footer__social {
  margin-top: 28px;
}

.site-footer .site-footer__social-title {
  display: block;

  margin-bottom: 12px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.site-footer .site-footer__social-links {
  display: flex;

  align-items: center;
  flex-wrap: wrap;

  gap: 9px;
}

.site-footer .site-footer__social-links a {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 36px;
  height: 36px;

  padding: 0 9px;

  border: 1px solid #b3b09d;
  border-radius: 100px;

  background: transparent;

  color: #171717;

  text-decoration: none;
}

.site-footer .site-footer__social-links a:hover {
  border-color: #facc15;

  background: #facc15;
}

/* =============================================================
   BOTTOM META
   ============================================================= */

.site-footer .site-footer__meta {
  display: flex !important;

  align-items: center;
  justify-content: space-between;

  gap: 28px;

  width: 100%;

  margin: 68px 0 0 !important;

  padding: 26px 0 0 !important;

  border-top: 1px solid #d8d4c9;

  color: #737373;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer .site-footer__meta-links {
  display: flex;

  align-items: center;

  gap: 22px;
}

.site-footer .site-footer__meta-links a {
  color: #737373;

  text-decoration: none;
}

.site-footer .site-footer__meta-links a:hover {
  color: #171717;
}

/* =============================================================
   CTA RELATIONSHIP
   ============================================================= */

.footer-cta {
  margin-bottom: 0 !important;
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1023px) {
  .site-footer {
    padding: 72px 0 64px;
  }

  .site-footer .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    column-gap: 48px;
    row-gap: 48px;
  }

  .site-footer .site-footer__intro {
    grid-column: 1 / -1;

    max-width: 580px;
  }

  .site-footer .site-footer__about {
    max-width: 560px;
  }

  .site-footer .site-footer__meta {
    margin-top: 56px !important;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 640px) {
  .site-footer {
    padding: 60px 0 48px;
  }

  .site-footer .site-footer__grid {
    grid-template-columns: 1fr !important;

    gap: 38px;
  }

  .site-footer .site-footer__intro {
    grid-column: auto;

    max-width: 100%;
  }

  .site-footer .site-footer__about {
    max-width: 100%;

    font-size: 17px;
  }

  .site-footer .site-footer__heading {
    margin-bottom: 16px !important;

    font-size: 17px !important;
  }

  .site-footer .site-footer__links {
    gap: 10px;
  }

  .site-footer .site-footer__meta {
    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

    margin-top: 46px !important;
  }
}
/* =============================================================
   HOMEPAGE CTA TO FOOTER GAP
   ============================================================= */

.homepage {
  padding-bottom: 72px;
  background: #ffffff;
}

/* CTA itself should not use negative overlap */

.homepage .footer-cta {
  margin-bottom: 0 !important;
}

/* Footer starts normally */

.site-footer {
  margin-top: 0 !important;
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1023px) {
  .homepage {
    padding-bottom: 56px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 767px) {
  .homepage {
    padding-bottom: 40px;
  }
}
/* =============================================================
   ABOUT PAGE
   Complete final styling
   ============================================================= */

.about-page {
  width: 100%;
  overflow: hidden;

  background: #ffffff;
  color: #171717;
}

/* =============================================================
   1. ABOUT HERO
   Full-width cream background
   ============================================================= */

.about-hero {
  position: relative;

  width: 100%;

  margin: 0;
  padding: 58px 0 0;

  overflow: visible;

  background: #f8f6f1;
}

/* =============================================================
   HERO GRID
   ============================================================= */

.about-hero__grid {
  display: grid;

  grid-template-columns:
    minmax(360px, 435px)
    minmax(0, 610px);

  justify-content: space-between;
  align-items: start;

  gap: clamp(60px, 7vw, 105px);

  width: 100%;
}

/* =============================================================
   HERO IMAGE
   ============================================================= */

.about-hero__visual {
  position: relative;

  z-index: 3;

  width: 100%;
}

.about-hero__image {
  position: relative;

  display: block;

  width: 100%;
  max-width: 435px;

  aspect-ratio: 0.78 / 1;

  margin: 0 0 -80px;

  padding: 0;

  overflow: hidden;

  background: #e8e3da;

  border: 4px solid #ffffff;

  box-shadow: none;
}

.about-hero__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;
}

/* Remove old decorative hero ring if previous CSS exists */

.about-hero__image::before,
.about-hero__image::after {
  content: none !important;
}

/* =============================================================
   HERO CONTENT
   ============================================================= */

.about-hero__content {
  width: 100%;
  max-width: 610px;

  margin: 0;
  padding: 0;
}

/* ABOUT */

.about-hero__eyebrow,
.about-eyebrow {
  display: block;

  margin: 0 0 12px;

  padding: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.02em;

  text-transform: uppercase;
}

/* Danish Khan */

.about-hero__title {
  margin: 0 0 22px;

  padding: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 500;
  line-height: 1.05;

  letter-spacing: -1.6px;
}

/* Intro paragraph */

.about-hero__intro {
  width: 100%;
  max-width: 600px;

  margin: 0 0 45px;

  padding: 0;

  color: #262626;

  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.62;
}

/* =============================================================
   HERO SECTION NAVIGATION
   ============================================================= */

.about-hero__nav,
.about-anchor-nav {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 20px;

  width: 100%;

  margin: 0;
  padding: 0;
}

.about-hero__nav a,
.about-anchor-nav a {
  display: inline-flex;

  align-items: center;

  min-height: 40px;

  gap: 11px;

  margin: 0;
  padding: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;

  text-decoration: none;
}

/* Yellow circular arrow */

.about-hero__nav-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 19px;
  height: 19px;

  flex: 0 0 19px;

  border-radius: 50%;

  background: #facc15;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;

  transition: transform 200ms ease;
}

/*
 * Support old SVG anchor markup too
 */

.about-anchor-nav svg {
  width: 19px;
  height: 19px;

  flex: 0 0 19px;

  padding: 4px;

  border-radius: 50%;

  background: #facc15;

  transition: transform 200ms ease;
}

.about-hero__nav a:hover .about-hero__nav-icon,
.about-anchor-nav a:hover svg {
  transform: translateX(4px);
}

.about-hero__nav a:hover > span:first-child,
.about-anchor-nav a:hover > span:first-child {
  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =============================================================
   WHITE CONTENT AREA
   ============================================================= */

.about-page__content {
  position: relative;

  z-index: 1;

  width: 100%;

  margin: 0;

  background: #ffffff;
}

/*
 * Compatibility if old page-shell class remains temporarily
 */

.about-page__shell {
  position: relative;

  z-index: 1;

  width: 100% !important;

  max-width: none !important;

  margin: 0 !important;

  border-radius: 0 !important;

  background: #ffffff;
}

/* =============================================================
   GENERIC ABOUT STORY SECTION
   ============================================================= */

.about-story-section {
  width: 100%;

  padding: 118px 0;

  scroll-margin-top: 100px;

  background: #ffffff;
}

/*
 * First section has additional space because
 * portrait enters the white content area.
 */

.about-story-section--first,
#early-journey.about-story-section {
  padding-top: 142px;
}

/* =============================================================
   SECTION INTRO
   ============================================================= */

.about-section-intro {
  width: 100%;
  max-width: 890px;

  margin: 0 auto 62px;

  text-align: center;
}

.about-section-kicker {
  display: block;

  margin: 0 0 25px;

  padding: 0;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.025em;

  text-align: center;
  text-transform: uppercase;
}

.about-section-title {
  max-width: 880px;

  margin: 0 auto;

  padding: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;

  letter-spacing: -1px;

  text-align: center;
  text-wrap: balance;
}

/* Yellow underline */

.about-section-title .yellow-underline {
  display: inline;

  padding-bottom: 1px;

  border: 0;
  border-bottom: 4px solid #facc15;

  background: transparent;
}

/* =============================================================
   EDITORIAL BODY TEXT
   ============================================================= */

.about-reading {
  width: 100%;
  max-width: 750px;
}

.about-reading--center {
  margin: 0 auto 66px;
}

.about-reading p {
  margin: 0 0 24px;

  padding: 0;

  color: #292929;

  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.72;
}

.about-reading p:last-child {
  margin-bottom: 0;
}

/* =============================================================
   2. EARLY JOURNEY
   ============================================================= */

.about-early-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: clamp(58px, 7vw, 105px);

  align-items: start;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto;
}

/* =============================================================
   EARLY JOURNEY IMAGES
   ============================================================= */

.about-dual-images {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.78fr);

  gap: 18px;

  align-items: start;

  width: 100%;
}

.about-image {
  display: block;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background: #ebe7de;
}

.about-image--wide {
  aspect-ratio: 0.82 / 1;
}

.about-image--portrait {
  aspect-ratio: 0.72 / 1;

  margin-top: 72px;
}

.about-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =============================================================
   SECTION SEPARATOR
   ============================================================= */

.about-separator {
  position: relative;

  width: min(1005px, calc(100% - 48px));
  height: 54px;

  margin: 0 auto;

  overflow: hidden;
}

.about-separator::before {
  content: "";

  position: absolute;

  top: 26px;
  left: 0;

  width: 100%;
  height: 1px;

  background: #ddd9cf;
}

.about-separator span {
  position: absolute;

  top: 15px;
  left: 50%;

  width: 22px;
  height: 22px;

  transform: translateX(-50%) rotate(45deg);

  border: 1px solid #b3b09d;

  background: #ffffff;
}

.about-separator span::after {
  content: "";

  position: absolute;

  top: 5px;
  left: 5px;

  width: 10px;
  height: 10px;

  background: #facc15;
}

/* =============================================================
   3. PROFESSIONAL JOURNEY
   ============================================================= */

.about-chapters {
  width: 100%;
  max-width: 1005px;

  margin: 0 auto 68px;

  border-top: 1px solid #d8d4c9;
}

.about-chapter {
  display: grid;

  grid-template-columns:
    140px
    minmax(0, 1fr);

  gap: 36px;

  align-items: start;

  padding: 27px 0;

  border-bottom: 1px solid #d8d4c9;
}

.about-chapter__year {
  display: block;

  color: #737373;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;

  letter-spacing: 0.035em;

  text-transform: uppercase;
}

.about-chapter h3 {
  margin: 0 0 7px;

  padding: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;

  letter-spacing: -0.2px;
}

.about-chapter p {
  max-width: 650px;

  margin: 0;

  color: #525252;

  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.58;
}

/* =============================================================
   PROFESSIONAL WIDE IMAGE
   ============================================================= */

.about-wide-image {
  display: block;

  width: 100%;
  max-width: 1005px;

  aspect-ratio: 16 / 7;

  margin: 0 auto;

  overflow: hidden;

  background: #ebe7de;
}

.about-wide-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =============================================================
   4. ACCESSIBILITY & RESEARCH
   ============================================================= */

.about-research-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.06fr)
    minmax(0, 0.94fr);

  gap: clamp(58px, 7vw, 105px);

  align-items: start;

  width: 100%;
  max-width: 1080px;

  margin: 0 auto;
}

/* =============================================================
   RESEARCH COLLAGE
   ============================================================= */

.about-collage {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  grid-template-rows: repeat(3, 180px);

  gap: 14px;

  width: 100%;
}

.about-collage__item {
  display: block;

  margin: 0;

  overflow: hidden;

  background: #ebe7de;
}

.about-collage__item--large {
  grid-row: span 2;
}

.about-collage__item--wide {
  grid-column: 1 / -1;
}

.about-collage__item img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =============================================================
   INLINE LINKS
   ============================================================= */

.about-inline-links {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 13px;

  margin-top: 34px;
}

.about-inline-links a {
  display: inline-flex;

  align-items: center;

  min-height: 40px;

  gap: 10px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;

  text-decoration: none;
}

.about-inline-links a span {
  transition: transform 200ms ease;
}

.about-inline-links a:hover span {
  transform: translateX(4px);
}

.about-inline-links a:hover {
  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =============================================================
   5. COMMUNITY & IMPACT
   ============================================================= */

.about-impact-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(0, 1.18fr);

  gap: clamp(58px, 7vw, 105px);

  align-items: center;

  width: 100%;
  max-width: 1080px;

  margin: 0 auto;
}

/* =============================================================
   IMPACT LIST
   ============================================================= */

.about-impact-list {
  width: 100%;

  border-top: 1px solid #d8d4c9;
}

.about-impact-item {
  padding: 23px 0;

  border-bottom: 1px solid #d8d4c9;
}

.about-impact-item strong {
  display: block;

  margin: 0 0 7px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.28;
}

.about-impact-item span {
  display: block;

  max-width: 365px;

  color: #525252;

  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.58;
}

/* =============================================================
   COMMUNITY COLLAGE
   ============================================================= */

.about-community-collage {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 14px;

  width: 100%;
}

.about-community-collage figure {
  display: block;

  aspect-ratio: 1 / 1;

  margin: 0;

  overflow: hidden;

  background: #ebe7de;
}

.about-community-collage figure:nth-child(2),
.about-community-collage figure:nth-child(3) {
  transform: translateY(34px);
}

.about-community-collage img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =============================================================
   6. CLOSING NOTE
   ============================================================= */

.about-closing {
  width: 100%;

  padding: 118px 0 128px;

  background: #ffffff;
}

.about-closing__content {
  width: 100%;
  max-width: 750px;

  margin: 0 auto;

  text-align: center;
}

.about-closing__content .about-section-kicker {
  margin-bottom: 24px;
}

.about-closing__content h2 {
  max-width: 720px;

  margin: 0 auto 30px;

  padding: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.14;

  letter-spacing: -1px;
}

.about-closing__content p {
  margin: 0 0 22px;

  color: #353535;

  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.7;
}

.about-closing__content p:last-of-type {
  margin-bottom: 0;
}

/* =============================================================
   CLOSING ACTIONS
   ============================================================= */

.about-closing__actions {
  display: flex;

  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 28px;

  margin-top: 42px;
}

/* =============================================================
   DESKTOP LARGE
   ============================================================= */

@media (min-width: 1280px) {
  .about-hero__grid {
    grid-template-columns:
      435px
      610px;
  }

  .about-section-title,
  .about-closing__content h2 {
    font-size: 40px;
  }
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1023px) {
  .about-hero {
    padding-top: 48px;
  }

  .about-hero__grid {
    grid-template-columns:
      minmax(300px, 0.9fr)
      minmax(0, 1.1fr);

    gap: 48px;
  }

  .about-hero__image {
    margin-bottom: -58px;
  }

  .about-hero__title {
    font-size: 46px;
  }

  .about-hero__intro {
    margin-bottom: 36px;

    font-size: 18px;
  }

  .about-story-section {
    padding: 92px 0;
  }

  .about-story-section--first,
  #early-journey.about-story-section {
    padding-top: 118px;
  }

  .about-section-intro {
    margin-bottom: 52px;
  }

  .about-section-title {
    font-size: 35px;
  }

  .about-early-layout,
  .about-research-layout,
  .about-impact-layout {
    gap: 48px;
  }

  .about-collage {
    grid-template-rows: repeat(3, 150px);
  }

  .about-closing {
    padding: 92px 0 100px;
  }

  .about-closing__content h2 {
    font-size: 35px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 767px) {
  .about-page {
    overflow: hidden;
  }

  /* Hero */

  .about-hero {
    padding: 36px 0 0;
  }

  .about-hero__grid {
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .about-hero__visual {
    order: 1;
  }

  .about-hero__content {
    order: 2;

    max-width: 100%;

    padding-bottom: 58px;
  }

  .about-hero__image {
    width: 82%;
    max-width: 430px;

    aspect-ratio: 0.78 / 1;

    margin: 0 auto;

    border-width: 3px;
  }

  .about-hero__eyebrow,
  .about-eyebrow {
    margin-bottom: 10px;

    font-size: 12px;
  }

  .about-hero__title {
    margin-bottom: 18px;

    font-size: 43px;
    line-height: 1.05;

    letter-spacing: -1.2px;
  }

  .about-hero__intro {
    max-width: 100%;

    margin-bottom: 32px;

    font-size: 18px;
    line-height: 1.58;
  }

  .about-hero__nav,
  .about-anchor-nav {
    gap: 17px;
  }

  /* Story */

  .about-story-section {
    padding: 70px 0;
  }

  .about-story-section--first,
  #early-journey.about-story-section {
    padding-top: 72px;
  }

  .about-section-intro {
    max-width: 100%;

    margin-bottom: 42px;
  }

  .about-section-kicker {
    margin-bottom: 21px;

    font-size: 12px;
  }

  .about-section-title {
    max-width: 100%;

    font-size: 29px;
    line-height: 1.2;

    letter-spacing: -0.6px;
  }

  .about-section-title .yellow-underline {
    border-bottom-width: 3px;
  }

  /* Copy */

  .about-reading {
    max-width: 100%;
  }

  .about-reading p {
    font-size: 18px;
    line-height: 1.68;
  }

  /* Early journey */

  .about-early-layout {
    grid-template-columns: 1fr;

    gap: 44px;
  }

  .about-dual-images {
    max-width: 560px;

    margin: 0 auto;
  }

  /* Separator */

  .about-separator {
    width: calc(100% - 32px);

    height: 46px;
  }

  .about-separator::before {
    top: 22px;
  }

  .about-separator span {
    top: 11px;
  }

  /* Professional journey */

  .about-chapters {
    margin-bottom: 48px;
  }

  .about-chapter {
    grid-template-columns: 1fr;

    gap: 9px;

    padding: 21px 0;
  }

  .about-wide-image {
    aspect-ratio: 4 / 3;
  }

  /* Research */

  .about-research-layout {
    grid-template-columns: 1fr;

    gap: 44px;
  }

  .about-collage {
    grid-template-rows: repeat(3, 160px);
  }

  /* Community */

  .about-impact-layout {
    grid-template-columns: 1fr;

    gap: 48px;
  }

  .about-impact-item span {
    max-width: 100%;
  }

  .about-community-collage figure:nth-child(2),
  .about-community-collage figure:nth-child(3) {
    transform: none;
  }

  /* Closing */

  .about-closing {
    padding: 76px 0 86px;
  }

  .about-closing__content {
    max-width: 100%;
  }

  .about-closing__content h2 {
    font-size: 29px;
    line-height: 1.2;
  }

  .about-closing__content p {
    font-size: 18px;
  }

  .about-closing__actions {
    gap: 22px;

    margin-top: 34px;
  }
}

/* =============================================================
   SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {
  .about-hero__image {
    width: 92%;
  }

  .about-hero__title {
    font-size: 39px;
  }

  .about-section-title,
  .about-closing__content h2 {
    font-size: 27px;
  }

  .about-dual-images {
    gap: 10px;
  }

  .about-image--portrait {
    margin-top: 40px;
  }

  .about-collage {
    gap: 9px;

    grid-template-rows: repeat(3, 125px);
  }

  .about-community-collage {
    gap: 9px;
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  .about-hero__nav-icon,
  .about-anchor-nav svg,
  .about-inline-links a span {
    transition: none;
  }
}
/* =============================================================
   SINGLE EDITORIAL IMAGES — HOME & ABOUT
   ============================================================= */

.about-single-image {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #dcd8ce;
  border-radius: 18px;
  background: #f1efe8;
  box-shadow: 0 18px 50px rgba(31, 34, 29, 0.075);
}

.story-single-visual {
  position: relative;
  align-self: start;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 520px;
  min-height: 260px;
  max-height: clamp(280px, 52vh, 480px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.14);
  transform: rotate(-1.4deg);
}

.about-single-image {
  max-width: 500px;
  aspect-ratio: 4 / 5;
}

.about-single-image::after,
.about-wide-image::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: #facc15;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.82);
}

.about-single-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
  object-position: center;
}

.story-single-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-single-image--research {
  aspect-ratio: 4 / 5;
}

.about-single-image--community {
  justify-self: end;
}

.about-wide-image {
  position: relative;
  padding: 10px;
  border: 1px solid #dcd8ce;
  border-radius: 18px;
  background: #f1efe8;
  box-shadow: 0 18px 50px rgba(31, 34, 29, 0.065);
}

.about-wide-image img {
  border-radius: 11px;
}

@media (max-width: 1023px) {
  .story-single-visual,
  .about-single-image {
    max-width: 460px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .story-single-visual,
  .about-single-image {
    width: min(100%, 520px);
    aspect-ratio: 4 / 3;
    padding: 7px;
    border-radius: 13px;
    box-shadow: 0 12px 32px rgba(31, 34, 29, 0.06);
  }

  .about-early-layout > .about-single-image,
  .about-impact-layout > .about-single-image {
    order: -1;
  }

  .story-single-visual img,
  .about-single-image img,
  .about-wide-image img {
    border-radius: 8px;
  }

  .story-single-visual::after,
  .about-single-image::after,
  .about-wide-image::after {
    right: 17px;
    bottom: 17px;
    width: 34px;
    height: 3px;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.82);
  }

  .about-wide-image {
    padding: 7px;
    border-radius: 13px;
  }
}

/* =============================================================
   PROJECTS PAGE
   Editorial portfolio design
   ============================================================= */

.projects-page {
  width: 100%;

  overflow: hidden;

  background: #ffffff;

  color: #171717;
}

/* =============================================================
   1. PROJECTS HERO
   ============================================================= */

.projects-hero {
  position: relative;

  width: 100%;

  padding: 94px 0 112px;

  background: #f8f6f1;
}

/* Hero grid */

.projects-hero__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: clamp(72px, 9vw, 130px);

  align-items: start;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto;
}

/* =============================================================
   HERO LEFT
   ============================================================= */

.projects-hero__heading {
  width: 100%;
}

.projects-eyebrow {
  display: block;

  margin: 0 0 16px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

.projects-hero__title {
  max-width: 480px;

  margin: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 58px;
  font-weight: 500;
  line-height: 1.03;

  letter-spacing: -2px;
}

/* =============================================================
   HERO RIGHT
   ============================================================= */

.projects-hero__content {
  width: 100%;
  max-width: 570px;

  padding-top: 28px;
}

.projects-hero__intro {
  margin: 0 0 42px;

  color: #292929;

  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.65;
}

/* Hero links */

.projects-hero__links {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 18px;
}

.projects-hero__links a {
  display: inline-flex;

  align-items: center;

  gap: 11px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;

  text-decoration: none;
}

.projects-circle-arrow {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 19px;
  height: 19px;

  flex: 0 0 19px;

  border-radius: 50%;

  background: #facc15;

  color: #171717;

  font-size: 11px;
  font-weight: 600;
  line-height: 1;

  transition: transform 200ms ease;
}

.projects-hero__links a:hover .projects-circle-arrow {
  transform: translateX(4px);
}

.projects-hero__links a:hover span:first-child {
  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =============================================================
   MAIN CONTENT
   ============================================================= */

.projects-page__content {
  position: relative;

  width: 100%;

  background: #ffffff;
}

/* =============================================================
   SHARED SECTION INTRO
   ============================================================= */

.projects-section-intro {
  width: 100%;
  max-width: 890px;

  margin: 0 auto 64px;

  text-align: center;
}

.projects-section-kicker {
  display: block;

  margin: 0 0 24px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.03em;

  text-align: center;

  text-transform: uppercase;
}

.projects-section-kicker--left {
  margin-bottom: 14px;

  text-align: left;
}

.projects-section-title {
  max-width: 870px;

  margin: 0 auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.14;

  letter-spacing: -1px;

  text-align: center;

  text-wrap: balance;
}

.projects-section-title .yellow-underline {
  display: inline;

  padding-bottom: 1px;

  border: 0;
  border-bottom: 4px solid #facc15;
}

/* =============================================================
   2. FEATURED PROJECTS
   ============================================================= */

.projects-featured {
  width: 100%;

  padding: 118px 0 110px;

  background: #ffffff;
}

/*
 * Remove spacing inherited from shared featured partial.
 */

.projects-featured .featured-section {
  width: 100%;

  margin: 0 !important;
  padding: 0 !important;
}

.projects-featured .featured-section .section-heading {
  display: none !important;
}

.projects-featured__list {
  width: 100%;
  max-width: 1005px;

  margin: 0 auto;
}

/* Shared editorial list becomes clean rows */

.projects-featured .editorial-list {
  width: 100%;

  margin: 0;
  padding: 0;

  border-top: 1px solid #d8d4c9;
}

.projects-featured .editorial-item {
  position: relative;

  display: grid;

  grid-template-columns:
    170px
    minmax(0, 1fr)
    24px;

  gap: 32px;

  align-items: center;

  width: 100%;

  margin: 0;

  padding: 28px 0 !important;

  border: 0 !important;
  border-bottom: 1px solid #d8d4c9 !important;

  background: transparent;

  color: #171717;

  text-decoration: none;
}

/* Meta */

.projects-featured .editorial-item__label {
  margin: 0;

  color: #737373;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

/* Title */

.projects-featured .editorial-item__title {
  margin: 0 0 7px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

/* Description */

.projects-featured .editorial-item__body {
  max-width: 650px;

  margin: 0;

  color: #525252;

  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
}

/* Arrow */

.projects-featured .editorial-item::after {
  content: "→";

  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  padding: 0;

  border-radius: 50%;

  background: #facc15;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;

  transition: transform 200ms ease;
}

.projects-featured .editorial-item::before {
  content: none !important;
}

.projects-featured .editorial-item:hover::after {
  transform: translateX(4px);
}

/* =============================================================
   SEPARATOR
   ============================================================= */

.projects-separator {
  position: relative;

  width: min(1005px, calc(100% - 48px));
  height: 54px;

  margin: 0 auto;

  overflow: hidden;
}

.projects-separator::before {
  content: "";

  position: absolute;

  top: 26px;
  left: 0;

  width: 100%;
  height: 1px;

  background: #ddd9cf;
}

.projects-separator span {
  position: absolute;

  top: 15px;
  left: 50%;

  width: 22px;
  height: 22px;

  transform: translateX(-50%) rotate(45deg);

  border: 1px solid #b3b09d;

  background: #ffffff;
}

.projects-separator span::after {
  content: "";

  position: absolute;

  top: 5px;
  left: 5px;

  width: 10px;
  height: 10px;

  background: #facc15;
}

/* =============================================================
   3. PROJECT LIBRARY
   ============================================================= */

.projects-library {
  width: 100%;

  padding: 108px 0 122px;

  background: #ffffff;
}

/* =============================================================
   PROJECT LIBRARY HEADER
   ============================================================= */

.projects-library__header {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 40px;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto 44px;
}

.projects-library__title {
  margin: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.1;

  letter-spacing: -1px;
}

.projects-library__count {
  padding-bottom: 5px;

  color: #737373;

  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
}

/* =============================================================
   FILTER
   No bulky pills
   ============================================================= */

.projects-filter {
  display: flex;

  align-items: center;
  flex-wrap: wrap;

  gap: 12px 28px;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto 58px;

  padding: 18px 0;

  border-top: 1px solid #d8d4c9;
  border-bottom: 1px solid #d8d4c9;
}

.projects-filter__link {
  position: relative;

  display: inline-block;

  padding: 4px 0;

  color: #525252;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;

  text-decoration: none;
}

.projects-filter__link:hover {
  color: #171717;
}

.projects-filter__link[aria-current="page"] {
  color: #171717;
}

.projects-filter__link[aria-current="page"]::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  height: 3px;

  background: #facc15;
}

/* =============================================================
   PROJECT GRID
   ============================================================= */

.projects-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 64px 32px;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto;
}

/* =============================================================
   PROJECT CARD
   No white box, no border, no shadow
   ============================================================= */

.project-card {
  min-width: 0;

  margin: 0;
  padding: 0;

  background: transparent;

  border: 0;
  border-radius: 0;

  box-shadow: none;
}

.project-card__link {
  display: flex;
  flex-direction: column;

  height: 100%;

  color: #171717;

  text-decoration: none;
}

/* =============================================================
   PROJECT IMAGE
   ============================================================= */

.project-card__image {
  position: relative;

  width: 100%;

  aspect-ratio: 4 / 3;

  margin: 0 0 22px;

  overflow: hidden;

  background: #ebe7de;
}

.project-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 320ms ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.02);
}

/* =============================================================
   IMAGE PLACEHOLDER
   ============================================================= */

.project-card__placeholder {
  display: grid;

  place-items: center;

  width: 100%;
  height: 100%;

  background: linear-gradient(145deg, #eee9df, #ddd6ca);

  color: #938b7e;
}

.project-card__placeholder span {
  font-family: var(--font-sans);
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
}

/* =============================================================
   PROJECT CONTENT
   ============================================================= */

.project-card__content {
  display: flex;
  flex-direction: column;

  flex: 1;

  width: 100%;
}

/* Meta */

.project-card__meta {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin: 0 0 12px;

  color: #686868;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;

  letter-spacing: 0.02em;

  text-transform: uppercase;
}

/* Title */

.project-card__title {
  margin: 0 0 14px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;

  letter-spacing: -0.35px;
}

/* Summary */

.project-card__summary {
  display: -webkit-box;

  margin: 0 0 22px;

  overflow: hidden;

  color: #353535;

  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* =============================================================
   VIEW PROJECT
   ============================================================= */

.project-card__action {
  display: inline-flex;

  align-items: center;

  align-self: flex-start;

  gap: 9px;

  margin-top: auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.project-card__action-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  background: #facc15;

  color: #171717;

  font-size: 10px;
  line-height: 1;

  transition: transform 200ms ease;
}

.project-card:hover .project-card__action-icon {
  transform: translateX(4px);
}

.project-card:hover .project-card__title {
  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* =============================================================
   EMPTY STATE
   ============================================================= */

.projects-empty {
  width: 100%;
  max-width: 650px;

  margin: 40px auto 0;

  padding: 80px 0;

  text-align: center;
}

.projects-empty__label {
  display: block;

  margin-bottom: 18px;

  color: #737373;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;

  text-transform: uppercase;
}

.projects-empty h2 {
  margin: 0 0 28px;

  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

/* =============================================================
   4. CLOSING SECTION
   ============================================================= */

.projects-closing {
  width: 100%;

  padding: 110px 0 122px;

  background: #f8f6f1;
}

.projects-closing__inner {
  width: 100%;
  max-width: 760px;

  margin: 0 auto;

  text-align: center;
}

.projects-closing__inner h2 {
  max-width: 720px;

  margin: 0 auto 28px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.14;

  letter-spacing: -1px;

  text-wrap: balance;
}

.projects-closing__inner p {
  max-width: 680px;

  margin: 0 auto;

  color: #353535;

  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.68;
}

.projects-closing__actions {
  display: flex;

  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 28px;

  margin-top: 38px;
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1023px) {
  .projects-hero {
    padding: 72px 0 88px;
  }

  .projects-hero__grid {
    gap: 48px;
  }

  .projects-hero__title {
    font-size: 48px;
  }

  .projects-featured {
    padding: 92px 0;
  }

  .projects-section-title {
    font-size: 35px;
  }

  .projects-library {
    padding: 88px 0 96px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 52px 26px;
  }

  .projects-featured .editorial-item {
    grid-template-columns:
      130px
      minmax(0, 1fr)
      22px;

    gap: 24px;
  }

  .projects-closing {
    padding: 90px 0;
  }

  .projects-closing__inner h2 {
    font-size: 35px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 767px) {
  .projects-hero {
    padding: 54px 0 66px;
  }

  .projects-hero__grid {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .projects-hero__content {
    max-width: 100%;

    padding-top: 0;
  }

  .projects-hero__title {
    font-size: 43px;

    letter-spacing: -1.3px;
  }

  .projects-hero__intro {
    margin-bottom: 30px;

    font-size: 18px;
  }

  /* Featured */

  .projects-featured {
    padding: 70px 0;
  }

  .projects-section-intro {
    margin-bottom: 42px;
  }

  .projects-section-title {
    font-size: 29px;
    line-height: 1.2;
  }

  .projects-featured .editorial-item {
    grid-template-columns:
      1fr
      20px;

    gap: 8px 18px;

    padding: 23px 0 !important;
  }

  .projects-featured .editorial-item__label {
    grid-column: 1 / -1;
  }

  /* Library */

  .projects-library {
    padding: 72px 0 78px;
  }

  .projects-library__header {
    align-items: flex-start;

    margin-bottom: 32px;
  }

  .projects-library__title {
    font-size: 31px;
  }

  .projects-library__count {
    display: none;
  }

  .projects-filter {
    gap: 11px 20px;

    margin-bottom: 42px;
  }

  .projects-grid {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .project-card__image {
    aspect-ratio: 4 / 3;
  }

  .project-card__summary {
    font-size: 18px;
  }

  /* Closing */

  .projects-closing {
    padding: 72px 0 80px;
  }

  .projects-closing__inner h2 {
    font-size: 29px;
    line-height: 1.2;
  }

  .projects-closing__inner p {
    font-size: 18px;
  }
}

/* =============================================================
   SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {
  .projects-hero__title {
    font-size: 39px;
  }

  .projects-section-title,
  .projects-closing__inner h2 {
    font-size: 27px;
  }

  .project-card__title {
    font-size: 22px;
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  .projects-circle-arrow,
  .project-card__image img,
  .project-card__action-icon,
  .projects-featured .editorial-item::after {
    transition: none;
  }
}
/* =============================================================
   PROJECT DETAIL PAGE
   Editorial case-study design
   ============================================================= */

.project-detail-page {
  width: 100%;

  overflow: hidden;

  background: #ffffff;

  color: #171717;
}

/* =============================================================
   1. HERO
   ============================================================= */

.project-detail-hero {
  width: 100%;

  padding: 34px 0 104px;

  background: #f8f6f1;
}

/* Breadcrumb */

.project-detail-breadcrumb {
  margin-bottom: 68px;
}

/* Grid */

.project-detail-hero__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(260px, 0.55fr);

  gap: clamp(70px, 9vw, 130px);

  align-items: end;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto;
}

/* =============================================================
   HERO MAIN
   ============================================================= */

.project-detail-hero__main {
  min-width: 0;
}

.project-detail-eyebrow {
  display: block;

  margin: 0 0 17px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

.project-detail-hero__title {
  max-width: 760px;

  margin: 0 0 26px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.04;

  letter-spacing: -2px;

  text-wrap: balance;
}

.project-detail-hero__summary {
  max-width: 700px;

  margin: 0;

  color: #292929;

  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.62;
}

/* =============================================================
   HERO ASIDE
   ============================================================= */

.project-detail-hero__aside {
  min-width: 0;
}

/* Facts */

.project-detail-meta {
  width: 100%;

  border-top: 1px solid #d5d1c6;
}

.project-detail-meta__item {
  display: grid;

  grid-template-columns:
    90px
    minmax(0, 1fr);

  gap: 18px;

  padding: 15px 0;

  border-bottom: 1px solid #d5d1c6;
}

.project-detail-meta__label {
  color: #737373;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;

  text-transform: uppercase;
}

.project-detail-meta__value {
  color: #171717;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

/* =============================================================
   EXTERNAL LINKS
   ============================================================= */

.project-detail-links {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 13px;

  margin-top: 30px;
}

.project-detail-links a {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;

  text-decoration: none;
}

.project-detail-circle-arrow {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 19px;
  height: 19px;

  flex: 0 0 19px;

  border-radius: 50%;

  background: #facc15;

  color: #171717;

  font-size: 10px;
  line-height: 1;

  transition: transform 200ms ease;
}

.project-detail-links a:hover .project-detail-circle-arrow {
  transform: translate(2px, -2px);
}

.project-detail-links a:hover > span:first-child {
  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =============================================================
   2. FEATURED VISUAL
   ============================================================= */

.project-detail-visual {
  width: 100%;

  padding: 0 0 108px;

  background: linear-gradient(
    to bottom,
    #f8f6f1 0,
    #f8f6f1 42%,
    #ffffff 42%,
    #ffffff 100%
  );
}

.project-detail-visual__frame {
  width: 100%;
  max-width: 1120px;

  aspect-ratio: 16 / 9;

  margin: 0 auto;

  overflow: hidden;

  background: #ebe7de;
}

.project-detail-visual__frame img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =============================================================
   3. PROJECT STORY
   ============================================================= */

.project-detail-story {
  width: 100%;

  padding: 54px 0 118px;

  background: #ffffff;
}

/* Intro */

.project-detail-story__intro {
  width: 100%;
  max-width: 850px;

  margin: 0 auto 72px;

  text-align: center;
}

.project-detail-section-kicker {
  display: block;

  margin: 0 0 23px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.03em;

  text-align: center;

  text-transform: uppercase;
}

.project-detail-story__intro h2 {
  max-width: 820px;

  margin: 0 auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.14;

  letter-spacing: -1px;

  text-wrap: balance;
}

.project-detail-story__intro .yellow-underline {
  display: inline;

  padding-bottom: 1px;

  border-bottom: 4px solid #facc15;
}

/* =============================================================
   STORY LAYOUT
   ============================================================= */

.project-detail-story__layout {
  display: block;

  width: 100%;
}

/* =============================================================
   BODY CONTENT
   ============================================================= */
.project-detail-reading {
  width: 100%;
  max-width: 750px;

  margin: 0 auto;
}

.project-detail-body {
  color: #292929;

  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.78;
}

/*
 * Current CMS stores plain text.
 * Preserve intentional line breaks without adding a card.
 */

.project-detail-body br {
  content: "";

  display: block;

  margin-bottom: 10px;
}

/* =============================================================
   EMPTY BODY
   ============================================================= */

.project-detail-empty {
  padding: 42px 0;

  border-top: 1px solid #d8d4c9;
  border-bottom: 1px solid #d8d4c9;
}

.project-detail-empty span {
  display: block;

  margin-bottom: 12px;

  color: #737373;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;

  text-transform: uppercase;
}

.project-detail-empty p {
  max-width: 600px;

  margin: 0;

  color: #525252;

  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.65;
}

/* =============================================================
   SEPARATOR
   ============================================================= */

.project-detail-separator {
  position: relative;

  width: min(1005px, calc(100% - 48px));
  height: 54px;

  margin: 0 auto;

  overflow: hidden;
}

.project-detail-separator::before {
  content: "";

  position: absolute;

  top: 26px;
  left: 0;

  width: 100%;
  height: 1px;

  background: #ddd9cf;
}

.project-detail-separator span {
  position: absolute;

  top: 15px;
  left: 50%;

  width: 22px;
  height: 22px;

  transform: translateX(-50%) rotate(45deg);

  border: 1px solid #b3b09d;

  background: #ffffff;
}

.project-detail-separator span::after {
  content: "";

  position: absolute;

  top: 5px;
  left: 5px;

  width: 10px;
  height: 10px;

  background: #facc15;
}

/* =============================================================
   4. RELATED CONTENT
   ============================================================= */

.project-detail-related {
  width: 100%;

  padding: 108px 0 118px;

  background: #ffffff;
}

.project-detail-related__intro {
  width: 100%;
  max-width: 760px;

  margin: 0 auto 62px;

  text-align: center;
}

.project-detail-related__intro h2 {
  margin: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.14;

  letter-spacing: -1px;

  text-wrap: balance;
}

/* =============================================================
   RELATED CONTENT PARTIAL OVERRIDES
   ============================================================= */

.project-detail-related__groups {
  width: 100%;
  max-width: 1005px;

  margin: 0 auto;
}

/*
 * Existing related-content.php may use shared wrappers.
 */

.project-detail-related .related-section {
  margin: 0 0 60px;
}

.project-detail-related .related-section:last-child {
  margin-bottom: 0;
}

.project-detail-related .related-section__title,
.project-detail-related .section-heading__title {
  margin: 0 0 24px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

/*
 * If related partial uses cards/grid,
 * remove the SaaS-style card appearance.
 */

.project-detail-related .card {
  padding: 22px 0;

  border: 0;
  border-bottom: 1px solid #d8d4c9;

  border-radius: 0;

  background: transparent;

  box-shadow: none;
}

/* =============================================================
   5. CLOSING
   ============================================================= */

.project-detail-closing {
  width: 100%;

  padding: 108px 0 116px;

  background: #f8f6f1;
}

.project-detail-closing__inner {
  width: 100%;
  max-width: 740px;

  margin: 0 auto;

  text-align: center;
}

.project-detail-closing__inner h2 {
  max-width: 700px;

  margin: 0 auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.14;

  letter-spacing: -1px;

  text-wrap: balance;
}

.project-detail-closing__actions {
  display: flex;

  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 28px;

  margin-top: 38px;
}

/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1023px) {
  .project-detail-hero {
    padding-bottom: 82px;
  }

  .project-detail-breadcrumb {
    margin-bottom: 52px;
  }

  .project-detail-hero__grid {
    gap: 48px;
  }

  .project-detail-hero__title {
    font-size: 50px;
  }

  .project-detail-visual {
    padding-bottom: 82px;
  }

  .project-detail-story {
    padding-bottom: 94px;
  }

  .project-detail-story__intro h2,
  .project-detail-closing__inner h2 {
    font-size: 35px;
  }

  .project-detail-related {
    padding: 88px 0 94px;
  }

  .project-detail-related__intro h2 {
    font-size: 34px;
  }
}

/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 767px) {
  /* Hero */

  .project-detail-hero {
    padding: 26px 0 64px;
  }

  .project-detail-breadcrumb {
    margin-bottom: 40px;
  }

  .project-detail-hero__grid {
    grid-template-columns: 1fr;

    gap: 42px;
  }

  .project-detail-hero__title {
    font-size: 42px;

    letter-spacing: -1.3px;
  }

  .project-detail-hero__summary {
    font-size: 18px;
  }

  .project-detail-hero__aside {
    max-width: 420px;
  }

  /* Image */

  .project-detail-visual {
    padding-bottom: 68px;
  }

  .project-detail-visual__frame {
    aspect-ratio: 4 / 3;
  }

  /* Story */

  .project-detail-story {
    padding: 30px 0 72px;
  }

  .project-detail-story__intro {
    margin-bottom: 44px;
  }

  .project-detail-section-kicker {
    margin-bottom: 20px;

    font-size: 12px;
  }

  .project-detail-story__intro h2 {
    font-size: 29px;
    line-height: 1.2;
  }

  .project-detail-reading {
    max-width: 100%;
  }

  .project-detail-body {
    font-size: 18px;
    line-height: 1.7;
  }

  /* Related */

  .project-detail-related {
    padding: 72px 0 78px;
  }

  .project-detail-related__intro {
    margin-bottom: 44px;
  }

  .project-detail-related__intro h2 {
    font-size: 29px;
    line-height: 1.2;
  }

  /* Closing */

  .project-detail-closing {
    padding: 72px 0 80px;
  }

  .project-detail-closing__inner h2 {
    font-size: 29px;
    line-height: 1.2;
  }
}

/* =============================================================
   SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {
  .project-detail-hero__title {
    font-size: 38px;
  }

  .project-detail-story__intro h2,
  .project-detail-related__intro h2,
  .project-detail-closing__inner h2 {
    font-size: 27px;
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  .project-detail-circle-arrow {
    transition: none;
  }
}
/* =============================================================
   SHARED: MEDIA PLACEHOLDER
   Used by app/views/partials/media-placeholder.php everywhere a
   CMS image doesn't exist yet — plain, neutral, on-brand, never a
   broken image icon or stock photo.
   ============================================================= */

.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  padding: 20px;

  gap: 6px;

  background: linear-gradient(145deg, #f1ede5, #e4ddd0);
  border: 1px dashed #b3b09d;

  text-align: center;
}

.media-placeholder__label {
  color: #8a8371;

  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.media-placeholder__file {
  max-width: 100%;

  overflow-wrap: break-word;

  color: #5c5646;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.media-placeholder__purpose {
  max-width: 90%;

  color: #6f6a5c;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.media-placeholder__spec {
  color: #8a8371;

  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

/* =============================================================
   SHARED: SECTION SEPARATOR
   The diamond hairline divider used between major sections on
   several pages (Publications, Judging & Speaking, detail pages).
   ============================================================= */

.section-separator {
  position: relative;

  width: min(1005px, calc(100% - 48px));
  height: 54px;

  margin: 0 auto;

  overflow: hidden;
}

.section-separator::before {
  content: "";

  position: absolute;

  top: 26px;
  left: 0;

  width: 100%;
  height: 1px;

  background: #ddd9cf;
}

.section-separator span {
  position: absolute;

  top: 15px;
  left: 50%;

  width: 22px;
  height: 22px;

  transform: translateX(-50%) rotate(45deg);

  border: 1px solid #b3b09d;

  background: #ffffff;
}

.section-separator span::after {
  content: "";

  position: absolute;

  top: 5px;
  left: 5px;

  width: 10px;
  height: 10px;

  background: #facc15;
}

/* =============================================================
   SHARED: CONTENT EMPTY STATE
   Used by Publications / Education / Recognition / Community when
   a section genuinely has nothing published yet.
   ============================================================= */

.content-empty {
  width: 100%;
  max-width: 650px;

  margin: 40px auto 0;

  padding: 80px 0;

  text-align: center;
}

.content-empty__label {
  display: block;

  margin-bottom: 18px;

  color: #737373;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

.content-empty h2 {
  margin: 0;

  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

/* =============================================================
   SHARED: DETAIL PAGE SYSTEM
   Used by Publication detail and Blog article detail — a hero with
   breadcrumb + facts aside, a supporting visual, a narrow reading-
   width story, related content, and a closing CTA.
   ============================================================= */

.detail-page {
  width: 100%;

  overflow: hidden;

  background: #ffffff;

  color: #171717;
}

.detail-hero {
  width: 100%;

  padding: 34px 0 104px;

  background: #f8f6f1;
}

.detail-breadcrumb {
  margin-bottom: 68px;
}

.detail-hero__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(260px, 0.55fr);

  gap: clamp(70px, 9vw, 130px);

  align-items: start;

  width: 100%;
  max-width: 1060px;

  margin: 0 auto;
}

.detail-hero__main {
  min-width: 0;
}

.detail-eyebrow {
  display: block;

  margin: 0 0 17px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

.detail-hero__title {
  max-width: 760px;

  margin: 0 0 26px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 500;
  line-height: 1.08;

  letter-spacing: -1.5px;

  text-wrap: balance;
}

.detail-hero__summary {
  max-width: 700px;

  margin: 0;

  color: #292929;

  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.detail-hero__aside {
  min-width: 0;
}

.detail-meta {
  width: 100%;

  border-top: 1px solid #d5d1c6;
}

.detail-meta__item {
  display: grid;

  grid-template-columns:
    110px
    minmax(0, 1fr);

  gap: 18px;

  padding: 15px 0;

  border-bottom: 1px solid #d5d1c6;
}

.detail-meta__label {
  color: #737373;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;

  text-transform: uppercase;
}

.detail-meta__value {
  color: #171717;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-top: 20px;
}

.detail-links {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 13px;

  margin-top: 30px;
}

.detail-links a {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;

  text-decoration: none;
}

.detail-circle-arrow {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 19px;
  height: 19px;

  flex: 0 0 19px;

  border-radius: 50%;

  background: #facc15;

  color: #171717;

  font-size: 10px;
  line-height: 1;

  transition: transform 200ms ease;
}

.detail-links a:hover .detail-circle-arrow {
  transform: translate(2px, -2px);
}

.detail-links a:hover > span:first-child {
  text-decoration-line: underline;
  text-decoration-color: #facc15;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.detail-visual {
  width: 100%;

  padding: 0 0 108px;

  background: linear-gradient(to bottom, #f8f6f1 0, #f8f6f1 42%, #ffffff 42%, #ffffff 100%);
}

.detail-visual__frame {
  display: block;

  width: 100%;
  max-width: 1120px;

  aspect-ratio: 16 / 9;

  margin: 0 auto;

  overflow: hidden;

  background: #ebe7de;
}

.detail-visual__frame img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.detail-visual .media {
  max-width: 1120px;

  margin: 0 auto;
}

.detail-story {
  width: 100%;

  padding: 54px 0 118px;

  background: #ffffff;
}

.detail-section-kicker {
  display: block;

  margin: 0 0 23px;

  color: #404040;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.03em;

  text-align: center;

  text-transform: uppercase;
}

.detail-story__intro {
  width: 100%;
  max-width: 850px;

  margin: 0 auto 72px;

  text-align: center;
}

.detail-story__intro h2 {
  max-width: 820px;

  margin: 0 auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.16;

  letter-spacing: -1px;

  text-wrap: balance;
}

.detail-reading {
  width: 100%;
  max-width: 750px;

  margin: 0 auto;
}

.detail-body {
  color: #292929;

  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.78;
}

.detail-empty {
  padding: 42px 0;

  border-top: 1px solid #d8d4c9;
  border-bottom: 1px solid #d8d4c9;
}

.detail-empty span {
  display: block;

  margin-bottom: 12px;

  color: #737373;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;

  text-transform: uppercase;
}

.detail-empty p {
  max-width: 600px;

  margin: 0;

  color: #525252;

  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.65;
}

.detail-separator {
  position: relative;

  width: min(1005px, calc(100% - 48px));
  height: 54px;

  margin: 0 auto;

  overflow: hidden;
}

.detail-separator::before {
  content: "";

  position: absolute;

  top: 26px;
  left: 0;

  width: 100%;
  height: 1px;

  background: #ddd9cf;
}

.detail-separator span {
  position: absolute;

  top: 15px;
  left: 50%;

  width: 22px;
  height: 22px;

  transform: translateX(-50%) rotate(45deg);

  border: 1px solid #b3b09d;

  background: #ffffff;
}

.detail-separator span::after {
  content: "";

  position: absolute;

  top: 5px;
  left: 5px;

  width: 10px;
  height: 10px;

  background: #facc15;
}

.detail-related {
  width: 100%;

  padding: 108px 0 118px;

  background: #ffffff;
}

.detail-related__intro {
  width: 100%;
  max-width: 760px;

  margin: 0 auto 62px;

  text-align: center;
}

.detail-related__intro h2 {
  margin: 0;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.16;

  letter-spacing: -0.8px;

  text-wrap: balance;
}

.detail-related__groups {
  width: 100%;
  max-width: 1005px;

  margin: 0 auto;
}

.detail-related .related-section {
  margin: 0 0 60px;
}

.detail-related .related-section:last-child {
  margin-bottom: 0;
}

.detail-related .section-heading__title {
  margin: 0 0 24px;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.detail-related .card {
  padding: 22px 0;

  border: 0;
  border-bottom: 1px solid #d8d4c9;

  border-radius: 0;

  background: transparent;

  box-shadow: none;
}

.detail-closing {
  width: 100%;

  padding: 108px 0 116px;

  background: #f8f6f1;
}

.detail-closing__inner {
  width: 100%;
  max-width: 740px;

  margin: 0 auto;

  text-align: center;
}

.detail-closing__inner h2 {
  max-width: 700px;

  margin: 0 auto;

  color: #171717;

  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.16;

  letter-spacing: -1px;

  text-wrap: balance;
}

.detail-closing__actions {
  display: flex;

  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 28px;

  margin-top: 38px;
}

@media (max-width: 1023px) {
  .detail-hero { padding-bottom: 82px; }
  .detail-breadcrumb { margin-bottom: 52px; }
  .detail-hero__grid { gap: 48px; }
  .detail-visual { padding-bottom: 82px; }
  .detail-story { padding-bottom: 94px; }
  .detail-story__intro h2, .detail-closing__inner h2 { font-size: 31px; }
  .detail-related { padding: 88px 0 94px; }
  .detail-related__intro h2 { font-size: 29px; }
}

@media (max-width: 767px) {
  .detail-hero { padding: 26px 0 64px; }
  .detail-breadcrumb { margin-bottom: 40px; }
  .detail-hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .detail-hero__summary { font-size: 18px; }
  .detail-hero__aside { max-width: 420px; }
  .detail-visual { padding-bottom: 68px; }
  .detail-visual__frame { aspect-ratio: 4 / 3; }
  .detail-story { padding: 30px 0 72px; }
  .detail-story__intro { margin-bottom: 44px; }
  .detail-story__intro h2 { font-size: 27px; line-height: 1.22; }
  .detail-reading { max-width: 100%; }
  .detail-body { font-size: 18px; line-height: 1.7; }
  .detail-related { padding: 72px 0 78px; }
  .detail-related__intro { margin-bottom: 44px; }
  .detail-related__intro h2 { font-size: 26px; }
  .detail-closing { padding: 72px 0 80px; }
  .detail-closing__inner h2 { font-size: 26px; line-height: 1.22; }
}

/* =============================================================
   PUBLICATIONS PAGE
   Research/editorial presentation -- row list, not a card grid.
   ============================================================= */

.publications-page {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #171717;
}

.publications-hero {
  width: 100%;
  padding: 94px 0 112px;
  background: #f8f6f1;
}

.publications-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(72px, 9vw, 130px);
  align-items: start;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
}

.publications-eyebrow {
  display: block;
  margin: 0 0 16px;
  color: #404040;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.publications-hero__title {
  max-width: 480px;
  margin: 0;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 54px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -1.8px;
}

.publications-hero__content {
  width: 100%;
  max-width: 570px;
  padding-top: 28px;
}

.publications-hero__intro {
  margin: 0;
  color: #292929;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.65;
}

.publications-page__content {
  position: relative;
  width: 100%;
  background: #ffffff;
}

.publications-section-intro {
  width: 100%;
  max-width: 890px;
  margin: 0 auto 64px;
  text-align: center;
}

.publications-section-kicker {
  display: block;
  margin: 0 0 24px;
  color: #404040;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.publications-section-kicker--left {
  margin-bottom: 14px;
  text-align: left;
}

.publications-section-title {
  max-width: 850px;
  margin: 0 auto;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -1px;
  text-align: center;
  text-wrap: balance;
}

.publications-featured {
  width: 100%;
  padding: 118px 0 110px;
  background: #ffffff;
}

.publications-featured .featured-section {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.publications-featured .featured-section .section-heading {
  display: none !important;
}

.publications-featured__list {
  width: 100%;
  max-width: 1005px;
  margin: 0 auto;
}

.publications-featured .editorial-list {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d8d4c9;
}

.publications-featured .editorial-item {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 24px;
  gap: 32px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 28px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #d8d4c9 !important;
  background: transparent;
  color: #171717;
  text-decoration: none;
}

.publications-featured .editorial-item__label {
  margin: 0;
  color: #737373;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.publications-featured .editorial-item__title {
  margin: 0 0 7px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.publications-featured .editorial-item__body {
  max-width: 650px;
  margin: 0;
  color: #525252;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
}

.publications-featured .editorial-item::after {
  content: "\2192";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #facc15;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  transition: transform 200ms ease;
}

.publications-featured .editorial-item::before {
  content: none !important;
}

.publications-featured .editorial-item:hover::after {
  transform: translateX(4px);
}

.publications-separator {
  position: relative;
  width: min(1005px, calc(100% - 48px));
  height: 54px;
  margin: 0 auto;
  overflow: hidden;
}

.publications-separator::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd9cf;
}

.publications-separator span {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid #b3b09d;
  background: #ffffff;
}

.publications-separator span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  background: #facc15;
}

.publications-library {
  width: 100%;
  padding: 108px 0 122px;
  background: #ffffff;
}

.publications-library__header {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto 56px;
}

.publications-library__title {
  margin: 0;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.9px;
}

.publications-list {
  max-width: 1060px;
  margin: 0 auto;
}

.publications-list.research-showcase__list {
  border-top: 1px solid #b3b09d;
}

/* Row layout: top-aligned so multi-line summaries read cleanly,
   venue in its own column rather than vertically centered against
   a taller content block. */
.publications-list .research-showcase__item {
  grid-template-columns: 150px minmax(0, 1fr) 44px;
  align-items: start;
  gap: 36px;
  padding: 36px 0;
}

.publications-list .research-showcase__meta {
  padding-top: 4px;
  color: #737373;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* The title/role/summary spans have no layout of their own by
   default (they're inline elements) -- give the wrapping spans
   explicit block/column layout so they stack as intended instead
   of running together. */
.publications-list__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.publications-list__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 10px;
}

.publications-list .research-showcase__title {
  display: block;
  margin: 0;
  font-size: 25px;
  line-height: 1.28;
  letter-spacing: -0.3px;
}

.publications-list__role {
  display: block;
  margin: 0;
  color: #525252;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

.publications-list .research-showcase__summary {
  display: block;
  margin: 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.62;
}

/* Arrow: a restrained outline circle at rest, filling with the
   accent colour on hover -- consistent with the circular-arrow
   affordance used elsewhere (About page nav, Education links). */
.publications-list .research-showcase__arrow {
  align-self: start;
  width: 32px;
  height: 32px;
  margin-top: 4px;
  border: 1px solid #b3b09d;
  border-radius: 50%;
  background: transparent;
  color: #171717;
  font-size: 15px;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.publications-list .research-showcase__item:hover .research-showcase__arrow {
  border-color: #facc15;
  background: #facc15;
  transform: rotate(45deg);
}

.publications-closing {
  width: 100%;
  padding: 110px 0 122px;
  background: #f8f6f1;
}

.publications-closing__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.publications-closing__inner h2 {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -1px;
  text-wrap: balance;
}

.publications-closing__inner p {
  max-width: 680px;
  margin: 0 auto;
  color: #353535;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.68;
}

.publications-closing__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 38px;
}

@media (max-width: 1023px) {
  .publications-hero { padding: 72px 0 88px; }
  .publications-hero__grid { gap: 48px; }
  .publications-hero__title { font-size: 44px; }
  .publications-featured { padding: 92px 0; }
  .publications-section-title { font-size: 31px; }
  .publications-library { padding: 88px 0 96px; }
  .publications-featured .editorial-item { grid-template-columns: 130px minmax(0, 1fr) 22px; gap: 24px; }
  .publications-closing { padding: 90px 0; }
  .publications-closing__inner h2 { font-size: 31px; }
}

@media (max-width: 767px) {
  .publications-hero { padding: 54px 0 66px; }
  .publications-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .publications-hero__content { max-width: 100%; padding-top: 0; }
  .publications-hero__title { font-size: 39px; letter-spacing: -1.1px; }
  .publications-hero__intro { font-size: 18px; }
  .publications-featured { padding: 70px 0; }
  .publications-section-intro { margin-bottom: 42px; }
  .publications-section-title { font-size: 26px; line-height: 1.22; }
  .publications-featured .editorial-item { grid-template-columns: 1fr 20px; gap: 8px 18px; padding: 23px 0 !important; }
  .publications-featured .editorial-item__label { grid-column: 1 / -1; }
  .publications-library { padding: 72px 0 78px; }
  .publications-library__title { font-size: 27px; }
  .publications-list .research-showcase__item { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .publications-list .research-showcase__meta { padding-top: 0; }
  .publications-list .research-showcase__title { font-size: 21px; }
  .publications-list .research-showcase__summary { font-size: 16px; }
  .publications-list .research-showcase__arrow { display: none; }
  .publications-closing { padding: 72px 0 80px; }
  .publications-closing__inner h2 { font-size: 26px; line-height: 1.22; }
  .publications-closing__inner p { font-size: 18px; }
}

/* =============================================================
   EDUCATION & MENTORSHIP
   APPROVED LOCKED DESIGN
   ============================================================= */

.education-page {
    width: 100%;
    margin: 0;
    overflow: hidden;

    background: #ffffff;

    color: #171717;
}


/* =============================================================
   HERO
   ============================================================= */

.education-hero {
    width: 100%;

    margin: 0;

    padding:
        4px
        0
        76px;

    background: #ffffff;
}


.education-eyebrow {
    display: block;

    margin:
        0
        0
        7px;

    color: #171717;

    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;

    letter-spacing: 0;

    text-transform: none;
}


.education-hero__title {
    width: 100%;
    max-width: 900px;

    margin: 0;

    color: #171717;

    font-family: var(--font-sans);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.06;

    letter-spacing: -1.5px;
}


.education-hero__intro {
    width: 100%;
    max-width: 960px;

    margin:
        7px
        0
        0;

    color: #292929;

    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}


/* =============================================================
   CONTENT
   ============================================================= */

.education-page__content {
    width: 100%;

    margin: 0;
    padding: 0;

    background: #ffffff;
}


/* =============================================================
   EDUCATION LIST
   ============================================================= */

.education-list {
    width: 100%;

    margin: 0;

    padding:
        0
        0
        102px;

    background: #ffffff;
}


.education-list__items {
    width: 100%;
    max-width: 1060px;

    margin: 0 auto;

    border-top: 1px solid #b3b09d;
}


/* =============================================================
   FEATURE
   ============================================================= */

.education-feature {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, 0.92fr);

    gap: clamp(56px, 7vw, 92px);

    align-items: center;

    width: 100%;

    margin: 0;

    padding:
        54px
        0;

    border-bottom: 1px solid #b3b09d;
}


/*
 * Alternate subsequent items automatically.
 */

.education-feature:nth-child(even)
.education-feature__visual {
    order: 2;
}


.education-feature:nth-child(even)
.education-feature__content {
    order: 1;
}


/* =============================================================
   IMAGE
   ============================================================= */

.education-feature__visual {
    min-width: 0;
}


.education-feature__image {
    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #ebe7de;
}


.education-feature__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =============================================================
   DEVELOPMENT PLACEHOLDER
   ============================================================= */

.education-feature__placeholder {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    width: 100%;

    aspect-ratio: 16 / 10;

    padding:
        32px;

    overflow: hidden;

    border: 1px solid #d8d4c9;

    background: #eeece7;

    color: #57534e;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        "Courier New",
        monospace;
}


.education-feature__placeholder-label {
    margin-bottom: 25px;

    color: #737373;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


.education-feature__placeholder strong {
    margin-bottom: 13px;

    color: #45413d;

    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}


.education-feature__placeholder > span:not(
    .education-feature__placeholder-label
) {
    margin-bottom: 12px;

    font-size: 14px;
    line-height: 1.5;
}


.education-feature__placeholder small {
    color: #737373;

    font-size: 12px;
    line-height: 1.5;
}


/* =============================================================
   FEATURE CONTENT
   ============================================================= */

.education-feature__content {
    width: 100%;
    max-width: 440px;
}


/* Organisation */

.education-feature__org {
    display: block;

    margin:
        0
        0
        13px;

    color: #525252;

    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;

    letter-spacing: 0.035em;

    text-transform: uppercase;
}


/* Title */

.education-feature__title {
    max-width: 430px;

    margin:
        0
        0
        13px;

    color: #171717;

    font-family: var(--font-sans);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.12;

    letter-spacing: -0.8px;
}


/* Role */

.education-feature__role {
    margin:
        0
        0
        27px;

    color: #404040;

    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}


/* Editorial body */

.education-feature__body {
    max-width: 430px;

    margin: 0;

    color: #292929;

    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.68;
}


/*
 * The CMS body currently uses plain text + nl2br.
 */

.education-feature__body br {
    content: "";

    display: block;

    margin-bottom: 8px;
}


/* =============================================================
   EXTERNAL LINK
   ============================================================= */

.education-feature__link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 28px;

    color: #171717;

    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;
}


.education-feature__link-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    flex: 0 0 19px;

    border-radius: 50%;

    background: #facc15;

    color: #171717;

    font-size: 10px;
    line-height: 1;

    transition:
        transform 180ms ease;
}


.education-feature__link:hover
.education-feature__link-icon {
    transform:
        translate(2px, -2px);
}


.education-feature__link:hover
> span:first-child {
    text-decoration-line: underline;
    text-decoration-color: #facc15;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}


/* =============================================================
   EMPTY STATE
   ============================================================= */

.education-empty {
    width: 100%;
    max-width: 1060px;

    margin: 0 auto;

    padding:
        45px
        0;

    border-top: 1px solid #b3b09d;
    border-bottom: 1px solid #b3b09d;
}


.education-empty p {
    margin: 0;

    color: #525252;

    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.6;
}


/* =============================================================
   CLOSING
   ============================================================= */

.education-closing {
    width: 100%;

    margin: 0;

    padding:
        62px
        0
        76px;

    background: #f8f6f1;
}


.education-closing__inner {
    width: 100%;
    max-width: 780px;

    margin: 0;

    text-align: left;
}


.education-closing
.education-eyebrow {
    margin-bottom: 6px;

    font-size: 15px;
}


.education-closing__inner h2 {
    max-width: 760px;

    margin: 0;

    color: #171717;

    font-family: var(--font-sans);
    font-size: 38px;
    font-weight: 500;
    line-height: 1.1;

    letter-spacing: -1px;
}


.education-closing__actions {
    display: flex;

    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;

    gap: 16px;

    margin-top: 27px;
}


/* =============================================================
   TABLET
   ============================================================= */

@media (max-width: 1023px) {

    .education-hero {
        padding-bottom: 62px;
    }


    .education-hero__title {
        font-size: 42px;
    }


    .education-feature {
        gap: 44px;

        padding:
            46px
            0;
    }


    .education-feature__title {
        font-size: 30px;
    }


    .education-closing__inner h2 {
        font-size: 34px;
    }

}


/* =============================================================
   MOBILE
   ============================================================= */

@media (max-width: 767px) {

    .education-hero {
        padding:
            18px
            0
            50px;
    }


    .education-eyebrow {
        font-size: 14px;
    }


    .education-hero__title {
        font-size: 36px;
        line-height: 1.1;

        letter-spacing: -1px;
    }


    .education-hero__intro {
        margin-top: 10px;

        font-size: 15px;
    }


    .education-list {
        padding-bottom: 72px;
    }


    .education-feature {
        grid-template-columns: 1fr;

        gap: 32px;

        padding:
            36px
            0;
    }


    .education-feature:nth-child(even)
    .education-feature__visual,
    .education-feature:nth-child(even)
    .education-feature__content {
        order: initial;
    }


    .education-feature__content {
        max-width: 100%;
    }


    .education-feature__title {
        max-width: 100%;

        font-size: 29px;
    }


    .education-feature__body {
        max-width: 100%;

        font-size: 17px;
    }


    .education-feature__placeholder {
        padding: 24px;
    }


    .education-closing {
        padding:
            54px
            0
            62px;
    }


    .education-closing__inner {
        max-width: 100%;
    }


    .education-closing__inner h2 {
        font-size: 29px;
        line-height: 1.18;
    }

}


/* =============================================================
   SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {

    .education-hero__title {
        font-size: 33px;
    }


    .education-feature__title {
        font-size: 27px;
    }


    .education-closing__inner h2 {
        font-size: 27px;
    }

}


/* =============================================================
   REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {

    .education-feature__link-icon {
        transition: none;
    }

}
/* =============================================================
   RECOGNITION PAGE
   Editorial recognition row list.
   ============================================================= */

.recognition-page {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #171717;
}

.recognition-hero {
  width: 100%;
  padding: 94px 0 88px;
  background: #f8f6f1;
  text-align: center;
}

.recognition-eyebrow {
  display: block;
  margin: 0 0 16px;
  color: #404040;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.recognition-hero__title {
  max-width: 700px;
  margin: 0 auto;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.4px;
}

.recognition-hero__intro {
  max-width: 620px;
  margin: 20px auto 0;
  color: #292929;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.62;
}

.recognition-page__content {
  width: 100%;
  background: #ffffff;
}

.recognition-featured {
  padding: 92px 0 0;
}

.recognition-list-section {
  padding: 92px 0 108px;
}

.recognition-row-list {
  max-width: 1060px;
  margin: 0 auto;
  border-top: 1px solid #b3b09d;
}

.recognition-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #b3b09d;
}

.recognition-row__icon {
  width: 64px;
  height: 64px;
}

.recognition-row__icon .media {
  border-radius: 6px;
}

.recognition-row__meta {
  display: block;
  margin-bottom: 6px;
  color: #737373;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.recognition-row__title {
  margin: 0 0 4px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

.recognition-row__org {
  margin: 0;
  color: #404040;
  font-family: var(--font-sans);
  font-size: 14px;
}

.recognition-row__body {
  max-width: 620px;
  margin: 8px 0 0;
  color: #404040;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
}

.recognition-row__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.recognition-empty {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;
}

.recognition-empty__label {
  display: block;
  margin-bottom: 18px;
  color: #737373;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.recognition-empty h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

.recognition-closing {
  width: 100%;
  padding: 100px 0 112px;
  background: #f8f6f1;
}

.recognition-closing__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.recognition-closing__inner h2 {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  text-wrap: balance;
}

.recognition-closing__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

@media (max-width: 1023px) {
  .recognition-hero { padding: 72px 0 68px; }
  .recognition-hero__title { font-size: 38px; }
  .recognition-list-section { padding: 72px 0 88px; }
  .recognition-closing { padding: 80px 0 92px; }
}

@media (max-width: 767px) {
  .recognition-hero { padding: 54px 0 56px; }
  .recognition-hero__title { font-size: 31px; }
  .recognition-hero__intro { font-size: 17px; }
  .recognition-featured { padding-top: 64px; }
  .recognition-list-section { padding: 56px 0 68px; }
  .recognition-row { grid-template-columns: 48px minmax(0, 1fr); }
  .recognition-row__icon { width: 48px; height: 48px; }
  .recognition-row__link { grid-column: 1 / -1; margin-top: 6px; }
  .recognition-closing { padding: 64px 0 72px; }
  .recognition-closing__inner h2 { font-size: 26px; }
}

/* =============================================================
   JUDGING & SPEAKING PAGE
   Two clearly separated groups, each an event row list.
   ============================================================= */

.js-page {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #171717;
}

.js-hero {
  width: 100%;
  padding: 94px 0 88px;
  background: #f8f6f1;
  text-align: center;
}

.js-eyebrow {
  display: block;
  margin: 0 0 16px;
  color: #404040;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.js-hero__title {
  max-width: 700px;
  margin: 0 auto;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.4px;
}

.js-hero__intro {
  max-width: 640px;
  margin: 20px auto 0;
  color: #292929;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.62;
}

.js-page__content {
  width: 100%;
  background: #ffffff;
}

.js-group {
  padding: 92px 0;
}

.js-group__intro {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: center;
}

.js-group__title {
  margin: 0;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.js-row-list {
  max-width: 1060px;
  margin: 0 auto;
  border-top: 1px solid #b3b09d;
}

.js-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #b3b09d;
}

.js-row__icon {
  width: 64px;
  height: 64px;
}

.js-row__icon .media {
  border-radius: 6px;
}

.js-row__meta {
  display: block;
  margin-bottom: 6px;
  color: #737373;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.js-row__title {
  margin: 0 0 6px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

.js-row__body {
  max-width: 620px;
  margin: 0;
  color: #404040;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
}

.js-row__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.js-empty {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px 0;
  text-align: center;
  color: #737373;
  font-family: var(--font-sans);
  font-size: 15px;
}

.js-separator {
  position: relative;
  width: min(1005px, calc(100% - 48px));
  height: 54px;
  margin: 0 auto;
  overflow: hidden;
}

.js-separator::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd9cf;
}

.js-separator span {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid #b3b09d;
  background: #ffffff;
}

.js-separator span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  background: #facc15;
}

.js-closing {
  width: 100%;
  padding: 100px 0 112px;
  background: #f8f6f1;
}

.js-closing__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.js-closing__inner h2 {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  text-wrap: balance;
}

.js-closing__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

@media (max-width: 1023px) {
  .js-hero { padding: 72px 0 68px; }
  .js-hero__title { font-size: 38px; }
  .js-group { padding: 72px 0; }
  .js-closing { padding: 80px 0 92px; }
}

@media (max-width: 767px) {
  .js-hero { padding: 54px 0 56px; }
  .js-hero__title { font-size: 31px; }
  .js-hero__intro { font-size: 17px; }
  .js-group { padding: 56px 0; }
  .js-group__title { font-size: 25px; }
  .js-row { grid-template-columns: 48px minmax(0, 1fr); }
  .js-row__icon { width: 48px; height: 48px; }
  .js-row__link { grid-column: 1 / -1; margin-top: 6px; }
  .js-closing { padding: 64px 0 72px; }
  .js-closing__inner h2 { font-size: 26px; }
}

/* =============================================================
   COMMUNITY PAGE
   Narrative-first with photography -- not a card grid.
   ============================================================= */

.community-page {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #171717;
}

.community-hero {
  width: 100%;
  padding: 94px 0 88px;
  background: #f8f6f1;
  text-align: center;
}

.community-eyebrow {
  display: block;
  margin: 0 0 16px;
  color: #404040;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.community-hero__title {
  max-width: 700px;
  margin: 0 auto;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.4px;
}

.community-hero__intro {
  max-width: 640px;
  margin: 20px auto 0;
  color: #292929;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.62;
}

.community-page__content {
  width: 100%;
  background: #ffffff;
}

.community-featured {
  padding: 92px 0 0;
}

.community-initiatives {
  padding: 92px 0 108px;
}

.community-section-intro {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 72px;
  text-align: center;
}

.community-section-title {
  margin: 0;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  text-wrap: balance;
}

.community-initiative {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 90px);
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}

.community-initiative + .community-initiative {
  margin-top: 90px;
  padding-top: 90px;
  border-top: 1px solid #d8d4c9;
}

.community-initiative--reverse .community-initiative__visual {
  order: 2;
}

.community-initiative--reverse .community-initiative__content {
  order: 1;
}

.community-initiative__visual {
  width: 100%;
}

.community-initiative__content {
  max-width: 480px;
}

.community-initiative__meta {
  display: block;
  margin-bottom: 12px;
  color: #737373;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.community-initiative__title {
  margin: 0 0 8px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.4px;
}

.community-initiative__org {
  margin: 0 0 16px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
}

.community-initiative__body {
  margin: 0 0 18px;
  color: #404040;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.community-empty {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;
}

.community-empty__label {
  display: block;
  margin-bottom: 18px;
  color: #737373;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.community-empty h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

.community-closing {
  width: 100%;
  padding: 100px 0 112px;
  background: #f8f6f1;
}

.community-closing__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.community-closing__inner h2 {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  text-wrap: balance;
}

.community-closing__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

@media (max-width: 1023px) {
  .community-hero { padding: 72px 0 68px; }
  .community-hero__title { font-size: 38px; }
  .community-initiatives { padding: 72px 0 88px; }
  .community-initiative { grid-template-columns: 1fr; gap: 32px; }
  .community-initiative--reverse .community-initiative__visual,
  .community-initiative--reverse .community-initiative__content {
    order: initial;
  }
  .community-initiative + .community-initiative { margin-top: 64px; padding-top: 64px; }
  .community-closing { padding: 80px 0 92px; }
}

@media (max-width: 767px) {
  .community-hero { padding: 54px 0 56px; }
  .community-hero__title { font-size: 31px; }
  .community-hero__intro { font-size: 17px; }
  .community-featured { padding-top: 64px; }
  .community-initiatives { padding: 56px 0 68px; }
  .community-section-intro { margin-bottom: 44px; }
  .community-section-title { font-size: 26px; }
  .community-initiative__title { font-size: 23px; }
  .community-closing { padding: 64px 0 72px; }
  .community-closing__inner h2 { font-size: 26px; }
}

/* =============================================================
   BLOG INDEX -- hero + empty state (grid/cards reuse .writings-*)
   ============================================================= */

.blog-index-page {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #171717;
}

.blog-hero {
  width: 100%;
  padding: 94px 0 60px;
  background: #f8f6f1;
  text-align: center;
}

.blog-eyebrow {
  display: block;
  margin: 0 0 16px;
  color: #404040;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-hero__title {
  margin: 0;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.4px;
}

.blog-hero__intro {
  max-width: 560px;
  margin: 16px auto 0;
  color: #292929;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
}

.blog-empty {
  width: 100%;
  max-width: 650px;
  margin: 40px auto;
  padding: 60px 0;
  text-align: center;
}

.blog-empty__label {
  display: block;
  margin-bottom: 18px;
  color: #737373;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.blog-empty h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

@media (max-width: 1023px) {
  .blog-hero { padding: 72px 0 52px; }
  .blog-hero__title { font-size: 38px; }
}

@media (max-width: 767px) {
  .blog-hero { padding: 54px 0 44px; }
  .blog-hero__title { font-size: 31px; }
  .blog-hero__intro { font-size: 17px; }
}

/* =============================================================
   CONTACT PAGE
   ============================================================= */

.contact-page {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #171717;
}

.contact-hero {
  width: 100%;
  padding: 94px 0 118px;
  background: #f8f6f1;
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}

.contact-eyebrow {
  display: block;
  margin: 0 0 16px;
  color: #404040;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-hero__title {
  margin: 0 0 22px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.3px;
}

.contact-hero__intro {
  max-width: 480px;
  margin: 0 0 36px;
  color: #292929;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.62;
}

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

.contact-social__label {
  color: #171717;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
}

.contact-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form-card {
  width: 100%;
  padding: 40px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e4e1d8;
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
}

.contact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1023px) {
  .contact-hero { padding: 72px 0 88px; }
  .contact-hero__grid { gap: 48px; }
  .contact-hero__title { font-size: 38px; }
  .contact-form-card { padding: 32px; }
}

@media (max-width: 767px) {
  .contact-hero { padding: 54px 0 64px; }
  .contact-hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .contact-hero__title { font-size: 31px; }
  .contact-hero__intro { font-size: 17px; }
  .contact-form-card { padding: 26px; }
}

/* =============================================================
   LEGAL PAGE (Privacy)
   ============================================================= */

.legal-page {
  width: 100%;
  background: #ffffff;
  color: #171717;
}

.legal-hero {
  width: 100%;
  padding: 80px 0 56px;
  background: #f8f6f1;
}

.legal-eyebrow {
  display: block;
  margin: 0 0 14px;
  color: #404040;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-hero__title {
  margin: 0;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -1px;
}

.legal-body {
  padding: 72px 0 96px;
}

.legal-pending-notice {
  padding: 18px 22px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #f8f6f1;
  border: 1px solid #e4e1d8;
}

.legal-pending-notice p {
  margin: 0;
  color: #525252;
  font-family: var(--font-sans);
  font-size: 14px;
}

@media (max-width: 767px) {
  .legal-hero { padding: 56px 0 44px; }
  .legal-hero__title { font-size: 29px; }
  .legal-body { padding: 52px 0 72px; }
}

/* =============================================================
   ERROR PAGES (404 / 500)
   ============================================================= */

.error-page {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  background: #f8f6f1;
}

.error-page__inner {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.error-page__eyebrow {
  display: block;
  margin: 0 0 16px;
  color: #737373;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.error-page__title {
  margin: 0 0 16px;
  color: #171717;
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1px;
}

.error-page__intro {
  margin: 0 0 32px;
  color: #404040;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
}

.error-page__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 767px) {
  .error-page { padding: 64px 0; }
  .error-page__title { font-size: 29px; }
}

/* Reusable local social-network marks */
.social-brand-icon { display:block; width:1.15rem; height:1.15rem; flex:none; }
.social-brand-icon--fallback { display:grid; place-items:center; font-size:.72rem; font-weight:700; }
.btn--icon .social-brand-icon { width:1rem; height:1rem; }
.analytics-consent { position:fixed; z-index:100; right:20px; bottom:20px; left:20px; display:flex; align-items:center; justify-content:space-between; gap:24px; max-width:900px; margin:auto; padding:18px 20px; border:1px solid var(--color-border); border-radius:12px; background:#fff; box-shadow:0 18px 50px rgba(23,23,23,.18); }.analytics-consent strong { font-size:.88rem; }.analytics-consent p { margin:3px 0 0; color:var(--color-text-muted); font-size:.72rem; }.analytics-consent > div:last-child { display:flex; flex:none; gap:8px; }
@media (max-width:600px) { .analytics-consent { align-items:stretch; flex-direction:column; gap:13px; }.analytics-consent > div:last-child { display:grid; grid-template-columns:1fr 1fr; }.analytics-consent .btn { padding-inline:10px; } }
.contact-guard { margin:18px 0; padding:14px; overflow:hidden; border:1px solid var(--color-border); border-radius:8px; background:var(--color-surface); }.contact-guard .form-error { margin-top:8px; }
.external-resources{margin-top:42px;padding:28px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface)}.external-resources h2{margin:6px 0 18px;font-size:1.35rem}.external-resources__list{display:grid;gap:1px;background:var(--color-border)}.external-resources__list a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px;background:#fff;color:var(--color-text-primary);text-decoration:none}.external-resources__list a:hover,.external-resources__list a:focus-visible{background:#fff9df}.external-resources__list small,.external-resources__list strong,.external-resources__list em{display:block}.external-resources__list small{margin-bottom:3px;color:var(--color-text-muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.08em}.external-resources__list em{margin-top:4px;color:var(--color-text-muted);font-size:.8rem;font-style:normal;font-weight:400}

.site-header__brand--logo { line-height: 0; }
.site-header__custom-logo { display:block; width:auto; max-width:180px; height:48px; flex:0 0 auto; object-fit:contain; transition:transform var(--duration-base) var(--easing-standard),opacity var(--duration-base) var(--easing-standard); }
.site-header__brand--logo:hover .site-header__custom-logo { transform:scale(1.04); opacity:.92; }

/* Homepage selected-content cards: concise excerpt and explicit CTA. */
.recent-activity-card .editorial-item::after { content:none; }
.recent-activity-card .editorial-item__action {
  order:4;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  align-self:flex-start;
  margin-top:auto;
  min-height:44px;
  padding:11px 15px;
  border:1px solid #cfc8b8;
  border-radius:6px;
  background:#fff;
  color:#171717;
  font-family:var(--font-sans);
  font-size:14px;
  font-weight:600;
  line-height:1.25;
  transition:border-color 180ms ease,background-color 180ms ease,color 180ms ease;
}
.recent-activity-card .editorial-item__action span { color:#8a6800; font-size:17px; line-height:1; }
.recent-activity-card .editorial-item:hover .editorial-item__action { border-color:#171717; background:#171717; color:#fff; }
.recent-activity-card .editorial-item:hover .editorial-item__action span { color:#facc15; }
@media (max-width:767px) { .recent-activity-card .editorial-item__action { align-self:stretch; } }
@media (prefers-reduced-motion:reduce) { .recent-activity-card .editorial-item__action { transition:none; } }

/* Stable landing points for homepage selections that represent page sections. */
:is(#education,#awards,#recognition,#judging,#speaking) { scroll-margin-top:86px; }
.back-to-top { position:fixed; right:max(20px,env(safe-area-inset-right)); bottom:max(24px,env(safe-area-inset-bottom)); z-index:90; display:grid; place-items:center; width:48px; height:48px; padding:0; border:1px solid #526472; border-radius:50%; background:#203747; color:#fff; box-shadow:0 4px 16px #0002; cursor:pointer; }
.back-to-top[hidden] { display:none; }
.back-to-top:hover { background:#304e62; }
.back-to-top:focus-visible { outline:3px solid #167cb5; outline-offset:4px; }
.hero-credibility__items { flex-wrap:wrap; }
.hero-credibility__item a { display:flex; align-items:center; justify-content:center; width:100%; height:100%; }
.hero-credibility__item img { max-width:100%; object-fit:contain; }
@media (min-width: 1100px) {
  .recent-activity-grid--4 { grid-template-columns:repeat(4,minmax(0,1fr)); gap:44px 24px; max-width:1140px; }
  .recent-activity-grid--4 .recent-activity-card .editorial-item__title { font-size:21px; }
  .recent-activity-grid--4 .recent-activity-card .editorial-item__body { font-size:17px; }
}

/* Editor-controlled image size and alignment, set from the image toolbar in the
   CMS's rich text editor. !important is intentional here: an author's explicit
   choice for one figure must win over the ambient width/margin every reading-copy
   context already sets for images in general. Applies inside both the admin
   editor canvas and every public page that renders rich text (blog, projects,
   publications, case studies, etc). */
.editor-img--size-25 { width:25% !important; }
.editor-img--size-50 { width:50% !important; }
.editor-img--size-75 { width:75% !important; }
.editor-img--size-100 { width:100% !important; }
.editor-img--align-left { margin-left:0 !important; margin-right:auto !important; }
.editor-img--align-center { margin-left:auto !important; margin-right:auto !important; }
.editor-img--align-right { margin-left:auto !important; margin-right:0 !important; }
