:root {
  color-scheme: light;
  --cream: #f7f4ea;
  --paper: #fffdf8;
  --sage: #aab19a;
  --sage-dark: #687257;
  --sage-soft: #e9eadf;
  --espresso: #3a2d29;
  --muted: #706560;
  --peach: #e8b9a5;
  --peach-soft: #f6ded4;
  --accent-action: #d13f1f;
  --accent-action-hover: #b73416;
  --line: rgba(58, 45, 41, 0.14);
  --shadow: 0 20px 60px rgba(58, 45, 41, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --section-space: clamp(72px, 7vw, 96px);
  --section-content-gap: clamp(34px, 3.8vw, 48px);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
}

/* Yekly case study */
.visual-yekly {
  background: #7552dc;
}

.visual-yekly.project-visual-link img {
  object-fit: contain;
}

.yekly-page {
  --yekly: var(--accent-action);
  --yekly-dark: var(--accent-action-hover);
  --yekly-soft: var(--peach-soft);
  background: var(--cream);
  overflow: clip;
}

.yekly-hero {
  padding-block: clamp(32px, 4vw, 52px) clamp(52px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.yekly-hero .back-link {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.yekly-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.yekly-logo {
  display: block;
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(58, 45, 41, 0.12);
}

.yekly-hero-copy .section-kicker,
.yekly-section .section-kicker,
.yekly-cta .section-kicker {
  color: var(--yekly-dark);
}

.yekly-hero-copy h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.4vw, 4.15rem);
}

.yekly-hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.yekly-hero-actions,
.yekly-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.yekly-button {
  background: var(--yekly);
  color: #fff;
  box-shadow: 0 14px 34px rgba(239, 78, 35, 0.22);
}

.yekly-button:hover,
.yekly-button:focus-visible {
  background: var(--yekly-dark);
}

.yekly-hero-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #7552dc;
  box-shadow: 0 26px 70px rgba(58, 45, 41, 0.13);
}

.yekly-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.yekly-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: clamp(38px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(58, 45, 41, 0.05);
}

.yekly-snapshot article {
  padding: 24px 26px;
}

.yekly-snapshot article + article {
  border-left: 1px solid var(--line);
}

.yekly-snapshot span,
.yekly-card-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.yekly-snapshot strong {
  font-size: 0.9rem;
  line-height: 1.45;
}

.yekly-section {
  padding-block: var(--section-space);
}

.yekly-section-heading {
  max-width: 780px;
  margin-bottom: var(--section-content-gap);
}

.yekly-section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2.05rem, 3.7vw, 3.5rem);
  line-height: 0.98;
}

.yekly-section-heading > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.yekly-problem {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

#yekly-experience {
  background: var(--cream);
}

.yekly-journey-section {
  border-block: 1px solid var(--line);
  background: var(--sage-soft);
}

.yekly-build-section {
  background: var(--paper);
}

.yekly-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.yekly-compare article {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
}

.yekly-compare article.is-solution {
  border-color: transparent;
  background: #30483f;
  color: #fff;
  box-shadow: 0 20px 48px rgba(48, 72, 63, 0.16);
}

.yekly-compare .is-solution .yekly-card-label {
  color: #f2c6b5;
}

.yekly-compare h3 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
}

.yekly-compare ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.yekly-compare li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid currentColor;
  color: var(--muted);
  font-size: 0.9rem;
}

.yekly-compare li::before {
  position: absolute;
  top: 12px;
  left: 2px;
  color: #d65c59;
  content: "×";
  font-weight: 800;
}

.yekly-compare .is-solution li {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.76);
}

.yekly-compare .is-solution li::before {
  color: #f2a98d;
  content: "✓";
}

.yekly-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.yekly-feature-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(58, 45, 41, 0.035);
}

.yekly-feature-card > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(239, 78, 35, 0.18);
  background: var(--paper);
  color: var(--yekly-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.yekly-feature-card h3 {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.yekly-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.yekly-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 12px;
}

.yekly-journey li {
  position: relative;
  min-height: 150px;
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(58, 45, 41, 0.1);
  background: rgba(255, 253, 248, 0.76);
}

.yekly-journey li::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -13px;
  display: grid;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--yekly-dark);
  content: "→";
  font-size: 0.74rem;
}

.yekly-journey li:last-child::after {
  display: none;
}

.yekly-journey span {
  display: block;
  margin-bottom: 30px;
  color: var(--yekly-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.yekly-journey strong {
  font-size: 0.9rem;
  line-height: 1.5;
}

.yekly-build-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.yekly-build-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yekly-build-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--paper);
}

.yekly-build-grid article:nth-child(2),
.yekly-build-grid article:nth-child(3) {
  background: var(--peach-soft);
}

.yekly-build-grid h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.yekly-build-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.yekly-tech-section {
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.yekly-tech-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 10px;
  list-style: none;
}

.yekly-tech-list li {
  padding: 12px 17px;
  border: 1px solid rgba(239, 78, 35, 0.2);
  border-radius: 999px;
  background: var(--paper);
  color: var(--yekly-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.yekly-cta-section {
  padding-block: clamp(62px, 8vw, 104px);
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.yekly-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(34px, 6vw, 66px);
  border-radius: 28px;
  border: 1px solid rgba(58, 45, 41, 0.1);
  background: linear-gradient(135deg, #eef0e6, #dfe7d9);
  box-shadow: 0 24px 64px rgba(58, 45, 41, 0.11);
  gap: 42px;
}

.yekly-cta h2 {
  max-width: 720px;
  margin-bottom: 13px;
}

.yekly-cta p:last-child {
  max-width: 690px;
  margin: 0;
  color: #526057;
}

.yekly-cta .text-link {
  color: var(--espresso);
}

.yekly-cta .text-link:hover,
.yekly-cta .text-link:focus-visible {
  background: rgba(255, 253, 248, 0.55);
}

html[data-theme="dark"] .yekly-page {
  background: #151816;
}

html[data-theme="dark"] .yekly-hero {
  border-color: var(--line);
  background: #151816;
}

html[data-theme="dark"] .yekly-snapshot,
html[data-theme="dark"] .yekly-feature-card,
html[data-theme="dark"] .yekly-build-grid article {
  background: #1e2221;
}

html[data-theme="dark"] .yekly-problem,
html[data-theme="dark"] .yekly-build-section {
  background: #191d1b;
}

html[data-theme="dark"] #yekly-experience,
html[data-theme="dark"] .yekly-tech-section {
  background: #151816;
}

html[data-theme="dark"] .yekly-journey-section {
  background: #1b201d;
}

html[data-theme="dark"] .yekly-compare article:not(.is-solution) {
  background: #202321;
}

html[data-theme="dark"] .yekly-feature-card > span,
html[data-theme="dark"] .yekly-build-grid article:nth-child(2),
html[data-theme="dark"] .yekly-build-grid article:nth-child(3),
html[data-theme="dark"] .yekly-tech-list li {
  border-color: rgba(255, 121, 88, 0.2);
  background: rgba(255, 121, 88, 0.09);
  color: #ff987d;
}

html[data-theme="dark"] .yekly-journey li {
  border-color: rgba(236, 239, 230, 0.13);
  background: #232925;
}

html[data-theme="dark"] .yekly-hero-copy .section-kicker,
html[data-theme="dark"] .yekly-section .section-kicker,
html[data-theme="dark"] .yekly-cta .section-kicker,
html[data-theme="dark"] .yekly-journey span {
  color: #ff7958;
}

html[data-theme="dark"] .yekly-cta-section {
  border-color: rgba(236, 239, 230, 0.13);
  background: #151816;
}

html[data-theme="dark"] .yekly-cta {
  border: 1px solid rgba(236, 239, 230, 0.14);
  background: linear-gradient(135deg, #22352f, #1b2925);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .yekly-cta p:last-child {
  color: #c5becd;
}

html[data-theme="dark"] .yekly-cta .text-link {
  color: #f5f2eb;
}

html[data-theme="dark"] .yekly-cta .text-link:hover,
html[data-theme="dark"] .yekly-cta .text-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .yekly-hero-grid,
  .yekly-build-layout {
    grid-template-columns: 1fr;
  }

  .yekly-hero-visual {
    width: min(100%, 760px);
  }

  .yekly-feature-grid,
  .yekly-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yekly-journey li:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .yekly-hero {
    padding-block: 30px 68px;
  }

  .yekly-hero-grid {
    gap: 38px;
  }

  .yekly-logo {
    width: 58px;
    height: 58px;
  }

  .yekly-snapshot,
  .yekly-compare,
  .yekly-feature-grid,
  .yekly-journey,
  .yekly-build-grid,
  .yekly-cta {
    grid-template-columns: 1fr;
  }

  .yekly-snapshot article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .yekly-journey li::after {
    top: auto;
    right: auto;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .yekly-journey li:nth-child(2)::after {
    display: grid;
  }

  .yekly-cta {
    align-items: start;
    gap: 28px;
  }

  .yekly-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* PLACE case study */
.place-gallery-page {
  min-height: calc(100vh - 86px);
  overflow: clip;
}

.place-gallery-hero {
  padding-block: clamp(32px, 4vw, 52px) clamp(44px, 6vw, 76px);
}

.place-gallery-hero .back-link {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.place-gallery-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.place-gallery-logo {
  width: min(100%, 220px);
  padding: 11px 16px;
  margin-bottom: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fffdf8;
  box-shadow: 0 12px 32px rgba(58, 45, 41, 0.08);
}

.place-gallery-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.place-gallery-intro {
  max-width: 760px;
}

.place-gallery-intro h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.4vw, 4.15rem);
}

.place-gallery-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.place-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px 0 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
  gap: 24px;
}

.place-hero-facts div {
  min-width: 0;
}

.place-hero-facts dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.place-hero-facts dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.place-hero-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 26px 70px rgba(58, 45, 41, 0.13);
}

.place-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.place-hero-visual figcaption {
  padding: 16px 20px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.place-section-nav {
  position: sticky;
  z-index: 15;
  top: 86px;
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(16px);
}

.place-section-nav .shell {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.place-section-nav .shell > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.place-section-nav .shell > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.place-section-nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
  gap: 7px;
}

.place-section-nav a small {
  color: #d94b29;
  font-size: 0.58rem;
}

.place-section-nav a:hover,
.place-section-nav a:focus-visible,
.place-section-nav a.active {
  background: var(--sage-soft);
  color: var(--espresso);
}

.place-website-project,
.place-blog-project,
.annual-report-project,
.communications-project {
  scroll-margin-top: 154px;
}

.place-website-project {
  padding-block: clamp(44px, 5vw, 64px) clamp(62px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.place-work-header {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 46px);
  gap: clamp(42px, 8vw, 110px);
}

.place-work-header h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(2.05rem, 3.7vw, 3.5rem);
  line-height: 0.98;
}

.place-work-header > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
}

.learning-card-label {
  margin-bottom: 10px;
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.learning-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 14px 40px rgba(58, 45, 41, 0.045);
}

.learning-snapshot article {
  min-width: 0;
  padding-inline: clamp(20px, 3vw, 38px);
  border-left: 1px solid var(--line);
}

.learning-snapshot article:first-child {
  padding-left: 0;
  border-left: 0;
}

.learning-snapshot article:last-child {
  padding-right: 0;
}

.learning-snapshot article > p:last-child {
  max-width: 330px;
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.45;
}

.learning-tools {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 7px;
  list-style: none;
}

.learning-tools li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.7rem;
  font-weight: 800;
}

.learning-flow {
  margin-top: 26px;
  padding: 22px clamp(20px, 3vw, 34px);
  border-radius: var(--radius-md);
  background: var(--sage-soft);
}

.learning-flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.learning-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  padding-right: 30px;
  gap: 10px;
}

.learning-flow li:not(:last-child)::after {
  position: absolute;
  right: 10px;
  color: var(--sage-dark);
  content: "→";
}

.learning-flow li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-action);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 850;
}

.learning-flow strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.25;
}

.learning-flow small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.learning-showcase {
  padding-top: clamp(26px, 3vw, 38px);
}

.learning-showcase .section-heading {
  max-width: 800px;
  margin-bottom: 32px;
}

.learning-slider {
  position: relative;
  width: min(100%, 960px);
  margin-inline: auto;
}

.learning-slider-viewport {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 32px);
  background: var(--cream);
  box-shadow: var(--shadow);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.learning-slider-viewport::-webkit-scrollbar {
  display: none;
}

.learning-gallery {
  display: flex;
}

.learning-shot {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.learning-shot img {
  width: 100%;
  height: clamp(270px, 40vw, 440px);
  padding: clamp(10px, 2vw, 22px);
  border-bottom: 1px solid var(--line);
  background: #fff;
  object-fit: contain;
}

.learning-shot figcaption {
  min-height: 58px;
  padding: 16px 22px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.learning-slider-controls {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  padding-top: 20px;
  gap: 15px;
}

.learning-slider-arrow,
.learning-slider-dots button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--espresso);
  cursor: pointer;
}

.learning-slider-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: transform 180ms ease, background-color 180ms ease;
}

.learning-slider-arrow:hover,
.learning-slider-arrow:focus-visible {
  transform: translateY(-2px);
  background: var(--peach-soft);
}

.learning-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.learning-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  transition: width 180ms ease, background-color 180ms ease;
}

.learning-slider-dots button.active {
  width: 30px;
  background: #ef4e23;
}

.learning-slider-status {
  min-width: 46px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.place-blog-project {
  padding-block: clamp(62px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: #eef0e7;
}

.blog-project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.blog-project-copy {
  max-width: 740px;
}

.blog-project-copy h2 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1;
}

.blog-project-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

.blog-contributions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  gap: 9px;
  list-style: none;
}

.blog-contributions li {
  display: flex;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.76rem;
  font-weight: 800;
  gap: 9px;
}

.blog-contributions li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ef4e23;
  content: "";
}

.blog-illustration {
  display: grid;
  overflow: hidden;
  width: min(100%, 460px);
  margin: 0;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.blog-illustration img {
  width: 100%;
  height: auto;
  transition: transform 260ms ease;
}

.blog-illustration a {
  position: relative;
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-illustration a:hover img,
.blog-illustration a:focus-visible img {
  transform: scale(1.018);
}

.blog-illustration a > span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(31, 28, 26, 0.9);
  color: #fffdf8;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.blog-examples {
  padding-top: clamp(54px, 7vw, 86px);
}

.blog-examples .section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.blog-examples .section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.blog-examples .section-heading > p:last-child {
  font-size: 0.8rem;
}

.blog-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.blog-shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.blog-shot-featured {
  grid-column: 1 / -1;
}

.blog-shot > a {
  position: relative;
  display: block;
  height: 390px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.blog-shot:not(.blog-shot-featured) > a {
  height: 430px;
}

.blog-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 300ms ease;
}

.blog-shot a:hover img,
.blog-shot a:focus-visible img {
  transform: scale(1.015);
}

.blog-shot figcaption {
  display: grid;
  padding: 17px 20px 19px;
  gap: 2px;
}

.blog-shot figcaption strong {
  font-size: 0.9rem;
}

.blog-shot figcaption span {
  color: var(--muted);
  font-size: 0.75rem;
}

.annual-report-project {
  padding-block: clamp(62px, 8vw, 104px);
  border-top: 1px solid var(--line);
  background: #fff7ef;
}

.report-project-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1.22fr);
  align-items: center;
  gap: clamp(52px, 9vw, 120px);
}

.report-project-copy {
  max-width: 640px;
}

.report-project-copy h2 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.report-project-copy > p:not(.section-kicker) {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

.report-process {
  padding: 0;
  margin: 0;
  list-style: none;
}

.report-process li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.report-process li:first-child {
  border-top: 1px solid var(--line);
}

.report-process span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-action);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 850;
}

.report-process strong {
  font-size: 0.82rem;
}

.report-covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 3vw, 30px);
}

.report-cover-card {
  position: relative;
  min-width: 0;
}

.report-cover-card-offset {
  margin-top: 54px;
}

.report-cover-card a {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.report-paper-stack {
  position: absolute;
  inset: 10px -8px -10px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transform: rotate(2deg);
}

.report-cover-card img {
  position: relative;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 220ms ease;
}

.report-open-arrow {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(31, 28, 26, 0.86);
  color: #fffdf8;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(31, 28, 26, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, background-color 180ms ease;
}

.report-cover-card a:hover .report-open-arrow,
.report-cover-card a:focus-visible .report-open-arrow {
  background: #ef4e23;
  transform: translate(2px, -2px);
}

.report-cover-card a:hover img,
.report-cover-card a:focus-visible img {
  transform: translateY(-5px) rotate(-1deg);
}

.report-cover-card-offset a:hover img,
.report-cover-card-offset a:focus-visible img {
  transform: translateY(-5px) rotate(1deg);
}

.report-cover-caption {
  position: relative;
  display: grid;
  padding: 13px 4px 0;
  gap: 1px;
}

.report-cover-caption strong {
  font-size: 0.86rem;
}

.report-cover-caption small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.communications-project {
  padding-block: clamp(68px, 8vw, 108px);
  border-top: 1px solid var(--line);
  background: #edf3f1;
}

.communications-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.7fr);
  align-items: end;
  gap: clamp(42px, 8vw, 100px);
}

.communications-header h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1;
}

.communications-header > p {
  max-width: 540px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.35vw, 1.08rem);
}

.communications-scope {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 34px 0 0;
  gap: 9px;
  list-style: none;
}

.communications-scope li {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  gap: 8px;
}

.communications-scope li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ef4e23;
  content: "";
}

.communications-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  gap: 14px;
}

.communications-channels,
.communications-tools {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.72);
}

.communications-channels .learning-card-label,
.communications-tools .learning-card-label {
  margin-bottom: 11px;
}

.communications-channels ul,
.communications-tools ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 8px;
  list-style: none;
}

.communications-channels li,
.communications-tools li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.69rem;
  font-weight: 800;
}

.communications-channels li {
  border-color: rgba(217, 75, 41, 0.2);
  background: rgba(239, 78, 35, 0.07);
}

.communications-channels a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 5px;
}

.communications-channels a span {
  color: #d94b29;
  transition: transform 180ms ease;
}

.communications-channels a:hover span,
.communications-channels a:focus-visible span {
  transform: translate(2px, -2px);
}

.communications-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(34px, 5vw, 54px);
  gap: 14px;
}

.communications-metrics article {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 148px;
  justify-content: flex-end;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(58, 45, 41, 0.06);
}

.communications-metrics article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4e23, #e9a98f);
  content: "";
}

.communications-metrics strong {
  display: block;
  margin-bottom: 5px;
  color: #d94b29;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.25vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.communications-metrics .metric-range {
  display: flex;
  align-items: center;
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  white-space: nowrap;
  gap: clamp(5px, 0.7vw, 10px);
}

.communications-metrics .metric-range-wide {
  font-size: clamp(1.12rem, 1.45vw, 1.5rem);
}

.metric-range b {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7em;
  font-weight: 700;
}

.communications-metrics p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.social-gallery-block {
  margin-top: clamp(48px, 6vw, 72px);
}

.social-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 32px;
}

.social-gallery-heading h3 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}

.social-gallery-heading > p {
  max-width: 290px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.social-post-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.social-post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(58, 45, 41, 0.07);
  scroll-snap-align: start;
}

.social-post-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.social-post-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-bottom: 1px solid var(--line);
  background: #e8ece9;
}

.social-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.social-post-image > span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31, 28, 26, 0.86);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.social-post-image > i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(183, 52, 22, 0.94);
  color: #fff;
  font-size: 0.8rem;
  font-style: normal;
  box-shadow: 0 10px 30px rgba(31, 28, 26, 0.26);
}

.social-performance-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  gap: 22px;
  background:
    radial-gradient(circle at 22% 18%, rgba(37, 244, 238, 0.22), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(254, 44, 85, 0.24), transparent 34%),
    #171717;
  color: #fff;
  text-align: center;
}

.social-performance-visual > img {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: -6px 5px 0 rgba(37, 244, 238, 0.78), 6px -5px 0 rgba(254, 44, 85, 0.78);
}

.social-performance-visual > div {
  display: grid;
  gap: 5px;
}

.social-performance-visual > div strong {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 0.9;
}

.social-performance-visual > div small {
  max-width: 150px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.social-post-copy {
  min-height: 94px;
  padding: 15px 17px 18px;
}

.social-post-copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.84rem;
}

.social-post-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.35;
}

.social-post-card a:hover .social-post-image img,
.social-post-card a:focus-visible .social-post-image img {
  transform: scale(1.025);
}

.communications-evidence {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  margin-top: clamp(32px, 4.5vw, 48px);
  gap: 20px;
}

.analytics-evidence,
.newsletter-evidence {
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(58, 45, 41, 0.07);
}

.evidence-heading {
  max-width: 610px;
  margin-bottom: 22px;
}

.evidence-heading h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.evidence-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.analytics-evidence > a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8f6ef;
  color: inherit;
  text-decoration: none;
}

.analytics-evidence > a img {
  width: 100%;
  height: auto;
  transition: transform 240ms ease;
}

.analytics-evidence > a span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 28, 26, 0.88);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.analytics-evidence > a:hover img,
.analytics-evidence > a:focus-visible img {
  transform: scale(1.018);
}

.newsletter-previews {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.newsletter-previews a {
  display: grid;
  min-width: 0;
  color: inherit;
  font-size: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  gap: 8px;
}

.newsletter-previews a:nth-child(even) {
  transform: translateY(15px);
}

.newsletter-previews img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(58, 45, 41, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.newsletter-previews a:hover img,
.newsletter-previews a:focus-visible img {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(58, 45, 41, 0.16);
}

.place-next-project {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-top: clamp(58px, 7vw, 90px);
  padding: 24px clamp(22px, 4vw, 38px);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
  gap: 24px;
}

.place-next-project .section-kicker,
.place-next-project p {
  margin-bottom: 0;
}

.place-next-project > p:nth-child(2) {
  color: var(--muted);
  font-size: 0.9rem;
}

.place-next-project > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
}

.place-case-cta {
  padding-block: clamp(62px, 8vw, 104px);
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.place-case-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(58, 45, 41, 0.12);
  border-radius: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(circle at 92% 12%, rgba(232, 185, 165, 0.58), transparent 20rem),
    linear-gradient(135deg, #eef0e6, #e3e8dd);
  color: var(--espresso);
  box-shadow: 0 24px 64px rgba(58, 45, 41, 0.11);
  gap: clamp(34px, 6vw, 90px);
}

.place-case-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.place-case-cta .section-kicker {
  color: #c94a2b;
}

.place-case-cta h2 {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--espresso);
  font-size: clamp(2.15rem, 4vw, 3.75rem);
  line-height: 1;
}

.place-case-cta-copy > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: #625a55;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.7;
}

.place-case-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 230px;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
}

.place-case-cta-actions .button {
  min-height: 48px;
  padding-inline: 20px;
  white-space: nowrap;
}

.place-cta-primary {
  background: var(--accent-action);
  color: #fff;
  box-shadow: 0 12px 28px rgba(239, 78, 35, 0.28);
}

.place-cta-primary:hover,
.place-cta-primary:focus-visible {
  background: var(--accent-action-hover);
}

.place-cta-secondary {
  border-color: rgba(58, 45, 41, 0.18);
  background: rgba(255, 253, 248, 0.62);
  color: var(--espresso);
}

.place-cta-secondary:hover,
.place-cta-secondary:focus-visible {
  background: rgba(255, 253, 248, 0.95);
}

.project-detail-page {
  overflow: hidden;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding-block: clamp(70px, 10vw, 130px);
  gap: clamp(48px, 8vw, 110px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--espresso);
}

.detail-hero h1 {
  max-width: 800px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
}

.detail-lead {
  max-width: 670px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.detail-role-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.bcb-title-art {
  width: 100%;
  margin-bottom: 34px;
  padding: 24px;
  border-radius: 20px;
  background: #173e44;
}

.detail-role-card dl {
  display: grid;
  margin: 0;
}

.detail-role-card dl > div {
  display: grid;
  grid-template-columns: 105px 1fr;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  gap: 18px;
}

.detail-role-card dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.detail-role-card dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
}

.detail-role-card .tags {
  margin-bottom: 0;
}

.detail-preview-section {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--paper);
}

.browser-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 34px);
  background: var(--cream);
  box-shadow: 0 28px 80px rgba(58, 45, 41, 0.12);
}

.browser-bar {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}

.browser-bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--peach);
}

.browser-bar > span:nth-child(2) { background: #e2c16a; }
.browser-bar > span:nth-child(3) { background: var(--sage); }

.browser-bar div {
  max-width: 460px;
  padding: 8px 16px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-page {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 600px;
}

.browser-program-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 7vw, 90px);
  background: #173e44;
  color: white;
}

.browser-program-intro img {
  width: min(100%, 620px);
  margin-bottom: 34px;
}

.browser-program-intro p {
  max-width: 540px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.12;
}

.browser-cta {
  display: inline-flex;
  padding: 11px 18px;
  border-radius: 999px;
  background: #f1532d;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.browser-program-content {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: 1fr auto;
  padding: clamp(28px, 5vw, 65px);
  background: #f0b943;
}

.browser-copy-lines {
  display: grid;
  align-content: center;
  gap: 14px;
}

.browser-copy-lines span {
  display: block;
  height: 12px;
  border-radius: 99px;
  background: rgba(23, 62, 68, 0.28);
}

.browser-copy-lines span:nth-child(2) { width: 82%; }
.browser-copy-lines span:nth-child(3) { width: 92%; }
.browser-copy-lines span:nth-child(4) { width: 64%; }

.browser-program-content img {
  width: min(76%, 360px);
  aspect-ratio: 1;
  justify-self: end;
  border: 8px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(23, 62, 68, 0.2);
}

.preview-note {
  margin: 16px 4px 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.project-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-card {
  min-height: 310px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.story-card:nth-child(2) { background: var(--peach-soft); }
.story-card:nth-child(3) { background: var(--sage-soft); }

.story-card > span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--sage-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.story-card h3 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.story-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-decisions-section {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--sage-soft);
}

.detail-decisions-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(50px, 9vw, 130px);
}

.decision-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.decision-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  gap: 22px;
}

.decision-list li:first-child { padding-top: 0; }
.decision-list li:last-child { border-bottom: 0; }

.decision-list > li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
}

html[data-theme="dark"] .decision-list > li > span {
  color: #1f1c1a;
}

.decision-list h3 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.decision-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block: 100px 70px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: var(--radius-lg);
  background: var(--sage);
  gap: 40px;
}

.detail-next h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

html[data-theme="dark"] .detail-next {
  color: #1f1c1a;
}

html[data-theme="dark"] .detail-next .section-kicker {
  color: #332b27;
}

html[data-theme="dark"] .detail-next .button-light {
  background: #f4eee4;
  color: #1f1c1a;
}

@media (max-width: 980px) {
  .detail-hero,
  .detail-decisions-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-role-card {
    max-width: 680px;
  }

  .browser-page {
    grid-template-columns: 1fr;
  }

  .browser-program-content {
    min-height: 420px;
  }

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

  .story-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .detail-hero {
    padding-block: 52px 80px;
  }

  .back-link {
    margin-bottom: 34px;
  }

  .detail-role-card dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .browser-bar > span {
    display: none;
  }

  .browser-bar div {
    width: 100%;
  }

  .browser-page {
    min-height: 0;
  }

  .browser-program-intro {
    padding: 38px 26px;
  }

  .browser-program-content {
    min-height: 330px;
    padding: 28px;
  }

  .decision-list li {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }

  .decision-list > li > span {
    width: 36px;
    height: 36px;
  }

  .detail-next {
    align-items: flex-start;
    flex-direction: column;
    margin-block: 70px 50px;
  }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --cream: #1f1c1a;
  --paper: #292522;
  --sage: #9ea98f;
  --sage-dark: #bdc8ae;
  --sage-soft: #34392f;
  --espresso: #f4eee4;
  --muted: #c4b9b0;
  --peach: #dba58f;
  --peach-soft: #3d2d29;
  --line: rgba(244, 238, 228, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--espresso);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  transition: color 220ms ease, background-color 220ms ease;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
.wordmark {
  font-family: var(--serif);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  font-weight: 500;
  line-height: 0.96;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 99px;
  background: var(--espresso);
  color: var(--cream);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(247, 244, 234, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease;
}

html[data-theme="dark"] .site-header {
  background: rgba(31, 28, 26, 0.88);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  gap: 32px;
}

.wordmark {
  width: max-content;
  font-size: 1.55rem;
  font-weight: 600;
  text-decoration: none;
}

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

.nav-projects {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-projects-toggle {
  display: grid;
  width: 26px;
  height: 26px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-projects-toggle span {
  transform: translateY(-2px);
  font-size: 0.9rem;
  line-height: 1;
}

.nav-projects.is-open .nav-projects-toggle,
.nav-projects:hover .nav-projects-toggle,
.nav-projects:focus-within .nav-projects-toggle {
  transform: rotate(180deg);
  background: var(--sage-soft);
  color: var(--espresso);
}

.nav-projects-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 16px);
  left: 50%;
  display: grid;
  min-width: 220px;
  overflow: visible;
  padding: 8px;
  transform: translate(-50%, -8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 20px 50px rgba(58, 45, 41, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
  backdrop-filter: blur(16px);
  gap: 2px;
}

.nav-projects-menu::before {
  position: absolute;
  top: -17px;
  right: 0;
  left: 0;
  height: 17px;
  content: "";
}

.nav-projects.is-open .nav-projects-menu,
.nav-projects:hover .nav-projects-menu,
.nav-projects:focus-within .nav-projects-menu {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav .nav-projects-menu a {
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--espresso);
  font-size: 0.76rem;
  text-transform: none;
  letter-spacing: 0.02em;
  gap: 10px;
}

.site-nav .nav-projects-menu a::after {
  display: none;
}

.site-nav .nav-projects-menu a:hover,
.site-nav .nav-projects-menu a:focus-visible {
  background: var(--sage-soft);
}

.nav-projects-menu small {
  color: #c94a2b;
  font-size: 0.62rem;
  font-weight: 850;
}

html[data-theme="dark"] .nav-projects-toggle {
  border-color: rgba(236, 239, 230, 0.14);
  background: #232824;
  color: #d7d7d0;
}

html[data-theme="dark"] .nav-projects-menu {
  border-color: rgba(236, 239, 230, 0.14);
  background: rgba(29, 34, 31, 0.97);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .site-nav .nav-projects-menu a {
  color: #f5f2eb;
}

html[data-theme="dark"] .site-nav .nav-projects-menu a:hover,
html[data-theme="dark"] .site-nav .nav-projects-menu a:focus-visible {
  background: rgba(255, 121, 88, 0.1);
}

html[data-theme="dark"] .nav-projects-menu small {
  color: #ff7958;
}

.site-nav a,
.language-switch button {
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--peach);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 16px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch button {
  padding: 6px 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: none;
  cursor: pointer;
}

.language-switch button.active {
  border-bottom-color: var(--sage-dark);
  color: var(--espresso);
}

.theme-toggle {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--espresso);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(58, 45, 41, 0.06);
  transition: transform 180ms ease, background-color 220ms ease, color 220ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-2px) rotate(5deg);
}

.theme-icon {
  grid-area: 1 / 1;
  font-size: 1.08rem;
  line-height: 1;
  transition: opacity 180ms ease, transform 220ms ease;
}

.theme-icon-moon {
  transform: rotate(-25deg) scale(0.6);
  opacity: 0;
}

html[data-theme="dark"] .theme-icon-sun {
  transform: rotate(25deg) scale(0.6);
  opacity: 0;
}

html[data-theme="dark"] .theme-icon-moon {
  transform: rotate(0) scale(1);
  opacity: 1;
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding-block: 70px 90px;
  gap: clamp(40px, 8vw, 120px);
}

.eyebrow,
.section-kicker {
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 28px;
}

.hero-intro {
  max-width: 570px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--sage-dark);
  color: white;
  box-shadow: 0 12px 30px rgba(127, 137, 112, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #707a62;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.55);
}

html[data-theme="dark"] .button-secondary {
  background: rgba(41, 37, 34, 0.65);
}

html[data-theme="dark"] .button-primary {
  color: #1f1c1a;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-portrait {
  justify-self: end;
  width: min(100%, 470px);
  aspect-ratio: 0.86;
  overflow: hidden;
  border-radius: 48% 48% 26% 26% / 28% 28% 16% 16%;
  background: var(--sage-soft);
  box-shadow: var(--shadow);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.7);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .strengths {
  background: rgba(41, 37, 34, 0.76);
}

.strengths article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px;
  text-align: center;
}

.strengths article + article {
  border-left: 1px solid var(--line);
}

.strength-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.strengths h2 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
}

.strengths p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding-block: var(--section-space);
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--section-content-gap);
}

.section-heading > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(58, 45, 41, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-visual {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 1.55;
  place-items: center;
  color: rgba(58, 45, 41, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-visual-link {
  color: inherit;
  text-decoration: none;
}

.project-visual-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.project-visual-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(31, 28, 26, 0.82);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 8px 22px rgba(31, 28, 26, 0.18);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, background-color 180ms ease;
}

.project-visual-link:hover img,
.project-visual-link:focus-visible img {
  transform: scale(1.025);
}

.project-visual-link:hover .project-visual-arrow,
.project-visual-link:focus-visible .project-visual-arrow {
  transform: translate(2px, -2px);
  background: #ef4e23;
}

.visual-ecosystem {
  background: var(--sage-soft);
}

.visual-nahibu {
  background: #dcebf2;
}

.visual-nahibu.project-visual-link img {
  object-position: center 54%;
}

.nahibu-visual-brand {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 1px;
  min-width: 148px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #263c71;
  box-shadow: 0 10px 26px rgba(24, 43, 78, 0.2);
  backdrop-filter: blur(10px);
}

.nahibu-visual-brand strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.nahibu-visual-brand small {
  color: #476079;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

html[data-theme="dark"] .visual-nahibu {
  background: #263c71;
}

html[data-theme="dark"] .visual-ecosystem {
  background: var(--sage);
  color: #332b27;
}
.visual-communication { background: var(--peach-soft); }
.visual-web { background: #ece9df; }
.visual-lms { background: linear-gradient(135deg, var(--sage-soft), var(--peach-soft)); }

html[data-theme="dark"] .visual-web {
  background: #35312d;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.project-number {
  margin-bottom: 12px;
  color: var(--sage-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.project-content h3 {
  margin-bottom: 12px;
  font-size: 1.42rem;
}

.project-content > p:not(.project-number) {
  min-height: 112px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 18px 0;
  gap: 5px;
  list-style: none;
}

.project-card .text-link {
  align-self: flex-start;
  min-height: 44px;
  padding: 9px 12px;
  margin-top: auto;
  margin-left: -12px;
  border-radius: 999px;
  transition: background-color 180ms ease;
}

.project-card .text-link:hover,
.project-card .text-link:focus-visible {
  background: var(--sage-soft);
}

.project-link-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  margin-top: auto;
  border-radius: 12px;
  background: var(--accent-action);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(239, 78, 35, 0.2);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.project-link-button:hover,
.project-link-button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-action-hover);
  box-shadow: 0 14px 28px rgba(239, 78, 35, 0.28);
}

.tags li {
  padding: 5px 8px;
  border-radius: 99px;
  background: var(--cream);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.case-studies {
  display: grid;
  padding-block: 60px 120px;
  gap: 18px;
}

.case-study {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  padding: clamp(28px, 5vw, 64px);
  scroll-margin-top: 110px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.72);
  gap: 52px;
}

.case-study:nth-child(2) {
  border-left-color: var(--peach);
}

.case-study:nth-child(3) {
  border-left-color: var(--sage-dark);
}

.case-study:nth-child(4) {
  border-left-color: var(--peach);
}

html[data-theme="dark"] .case-study {
  background: rgba(41, 37, 34, 0.74);
}

.case-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.case-details {
  display: grid;
  gap: 28px;
}

.case-details > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.case-details > div:first-child {
  padding-top: 2px;
}

.case-details > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.case-details h3 {
  margin-bottom: 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.case-details p {
  margin-bottom: 0;
  color: var(--muted);
}

.journey-section {
  background: var(--paper);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.timeline::before {
  position: absolute;
  top: 11px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  min-width: 0;
  padding-top: 44px;
}

.timeline-item::before {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--sage-dark);
  box-shadow: 0 0 0 1px var(--sage-dark);
  content: "";
}

.timeline-item:nth-child(2)::before { background: var(--peach); box-shadow: 0 0 0 1px var(--peach); }
.timeline-item:nth-child(4)::before { background: var(--peach); box-shadow: 0 0 0 1px var(--peach); }

.timeline time,
.timeline-period {
  display: block;
  margin-bottom: 14px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline h3 {
  max-width: 330px;
  margin-bottom: 7px;
}

.timeline p {
  color: var(--muted);
}

.timeline-item > p:not(.timeline-description) {
  margin-bottom: 14px;
  font-size: 0.84rem;
  font-weight: 800;
}

.timeline .timeline-description {
  max-width: 350px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.62;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.education-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  min-height: 230px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(58, 45, 41, 0.05);
  gap: clamp(24px, 4vw, 54px);
}

.education-card:nth-child(2) {
  background: var(--peach-soft);
}

html[data-theme="dark"] .education-card:first-child {
  background: var(--sage);
  color: #1f1c1a;
}

html[data-theme="dark"] .education-card:first-child .education-year {
  background: rgba(255, 253, 248, 0.68);
  color: #332b27;
}

html[data-theme="dark"] .education-card:first-child .education-level,
html[data-theme="dark"] .education-card:first-child .education-school {
  color: #443a35;
}

.education-year {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.education-card:nth-child(2) .education-year {
  background: rgba(255, 253, 248, 0.65);
  color: var(--espresso);
}

.education-level {
  margin-bottom: 10px;
  color: var(--sage-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.education-card h3 {
  max-width: 430px;
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.education-school {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.education-focus {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  gap: 7px;
}

.education-focus li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 750;
}

html[data-theme="dark"] .education-card:first-child .education-focus li {
  border-color: rgba(58, 45, 41, 0.14);
  background: rgba(255, 253, 248, 0.55);
  color: #443a35;
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.about-copy > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.03rem;
}

.creator-card {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 24px;
  margin-top: 30px;
  border: 1px solid rgba(58, 45, 41, 0.08);
  border-radius: var(--radius-md);
  background: var(--peach-soft);
  gap: 18px;
  transition: border-color 180ms ease;
}

.creator-card:focus-within {
  border-color: var(--peach);
}

.creator-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--paper);
  color: var(--espresso);
}

.creator-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.creator-icon .creator-icon-dot {
  fill: currentColor;
  stroke: none;
}

.creator-label {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.creator-card h3 {
  margin-bottom: 9px;
  font-size: 1.55rem;
}

.creator-card div > p:not(.creator-label) {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.creator-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.creator-link span:first-child {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
}

html[data-theme="dark"] .creator-link span:first-child {
  background: rgba(41, 37, 34, 0.66);
}

.creator-link:hover span:last-child {
  transform: translate(2px, -2px);
}

.personal-facts {
  display: grid;
  margin: 38px 0 0;
  gap: 13px;
}

.personal-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.personal-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.personal-facts dd {
  margin: 0;
  font-weight: 700;
}

.photo-collage {
  display: grid;
  width: min(100%, 480px);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.photo-column {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 10px;
}

.photo-slot {
  display: grid;
  min-width: 0;
  min-height: 0;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(58, 45, 41, 0.09);
  border-radius: 16px;
  background: #edeae2;
  overflow: hidden;
}

.photo-slot img {
  display: block;
  width: 100%;
  height: auto;
}

html[data-theme="dark"] .photo-slot {
  background: #292724;
}

.process-section {
  background: var(--sage-soft);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  margin: 0;
  gap: 12px;
  list-style: none;
}

.process-list li {
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  border: 1px solid rgba(58, 45, 41, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.64);
  text-align: center;
}

html[data-theme="dark"] .process-list li {
  background: rgba(41, 37, 34, 0.68);
}

html[data-theme="dark"] .process-list span {
  color: #1f1c1a;
}

.process-list span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
}

.process-list li:nth-child(even) span {
  background: #d79376;
}

.process-list h3 {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
}

.process-list p {
  max-width: 190px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-list span {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.86rem;
  font-weight: 700;
}

html[data-theme="dark"] .skill-list span:first-child {
  border-color: transparent;
  background: var(--sage);
  color: #1f1c1a;
}

.contact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  margin-block: var(--section-space);
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(58, 45, 41, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eef0e6, #e3e8dd);
  box-shadow: 0 24px 64px rgba(58, 45, 41, 0.11);
  gap: 40px;
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact .section-kicker {
  color: #c94a2b;
}

.contact h2 {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--espresso);
}

.contact p:last-child {
  margin-bottom: 0;
  color: #625a55;
}

.contact-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 20px;
}

.contact .button {
  min-width: 124px;
}

.button-light {
  background: var(--paper);
}

.contact .button-light {
  background: var(--accent-action);
  color: #fff;
  box-shadow: 0 12px 28px rgba(239, 78, 35, 0.24);
}

.contact .button-light:hover,
.contact .button-light:focus-visible {
  background: var(--accent-action-hover);
}

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

html[data-theme="dark"] .contact {
  border-color: rgba(236, 239, 230, 0.14);
  background: linear-gradient(135deg, #22352f, #1b2925);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .contact h2 {
  color: #fffdf8;
}

html[data-theme="dark"] .contact p:last-child {
  color: #d4ddd7;
}

html[data-theme="dark"] .contact .section-kicker {
  color: #ff987d;
}

html[data-theme="dark"] .contact .text-link {
  color: #fff;
}

html[data-theme="dark"] .contact .button-light {
  background: var(--accent-action);
  color: #fff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px 42px;
  color: var(--muted);
  font-size: 0.78rem;
  gap: 24px;
}

.site-footer p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  z-index: 40;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 34px);
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 7px 7px 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  color: var(--espresso);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  backdrop-filter: blur(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  gap: 9px;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top > span:last-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.95rem;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.back-to-top:hover > span:last-child,
.back-to-top:focus-visible > span:last-child {
  background: var(--espresso);
  color: var(--cream);
  transform: translateY(-3px);
}

/* Refined night mode for the PLACE case study */
html[data-theme="dark"] body[data-title-key="placeGalleryPageTitle"] {
  --cream: #151816;
  --paper: #1d221f;
  --sage-soft: #263029;
  --sage-dark: #c3cfb6;
  --espresso: #f5f1e9;
  --muted: #b7b8b1;
  --line: rgba(236, 239, 230, 0.13);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  background: #151816;
}

html[data-theme="dark"] body[data-title-key="placeGalleryPageTitle"] .site-header {
  background: rgba(21, 24, 22, 0.9);
}

html[data-theme="dark"] .place-section-nav {
  background: rgba(29, 34, 31, 0.92);
}

html[data-theme="dark"] .place-section-nav a:hover,
html[data-theme="dark"] .place-section-nav a:focus-visible,
html[data-theme="dark"] .place-section-nav a.active {
  background: rgba(255, 121, 88, 0.12);
}

html[data-theme="dark"] .place-section-nav a small {
  color: #ff7958;
}

html[data-theme="dark"] .place-gallery-page {
  background:
    radial-gradient(circle at 80% 4%, rgba(239, 78, 35, 0.09), transparent 25rem),
    #151816;
}

html[data-theme="dark"] .place-gallery-hero {
  border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .place-gallery-logo {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: #f8f6ef;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .place-hero-visual {
  border-color: rgba(236, 239, 230, 0.15);
  background: #1e2521;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] .place-gallery-page .section-kicker,
html[data-theme="dark"] .place-gallery-page .learning-card-label {
  color: #ff7958;
}

html[data-theme="dark"] .place-gallery-intro h1,
html[data-theme="dark"] .place-work-header h2,
html[data-theme="dark"] .blog-project-copy h2,
html[data-theme="dark"] .report-project-copy h2 {
  color: #fbf8f1;
}

html[data-theme="dark"] .place-website-project {
  border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] .learning-snapshot {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(29, 34, 31, 0.86);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .learning-snapshot article {
  padding-block: 14px;
}

html[data-theme="dark"] .learning-tools li {
  border-color: rgba(255, 121, 88, 0.22);
  background: rgba(255, 121, 88, 0.07);
  color: #eeeae2;
}

html[data-theme="dark"] .learning-flow {
  border: 1px solid rgba(195, 207, 182, 0.14);
  background: linear-gradient(135deg, #242d27, #202722);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03), 0 18px 45px rgba(0, 0, 0, 0.16);
}

html[data-theme="dark"] .learning-flow li:not(:last-child)::after {
  color: #ff7958;
  opacity: 0.72;
}

html[data-theme="dark"] .learning-flow li > span,
html[data-theme="dark"] .report-process span {
  background: #f05a36;
  box-shadow: 0 6px 18px rgba(240, 90, 54, 0.2);
}

html[data-theme="dark"] .learning-slider-viewport {
  border-color: rgba(236, 239, 230, 0.16);
  background: #1b201d;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] .learning-shot figcaption {
  background: #1d221f;
  color: #c8c9c2;
}

html[data-theme="dark"] .learning-slider-arrow {
  border-color: rgba(236, 239, 230, 0.16);
  background: #222824;
}

html[data-theme="dark"] .learning-slider-arrow:hover,
html[data-theme="dark"] .learning-slider-arrow:focus-visible {
  background: #f05a36;
  color: #fff;
}

html[data-theme="dark"] .place-blog-project {
  border-color: var(--line);
  background:
    linear-gradient(145deg, rgba(195, 207, 182, 0.035), transparent 48%),
    #1b201d;
}

html[data-theme="dark"] .blog-contributions li {
  border-color: rgba(236, 239, 230, 0.13);
  background: #232925;
  color: #e9e6de;
}

html[data-theme="dark"] .blog-illustration {
  border-color: rgba(236, 239, 230, 0.18);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .annual-report-project {
  border-color: var(--line);
  background:
    radial-gradient(circle at 82% 46%, rgba(239, 78, 35, 0.06), transparent 28rem),
    #151816;
}

html[data-theme="dark"] .report-process li {
  border-color: rgba(236, 239, 230, 0.14);
}

html[data-theme="dark"] .report-paper-stack {
  border-color: rgba(236, 239, 230, 0.16);
  background: #252b27;
}

html[data-theme="dark"] .report-cover-card img {
  border-color: rgba(236, 239, 230, 0.2);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .communications-project {
  border-color: var(--line);
  background:
    radial-gradient(circle at 12% 20%, rgba(78, 135, 124, 0.1), transparent 28rem),
    #171d1c;
}

html[data-theme="dark"] .communications-scope li {
  border-color: rgba(236, 239, 230, 0.14);
  background: #222925;
}

html[data-theme="dark"] .communications-channels,
html[data-theme="dark"] .communications-tools {
  border-color: rgba(236, 239, 230, 0.14);
  background: #1e2521;
}

html[data-theme="dark"] .communications-channels li {
  border-color: rgba(255, 121, 88, 0.22);
  background: rgba(255, 121, 88, 0.08);
}

html[data-theme="dark"] .communications-metrics article,
html[data-theme="dark"] .analytics-evidence,
html[data-theme="dark"] .newsletter-evidence,
html[data-theme="dark"] .social-post-card {
  border-color: rgba(236, 239, 230, 0.15);
  background: #1e2521;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .communications-metrics strong {
  color: #ff7958;
}

html[data-theme="dark"] .analytics-evidence > a,
html[data-theme="dark"] .newsletter-previews img {
  border-color: rgba(236, 239, 230, 0.18);
}

html[data-theme="dark"] .communications-tools li {
  border-color: rgba(236, 239, 230, 0.14);
  background: #222925;
}

html[data-theme="dark"] .place-next-project {
  border-color: rgba(255, 121, 88, 0.3);
  background: #1d221f;
}

html[data-theme="dark"] .place-next-project > span {
  background: rgba(255, 121, 88, 0.12);
  color: #ff7958;
}

html[data-theme="dark"] .place-case-cta {
  border-color: rgba(236, 239, 230, 0.13);
  background: #151816;
}

html[data-theme="dark"] .place-case-cta-card {
  border-color: rgba(236, 239, 230, 0.14);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 121, 88, 0.18), transparent 20rem),
    linear-gradient(135deg, #22352f, #1b2925);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .place-case-cta .section-kicker {
  color: #ff987d;
}

html[data-theme="dark"] .place-case-cta h2 {
  color: #fffdf8;
}

html[data-theme="dark"] .place-case-cta-copy > p:last-child {
  color: #d4ddd7;
}

html[data-theme="dark"] .place-cta-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

html[data-theme="dark"] .place-cta-secondary:hover,
html[data-theme="dark"] .place-cta-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 4px;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 12px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    gap: 6px;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--espresso);
  }

  .site-nav {
    position: fixed;
    inset: 86px 0 auto;
    display: grid;
    padding: 34px 24px 40px;
    transform: translateY(-130%);
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .nav-projects {
    display: grid;
    grid-template-columns: auto 34px;
    justify-content: center;
    gap: 7px;
  }

  .nav-projects-menu,
  .nav-projects:hover .nav-projects-menu,
  .nav-projects:focus-within .nav-projects-menu {
    position: static;
    display: none;
    min-width: min(320px, calc(100vw - 48px));
    grid-column: 1 / -1;
    padding: 7px;
    margin-top: 8px;
    transform: none;
    text-align: left;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-projects-menu::before {
    display: none;
  }

  .nav-projects.is-open .nav-projects-menu {
    display: grid;
    transform: none;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .menu-button {
    grid-column: 3;
    grid-row: 1;
  }

  .hero {
    grid-template-columns: 1fr 0.7fr;
    gap: 40px;
  }

  .strengths {
    grid-template-columns: 1fr 1fr;
  }

  .strengths article:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .strengths article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card {
    display: flex;
  }

  .project-visual {
    min-height: 0;
    aspect-ratio: 1.55;
  }

  .case-study,
  .about {
    grid-template-columns: 1fr;
  }

  .case-study {
    gap: 36px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 30px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 7px;
    width: 1px;
    height: auto;
  }

  .timeline-item {
    padding: 0 0 30px;
  }

  .timeline-item::before {
    top: 3px;
    left: -30px;
  }

  .timeline .timeline-description {
    max-width: 720px;
  }

  .education-card {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .education-grid {
    grid-template-columns: 1fr;
  }

  .education-card {
    min-height: auto;
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1240px);
  }

  .header-inner {
    min-height: 72px;
    gap: 12px;
  }

  .wordmark {
    font-size: 1.2rem;
  }

  .site-nav {
    inset: 72px 0 auto;
  }

  .header-actions {
    gap: 9px;
  }

  .language-switch {
    gap: 4px;
  }

  .language-switch button {
    font-size: 0.72rem;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 56px 76px;
  }

  .hero-copy {
    display: contents;
  }

  .eyebrow {
    order: 1;
    margin-bottom: 0;
  }

  h1 {
    order: 2;
    margin-bottom: 0;
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-intro {
    order: 4;
    margin-bottom: 0;
  }

  .button-row {
    order: 5;
  }

  .hero-portrait {
    order: 3;
    justify-self: center;
    width: min(90%, 390px);
  }

  .strengths {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .strengths article + article,
  .strengths article:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding-block: var(--section-space);
  }

  .section-heading {
    margin-bottom: var(--section-content-gap);
  }

  .project-card {
    display: block;
  }

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

  .project-visual {
    min-height: 0;
    aspect-ratio: 1.5;
  }

  .project-content > p:not(.project-number) {
    min-height: 0;
  }

  .case-studies {
    padding-block: 36px 80px;
  }

  .case-study {
    gap: 34px;
  }

  .case-details > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline {
    grid-template-columns: 1fr;
    padding-left: 30px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 7px;
    width: 1px;
    height: auto;
  }

  .timeline-item {
    padding: 0 0 30px;
  }

  .timeline-item::before {
    top: 3px;
    left: -30px;
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .education-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 0;
  }

  .creator-card {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: start;
    flex-direction: column;
  }

  .contact-actions {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 980px) {
  .place-gallery-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .place-gallery-intro {
    max-width: 760px;
  }

  .place-hero-visual {
    width: min(100%, 760px);
  }

  .place-work-header {
    grid-template-columns: 1fr;
  }

  .place-work-header {
    align-items: start;
    gap: 28px;
  }

  .report-project-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .report-covers {
    width: min(100%, 700px);
    margin-inline: auto;
  }

  .communications-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .communications-header > p {
    max-width: 720px;
  }

  .communications-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-post-gallery {
    grid-auto-columns: minmax(230px, 38vw);
    grid-template-columns: none;
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
}

@media (max-width: 820px) {
  .blog-project-intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .blog-illustration {
    width: min(70%, 320px);
    justify-self: center;
  }

  .communications-evidence {
    grid-template-columns: 1fr;
  }

  .place-case-cta-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .place-case-cta-actions {
    width: 100%;
    min-width: 0;
    flex-flow: row wrap;
    align-items: center;
  }

  .place-case-cta-actions .button {
    flex: 1 1 210px;
  }

  .learning-flow ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .learning-flow li {
    padding-right: 0;
  }

  .learning-flow li::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .place-gallery-hero {
    padding-block: 30px 44px;
  }

  .place-section-nav {
    top: 72px;
  }

  .place-section-nav .shell {
    min-height: 58px;
  }

  .place-section-nav .shell > span {
    display: none;
  }

  .place-section-nav .shell > div {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .place-section-nav .shell > div::-webkit-scrollbar {
    display: none;
  }

  .place-section-nav a {
    flex: 1 0 auto;
    justify-content: center;
    padding-inline: 10px;
    white-space: nowrap;
  }

  .place-website-project,
  .place-blog-project,
  .annual-report-project,
  .communications-project {
    scroll-margin-top: 130px;
  }

  .place-gallery-logo {
    width: min(100%, 190px);
  }

  .place-hero-facts {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .place-hero-visual figcaption {
    padding: 14px 16px 16px;
  }

  .place-website-project {
    padding-top: 40px;
  }

  .place-gallery-intro h1,
  .place-work-header h2 {
    font-size: clamp(2.2rem, 10.5vw, 3.35rem);
  }

  .learning-snapshot {
    grid-template-columns: 1fr;
    padding-block: 0;
  }

  .learning-snapshot article,
  .learning-snapshot article:first-child,
  .learning-snapshot article:last-child {
    padding: 17px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .learning-snapshot article:first-child {
    border-top: 0;
  }

  .learning-flow {
    padding: 20px;
  }

  .blog-contributions,
  .blog-showcase {
    grid-template-columns: 1fr;
  }

  .report-covers {
    gap: 14px;
  }

  .report-cover-card-offset {
    margin-top: 28px;
  }

  .report-open-arrow {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .newsletter-previews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .newsletter-previews a:nth-child(even) {
    transform: translateY(10px);
  }

  .communications-tools {
    min-width: 0;
  }

  .communications-meta {
    grid-template-columns: 1fr;
  }

  .social-gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .social-gallery-heading > p {
    max-width: 430px;
  }

  .social-post-gallery {
    grid-auto-columns: minmax(235px, 78vw);
  }

  .blog-shot-featured {
    grid-column: auto;
  }

  .blog-shot > a,
  .blog-shot:not(.blog-shot-featured) > a {
    height: clamp(280px, 72vw, 390px);
  }

  .learning-shot img {
    height: clamp(240px, 76vw, 340px);
    padding: 8px;
  }

  .learning-slider-controls {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .learning-slider-status {
    display: none;
  }

  .place-next-project {
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
  }

  .place-next-project .section-kicker {
    grid-column: 1 / -1;
  }

  .place-case-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .place-case-cta-actions .button {
    flex: 0 0 auto;
  }

}

@media (max-width: 480px) {
  .communications-metrics {
    grid-template-columns: 1fr;
  }

  .communications-metrics article {
    min-height: 128px;
  }
}

/* PLACE LMS case study */
.visual-lms {
  padding: 22px;
  background: linear-gradient(145deg, #dfe5d8, #f4d9cc);
}

.visual-lms-collage {
  padding: 0;
}

.lms-card-window {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(58, 45, 41, 0.14);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 16px 36px rgba(58, 45, 41, 0.16);
  text-align: left;
  text-transform: none;
}

.lms-card-bar {
  display: flex;
  height: 26px;
  align-items: center;
  padding: 0 9px;
  border-bottom: 1px solid rgba(58, 45, 41, 0.1);
  gap: 4px;
}

.lms-card-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e8b9a5;
}

.lms-card-bar span {
  margin-left: auto;
  color: #897d76;
  font-size: 0.42rem;
  letter-spacing: 0.03em;
}

.lms-card-interface {
  display: grid;
  min-height: 112px;
  grid-template-columns: 31% 1fr;
}

.lms-card-sidebar {
  display: grid;
  align-content: start;
  padding: 13px 10px;
  background: #f4f1e8;
  gap: 8px;
}

.lms-card-sidebar img {
  width: 68px;
  height: auto;
  margin-bottom: 5px;
}

.lms-card-sidebar b {
  width: 70%;
  height: 4px;
  border-radius: 99px;
  background: #cbd1c0;
}

.lms-card-dashboard {
  padding: 14px;
}

.lms-card-dashboard small {
  display: block;
  margin-bottom: 4px;
  color: #ef4e23;
  font-size: 0.42rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lms-card-dashboard strong {
  display: block;
  max-width: 150px;
  color: #3a2d29;
  font-size: 0.65rem;
  line-height: 1.22;
}

.lms-card-dashboard > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  gap: 5px;
}

.lms-card-dashboard > div i {
  height: 35px;
  border-radius: 5px;
  background: #e9eadf;
}

.lms-card-dashboard > div i:nth-child(2) { background: #f6ded4; }
.lms-card-dashboard > div i:nth-child(3) { background: #f4e8b6; }

.lms-page {
  --lms-orange: var(--accent-action);
  --lms-orange-dark: var(--accent-action-hover);
  overflow: clip;
  background: var(--cream);
}

.lms-hero {
  padding-block: clamp(32px, 4vw, 52px) clamp(52px, 6vw, 76px);
}

.lms-hero .back-link {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.lms-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
}

.lms-place-logo {
  display: block;
  width: 142px;
  height: auto;
  margin-bottom: 26px;
}

.lms-hero-copy .section-kicker,
.lms-section .section-kicker,
.lms-cta .section-kicker {
  color: var(--lms-orange-dark);
}

.lms-hero-copy h1 {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.2vw, 4.05rem);
}

.lms-hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.lms-hero-actions,
.lms-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.lms-button {
  background: var(--lms-orange);
  color: #fff;
}

.lms-button:hover,
.lms-button:focus-visible {
  background: var(--lms-orange-dark);
}

.lms-browser {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 28px 70px rgba(58, 45, 41, 0.14);
}

.lms-hero-screenshot {
  min-width: 0;
  margin: 0;
}

.lms-hero-screenshot > a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.55;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffaf0;
  box-shadow: 0 28px 70px rgba(58, 45, 41, 0.14);
}

.lms-hero-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms ease;
}

.lms-hero-screenshot > a > span,
.lms-tour-card > a > span {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(31, 28, 26, 0.82);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 8px 22px rgba(31, 28, 26, 0.18);
}

.lms-hero-screenshot > a:hover img,
.lms-hero-screenshot > a:focus-visible img,
.lms-tour-card > a:hover img,
.lms-tour-card > a:focus-visible img {
  transform: scale(1.015);
}

.lms-hero-screenshot figcaption {
  padding: 13px 6px 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.lms-browser-bar {
  display: flex;
  height: 46px;
  align-items: center;
  padding-inline: 17px;
  border-bottom: 1px solid rgba(58, 45, 41, 0.1);
  gap: 7px;
}

.lms-browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
}

.lms-browser-bar span {
  margin-left: auto;
  color: #8a7e77;
  font-size: 0.68rem;
  font-weight: 750;
}

.lms-browser-body {
  display: grid;
  min-height: 390px;
  grid-template-columns: 27% 1fr;
}

.lms-browser-body aside {
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  background: #f1eee5;
  gap: 16px;
}

.lms-browser-body aside img {
  width: 98px;
  height: auto;
  margin-bottom: 20px;
}

.lms-browser-body aside span {
  width: 74%;
  height: 9px;
  border-radius: 99px;
  background: #cdd2c4;
}

.lms-browser-body aside span.is-active {
  width: 92%;
  background: var(--lms-orange);
}

.lms-browser-content {
  padding: clamp(28px, 4vw, 48px);
}

.lms-browser-content > small {
  display: block;
  margin-bottom: 10px;
  color: var(--lms-orange-dark);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lms-browser-content h2 {
  max-width: 360px;
  margin-bottom: 24px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.lms-progress {
  height: 7px;
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 99px;
  background: #e3e0d8;
}

.lms-progress span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--sage-dark);
}

.lms-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lms-course-grid article {
  min-width: 0;
  padding: 16px 13px;
  border: 1px solid rgba(58, 45, 41, 0.1);
  border-radius: 13px;
  background: #f7f4ea;
}

.lms-course-grid article:nth-child(2) { background: #f6ded4; }
.lms-course-grid article:nth-child(3) { background: #e9eadf; }

.lms-course-grid i {
  display: block;
  margin-bottom: 20px;
  color: var(--lms-orange-dark);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 850;
}

.lms-course-grid b {
  display: block;
  overflow: hidden;
  margin-bottom: 12px;
  color: #3a2d29;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-course-grid article > span {
  display: block;
  width: 70%;
  height: 5px;
  border-radius: 99px;
  background: rgba(58, 45, 41, 0.14);
}

.lms-snapshot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(36px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.lms-snapshot article {
  min-width: 0;
  padding: 22px 24px;
}

.lms-snapshot article + article {
  border-left: 1px solid var(--line);
}

.lms-snapshot span {
  display: block;
  margin-bottom: 7px;
  color: var(--lms-orange-dark);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lms-snapshot strong {
  font-size: 0.9rem;
  line-height: 1.45;
}

.lms-section {
  padding-block: clamp(68px, 8vw, 108px);
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.lms-overview,
.lms-journey-section {
  background: var(--paper);
}

.lms-section-heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 4vw, 48px);
}

.lms-section-heading h2,
.lms-ownership-copy h2 {
  margin-bottom: 16px;
}

.lms-section-heading > p:last-child,
.lms-ownership-copy > p:last-child,
.lms-overview-copy > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.lms-two-column,
.lms-ownership-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.lms-two-column .lms-section-heading {
  margin-bottom: 0;
}

.lms-overview-copy ul {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.lms-overview-copy li {
  position: relative;
  padding: 15px 0 15px 30px;
  border-top: 1px solid var(--line);
  font-weight: 750;
}

.lms-overview-copy li::before {
  position: absolute;
  top: 18px;
  left: 2px;
  color: var(--lms-orange);
  content: "✓";
}

.lms-tour-section {
  background: #f4f2ed;
}

.lms-tour-section .lms-section-heading {
  max-width: 790px;
  margin-bottom: 26px;
}

.lms-community-summary {
  display: flex;
  max-width: 1040px;
  padding: 18px 0;
  margin: 0 auto 30px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.lms-community-summary > p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.lms-community-summary ul {
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  list-style: none;
}

.lms-community-summary li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--espresso);
  font-size: 0.66rem;
  font-weight: 780;
  white-space: nowrap;
}

.lms-media-showcase {
  display: grid;
  width: min(100%, 1180px);
  margin-inline: auto;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 18px;
}

.lms-video-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 16px 44px rgba(58, 45, 41, 0.08);
}

.lms-video-panel-copy {
  padding: clamp(22px, 3vw, 32px);
}

.lms-video-panel-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.lms-video-panel-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.lms-video-panel-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.lms-video-panel-media img {
  display: block;
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  padding: 12px;
  object-fit: contain;
  transition: transform 280ms ease;
}

.lms-video-panel-media:hover img,
.lms-video-panel-media:focus-visible img {
  transform: scale(1.025);
}

.lms-video-panel-copy .text-link {
  margin-top: 18px;
}

.lms-tour-slider {
  width: 100%;
  margin: 0;
}

.lms-tour-slider .learning-slider-viewport {
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 16px 44px rgba(58, 45, 41, 0.08);
}

.lms-tour-slide .lms-tour-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.lms-tour-slide .lms-tour-media img {
  display: block;
  width: 100%;
  height: clamp(360px, 37vw, 500px);
  padding: clamp(12px, 2vw, 22px);
  border: 0;
  background: #fff;
  object-fit: contain;
  object-position: center;
  transition: transform 320ms ease;
}

.lms-tour-slide .lms-tour-media:hover img {
  transform: scale(1.08);
}

.lms-tour-slide figcaption {
  display: grid;
  min-height: 104px;
  padding: 20px clamp(20px, 3vw, 30px) 22px;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 28px;
}

.lms-tour-slide figcaption strong {
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.28;
}

.lms-tour-slide figcaption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.58;
}

.lms-media-showcase .lms-tour-slide figcaption {
  grid-template-columns: 1fr;
  gap: 7px;
}

.lms-tour-video .lms-video-play {
  width: 64px;
  height: 64px;
  background: var(--lms-orange);
  font-size: 1.05rem;
}

.lms-tour-slider .learning-slider-controls {
  padding-top: 16px;
}

.lms-tour-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: stretch;
  margin-bottom: 16px;
  gap: 16px;
}

.lms-video-block,
.lms-community-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(58, 45, 41, 0.07);
}

.lms-video-copy,
.lms-community-card > div {
  padding: clamp(24px, 3vw, 34px);
}

.lms-video-copy h3,
.lms-community-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.lms-video-copy > p:last-child,
.lms-community-card > div > p:last-of-type {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.lms-video-block .lms-video-frame {
  margin-inline: clamp(18px, 2.5vw, 28px);
  border-radius: 16px;
  box-shadow: none;
}

.lms-video-block .lms-video-link {
  margin: 15px clamp(18px, 2.5vw, 28px) 22px;
}

.lms-community-card {
  display: flex;
  flex-direction: column;
  background: #f5e0d7;
}

.lms-community-card ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 22px 0 0;
  gap: 7px;
  list-style: none;
}

.lms-community-card li {
  padding: 8px 10px;
  border: 1px solid rgba(58, 45, 41, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.64);
  color: #4a3d37;
  font-size: 0.7rem;
  font-weight: 780;
}

.lms-community-card > a {
  position: relative;
  display: block;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  border-top: 1px solid rgba(58, 45, 41, 0.12);
  background: #fffaf0;
}

.lms-community-card > a img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: top center;
  transition: transform 300ms ease;
}

.lms-community-card > a > span {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(31, 28, 26, 0.82);
  color: #fff;
  font-size: 0.9rem;
}

.lms-community-card > a:hover img,
.lms-community-card > a:focus-visible img {
  transform: scale(1.015);
}

.lms-product-tour {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.lms-tour-course {
  grid-column: span 2;
}

.lms-tour-card {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(58, 45, 41, 0.07);
}

.lms-tour-card > a {
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fffaf0;
}

.lms-tour-card > a img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  transition: transform 300ms ease;
}

.lms-tour-card figcaption {
  padding: 22px 24px 24px;
}

.lms-tour-card figcaption strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.25;
}

.lms-tour-card figcaption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.lms-process-grid {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.lms-process-grid li {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.lms-process-grid li:nth-child(2),
.lms-process-grid li:nth-child(4) {
  background: var(--sage-soft);
}

.lms-process-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--lms-orange-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.lms-process-grid h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.lms-process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.lms-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lms-video-section {
  background: #e5e9df;
}

.lms-video-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 46px);
  gap: clamp(34px, 6vw, 86px);
}

.lms-video-heading h2 {
  max-width: 760px;
}

.lms-video-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.lms-video-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(58, 45, 41, 0.14);
  border-radius: 22px;
  background: #181716;
  box-shadow: 0 24px 60px rgba(58, 45, 41, 0.16);
  color: #fff;
  text-decoration: none;
}

.lms-video-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.lms-video-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 18, 16, 0.68));
  content: "";
}

.lms-video-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(64px, 8vw, 92px);
  height: clamp(64px, 8vw, 92px);
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: var(--lms-orange);
  box-shadow: 0 14px 36px rgba(31, 26, 23, 0.28);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  transform: translate(-50%, -50%);
  transition: transform 220ms ease, background-color 220ms ease;
}

.lms-video-watch {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  left: 24px;
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.lms-video-frame:hover > img,
.lms-video-frame:focus-visible > img {
  filter: brightness(0.88);
  transform: scale(1.02);
}

.lms-video-frame:hover .lms-video-play,
.lms-video-frame:focus-visible .lms-video-play {
  background: var(--lms-orange-dark);
  transform: translate(-50%, -50%) scale(1.06);
}

.lms-video-link {
  display: inline-flex;
  margin-top: 18px;
}

.lms-journey::before {
  position: absolute;
  top: 25px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: var(--line);
  content: "";
}

.lms-journey article {
  position: relative;
  text-align: center;
}

.lms-journey article > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  place-items: center;
  border: 1px solid var(--lms-orange);
  border-radius: 50%;
  background: var(--paper);
  color: var(--lms-orange-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.lms-journey h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.lms-journey p {
  max-width: 230px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.lms-ownership-section {
  background: #e5e9df;
}

.lms-ownership-copy .section-kicker {
  margin-bottom: 12px;
}

.lms-scope-list {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.lms-scope-list li {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(58, 45, 41, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.86rem;
  font-weight: 780;
}

.lms-cta-section {
  padding-block: clamp(60px, 7vw, 90px);
  background: var(--cream);
}

.lms-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(58, 45, 41, 0.14);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
  gap: 40px;
}

.lms-cta h2 {
  max-width: 770px;
  margin-bottom: 14px;
}

.lms-cta p:last-child {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

html[data-theme="dark"] .visual-lms {
  background: linear-gradient(145deg, #3a4337, #4a352d);
}

html[data-theme="dark"] .lms-page,
html[data-theme="dark"] .lms-section,
html[data-theme="dark"] .lms-cta-section {
  background: #1d1c1a;
}

html[data-theme="dark"] .lms-overview,
html[data-theme="dark"] .lms-journey-section {
  background: #24221f;
}

html[data-theme="dark"] .lms-tour-section {
  background: #24231f;
}

html[data-theme="dark"] .lms-community-summary li {
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7f1e8;
}

html[data-theme="dark"] .lms-video-panel {
  background: #292622;
}

html[data-theme="dark"] .lms-tour-slide figcaption strong {
  color: #f7f1e8;
}

html[data-theme="dark"] .lms-browser,
html[data-theme="dark"] .lms-snapshot,
html[data-theme="dark"] .lms-process-grid li,
html[data-theme="dark"] .lms-cta,
html[data-theme="dark"] .lms-tour-card,
html[data-theme="dark"] .lms-video-block {
  background: #292622;
}

html[data-theme="dark"] .lms-community-card {
  background: #41312b;
}

html[data-theme="dark"] .lms-community-card li {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(27, 26, 24, 0.5);
  color: #f7f1e8;
}

html[data-theme="dark"] .lms-browser-body aside {
  background: #34312d;
}

html[data-theme="dark"] .lms-browser-content h2,
html[data-theme="dark"] .lms-snapshot strong {
  color: #f7f1e8;
}

html[data-theme="dark"] .lms-course-grid article {
  border-color: rgba(255, 255, 255, 0.1);
  background: #39352f;
}

html[data-theme="dark"] .lms-course-grid article:nth-child(2) { background: #4a352f; }
html[data-theme="dark"] .lms-course-grid article:nth-child(3) { background: #343c31; }
html[data-theme="dark"] .lms-course-grid b { color: #f7f1e8; }

html[data-theme="dark"] .lms-process-grid li:nth-child(2),
html[data-theme="dark"] .lms-process-grid li:nth-child(4) {
  background: #30382e;
}

html[data-theme="dark"] .lms-journey article > span {
  background: #24221f;
}

html[data-theme="dark"] .lms-ownership-section {
  background: #293027;
}

html[data-theme="dark"] .lms-video-section {
  background: #293027;
}

html[data-theme="dark"] .lms-scope-list li {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(27, 26, 24, 0.58);
}

@media (max-width: 980px) {
  .lms-hero-grid,
  .lms-two-column,
  .lms-ownership-grid,
  .lms-video-heading,
  .lms-tour-feature {
    grid-template-columns: 1fr;
  }

  .lms-browser {
    width: min(100%, 720px);
  }

  .lms-media-showcase {
    grid-template-columns: 1fr;
  }

  .lms-video-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .lms-video-panel-media {
    align-self: stretch;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

.lms-video-panel-media img {
    height: 100%;
    min-height: 300px;
  }


  .lms-hero-screenshot {
    width: min(100%, 620px);
  }

  .lms-product-tour {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lms-tour-card {
    width: 100%;
  }

  .lms-tour-card > a img {
    height: 320px;
  }

  .lms-two-column .lms-section-heading {
    margin-bottom: 0;
  }

  .lms-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lms-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .visual-lms {
    padding: 15px;
  }

  .visual-lms-collage {
    padding: 0;
  }

  .lms-hero {
    padding-block: 34px 56px;
  }

  .lms-place-logo {
    width: 118px;
  }

  .lms-hero-screenshot > a {
    border-radius: 18px;
  }

  .lms-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .lms-community-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .lms-community-summary ul {
    justify-content: flex-start;
  }

  .lms-video-panel {
    display: block;
  }

  .lms-video-panel-media {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lms-video-panel-media img {
    min-height: 0;
  }


  .lms-tour-slide .lms-tour-media img {
    height: 330px;
    padding: 10px;
  }

  .lms-tour-slide figcaption {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lms-tour-slider .learning-slider-controls {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .lms-tour-slider .learning-slider-status {
    display: none;
  }

  .lms-browser-body {
    min-height: 330px;
    grid-template-columns: 72px 1fr;
  }

  .lms-browser-body aside {
    padding: 20px 12px;
  }

  .lms-browser-body aside img {
    width: 48px;
  }

  .lms-browser-content {
    padding: 26px 18px;
  }

  .lms-course-grid {
    grid-template-columns: 1fr;
  }

  .lms-course-grid article {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
  }

  .lms-course-grid i,
  .lms-course-grid b {
    margin: 0;
  }

  .lms-course-grid article > span {
    display: none;
  }

  .lms-snapshot,
  .lms-process-grid,
  .lms-scope-list {
    grid-template-columns: 1fr;
  }

  .lms-snapshot article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lms-process-grid li {
    min-height: 0;
  }

  .lms-process-grid span {
    margin-bottom: 20px;
  }

  .lms-product-tour {
    grid-template-columns: 1fr;
  }

  .lms-tour-course {
    grid-column: auto;
  }

  .lms-tour-card > a img {
    height: 260px;
  }

  .lms-journey {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lms-journey::before {
    top: 24px;
    right: auto;
    bottom: 24px;
    left: 25px;
    width: 1px;
    height: auto;
  }

  .lms-journey article {
    display: grid;
    grid-template-columns: 52px 1fr;
    padding-bottom: 24px;
    text-align: left;
    gap: 18px;
  }

  .lms-journey article > span {
    margin: 0;
  }

  .lms-journey p {
    max-width: none;
    margin: 0;
  }

  .lms-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Final rhythm overrides: placed after component and responsive rules. */
:root {
  --section-space: clamp(56px, 6vw, 80px);
  --section-content-gap: clamp(28px, 3vw, 40px);
}

.hero {
  min-height: min(720px, calc(100svh - 86px));
  padding-block: clamp(48px, 6vw, 70px);
  gap: clamp(36px, 6vw, 84px);
}

.about { gap: clamp(40px, 6vw, 78px); }

.contact {
  margin-block: clamp(52px, 6vw, 76px);
  padding: clamp(32px, 5vw, 56px);
}

.place-gallery-hero,
.lms-hero,
.yekly-hero {
  padding-block: clamp(28px, 3.5vw, 44px) clamp(44px, 5vw, 64px);
}

.place-gallery-hero-grid,
.lms-hero-grid,
.yekly-hero-grid {
  gap: clamp(36px, 5vw, 72px);
}

.place-gallery-hero .back-link,
.lms-hero .back-link,
.yekly-hero .back-link {
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.place-gallery-logo,
.lms-place-logo,
.yekly-logo { margin-bottom: 22px; }

.place-hero-facts,
.lms-snapshot,
.yekly-snapshot {
  margin-top: clamp(28px, 3.5vw, 42px);
}

.place-section-nav .shell { min-height: 60px; }

.place-website-project,
.place-blog-project,
.annual-report-project,
.communications-project,
.place-case-cta,
.lms-section,
.lms-cta-section,
.yekly-section,
.yekly-cta-section {
  padding-block: clamp(54px, 6vw, 80px);
}

.place-work-header,
.communications-header,
.report-project-layout,
.lms-two-column,
.lms-ownership-grid {
  gap: clamp(32px, 5vw, 72px);
}

.place-work-header { margin-bottom: clamp(26px, 3vw, 38px); }
.learning-showcase { padding-top: clamp(20px, 2.5vw, 30px); }

.learning-showcase .section-heading,
.lms-section-heading,
.yekly-section-heading {
  margin-bottom: clamp(26px, 3vw, 38px);
}

.blog-project-intro { gap: clamp(34px, 5vw, 72px); }
.communications-scope { margin-top: 28px; }
.communications-evidence { margin-top: clamp(28px, 3vw, 40px); }

.place-case-cta-card,
.lms-cta,
.yekly-cta {
  padding: clamp(30px, 4.5vw, 54px);
  gap: clamp(28px, 4vw, 56px);
}

.lms-tour-section .lms-section-heading { margin-bottom: 22px; }
.lms-community-summary { margin-bottom: 24px; }
.lms-process-grid span { margin-bottom: 24px; }
.yekly-hero-lead,
.lms-hero-lead { margin-bottom: 26px; }

@media (max-width: 980px) {
  :root {
    --section-space: clamp(52px, 7vw, 68px);
    --section-content-gap: 30px;
  }

  .hero {
    min-height: auto;
    padding-block: 48px 58px;
    gap: 40px;
  }

  .place-gallery-hero-grid,
  .lms-hero-grid,
  .yekly-hero-grid,
  .about,
  .report-project-layout,
  .place-work-header,
  .communications-header,
  .lms-two-column,
  .lms-ownership-grid { gap: 36px; }

  .place-website-project,
  .place-blog-project,
  .annual-report-project,
  .communications-project,
  .place-case-cta,
  .lms-section,
  .lms-cta-section,
  .yekly-section,
  .yekly-cta-section {
    padding-block: clamp(50px, 7vw, 66px);
  }
}

@media (max-width: 680px) {
  :root {
    --section-space: 48px;
    --section-content-gap: 26px;
  }

  .hero {
    padding-block: 34px 46px;
    gap: 32px;
  }

  .section,
  .place-website-project,
  .place-blog-project,
  .annual-report-project,
  .communications-project,
  .place-case-cta,
  .lms-section,
  .lms-cta-section,
  .yekly-section,
  .yekly-cta-section { padding-block: 46px; }

  .place-gallery-hero,
  .lms-hero,
  .yekly-hero { padding-block: 24px 44px; }

  .place-gallery-hero-grid,
  .lms-hero-grid,
  .yekly-hero-grid,
  .about,
  .report-project-layout,
  .place-work-header,
  .communications-header,
  .lms-two-column,
  .lms-ownership-grid,
  .blog-project-intro { gap: 28px; }

  .place-work-header,
  .learning-showcase .section-heading,
  .lms-section-heading,
  .yekly-section-heading { margin-bottom: 24px; }

  .place-hero-facts,
  .lms-snapshot,
  .yekly-snapshot { margin-top: 28px; }

  .contact {
    margin-block: 46px;
    padding: 28px 22px;
    gap: 26px;
  }

  .place-case-cta-card,
  .lms-cta,
  .yekly-cta {
    padding: 28px 22px;
    gap: 26px;
  }
}

/* Compact education cards */
.education-grid {
  gap: 14px;
}

.education-card {
  min-height: 0;
  padding: clamp(22px, 2.5vw, 30px);
  gap: clamp(16px, 2vw, 24px);
  border-radius: 18px;
}

.education-year {
  padding: 6px 9px;
  font-size: 0.64rem;
}

.education-level {
  margin-bottom: 6px;
  font-size: 0.68rem;
}

.education-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.education-school {
  font-size: 0.8rem;
}

.education-focus {
  margin-top: 14px;
  gap: 5px;
}

.education-focus li {
  padding: 5px 8px;
  font-size: 0.61rem;
  line-height: 1.25;
}

@media (max-width: 680px) {
  .education-card {
    padding: 20px;
    gap: 12px;
  }

  .education-focus {
    margin-top: 12px;
  }
}

/* Pre-launch responsive safeguards */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.header-inner > *,
.hero > *,
.place-gallery-hero-grid > *,
.place-work-header > *,
.blog-project-intro > *,
.report-project-layout > *,
.communications-header > *,
.place-case-cta-card > *,
.lms-hero-grid > *,
.lms-two-column > *,
.lms-ownership-grid > *,
.lms-cta > *,
.yekly-hero-grid > *,
.yekly-build-layout > *,
.yekly-cta > *,
.contact > * {
  min-width: 0;
}

h1,
h2,
h3,
p,
li,
dd,
.button,
.text-link {
  overflow-wrap: anywhere;
}

.button,
.text-link {
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(2.65rem, 12.5vw, 3.45rem);
    line-height: 0.98;
  }

  .place-gallery-intro h1,
  .lms-hero-copy h1,
  .yekly-hero-copy h1 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
    line-height: 1;
  }

  .button-row,
  .lms-hero-actions,
  .yekly-hero-actions,
  .lms-cta-actions,
  .yekly-cta-actions {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .shell {
    width: calc(100% - 24px);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .wordmark {
    max-width: 124px;
    overflow: hidden;
    font-size: 1.05rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch {
    gap: 2px;
  }

  .language-switch button {
    padding-inline: 1px;
    font-size: 0.68rem;
  }

  .theme-toggle,
  .menu-button {
    width: 36px;
    height: 36px;
  }
}
