:root {
  --bg: #f4efe8;
  --panel: rgba(255, 255, 255, 0.62);
  --panel-strong: #fffaf5;
  --text: #1d1a18;
  --muted: #5f5650;
  --line: rgba(29, 26, 24, 0.12);
  --accent: #c95d3d;
  --accent-strong: #a94325;
  --accent-soft: #f0d7ca;
  --shadow: 0 24px 60px rgba(41, 22, 12, 0.08);
  --radius: 28px;
  --ink-dark: #202126;
  --ink-soft: #3d4048;
  --home-pink: #c23d67;
  --home-blue: #556c9f;
  --home-green: #57a07f;
  --home-outline: #f6f1ee;
  --home-link: #4f68a9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(201, 93, 61, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(35, 118, 120, 0.1), transparent 24%),
    linear-gradient(180deg, #fcf8f1 0%, var(--bg) 100%);
}

body.home-page {
  background: #fcfbfa;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 16ch;
}

h3 {
  font-size: 1.45rem;
}

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 3rem;
}

.site-footer,
.hero,
.page-hero,
.project-hero,
.detail-card,
.project-card,
.hero-panel,
.timeline-item {
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.site-footer {
  border-radius: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* escape any centred container so the bar always spans the viewport */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0.7rem 2rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
}

.nav-toggle {
  color: var(--muted);
  width: 3rem;
  height: 3rem;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-nav a:hover,
.text-link:hover,
.footer-link:hover {
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero,
.page-hero,
.project-hero {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
}

.hero {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  min-height: 72vh;
  align-items: end;
}

.page-hero,
.project-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
}

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

.hero-copy,
.section-heading,
.prose-block,
.meta-row,
.timeline {
  display: grid;
  gap: 1rem;
}

.eyebrow,
.project-meta {
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  max-width: 58ch;
  font-size: 1.05rem;
}

.hero-actions,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fffaf7;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.button-outline,
.button-dark {
  border-radius: 999px;
}

.button-outline {
  min-height: 3.75rem;
  padding-inline: 1.8rem;
  border: 2px solid var(--home-link);
  color: var(--home-link);
  background: transparent;
}

.button-dark {
  min-width: 13rem;
  min-height: 5rem;
  padding-inline: 2rem;
  background: var(--ink-soft);
  border: 4px solid var(--home-outline);
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.hero-panel,
.detail-card,
.timeline-item {
  border-radius: 22px;
}

.hero-panel {
  padding: 1.5rem;
  align-self: stretch;
}

.stat-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.stat-list li {
  display: grid;
  gap: 0.35rem;
}

.stat-list strong {
  font-size: 1rem;
}

.stat-list span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 4rem 0 0;
}

.card-grid,
.detail-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.project-card {
  overflow: hidden;
  border-radius: 26px;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(201, 93, 61, 0.12), rgba(35, 118, 120, 0.12));
}

.project-body,
.detail-card,
.timeline-item {
  padding: 1.35rem;
}

.project-body {
  display: grid;
  gap: 0.8rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.timeline {
  gap: 1rem;
}

.timeline-item {
  border-left: 4px solid var(--accent-soft);
}

.portrait,
.project-hero img {
  width: 100%;
  border-radius: 24px;
  background: var(--panel-strong);
}

.meta-row span {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(29, 26, 24, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.text-link,
.footer-link {
  font-weight: 800;
}

.site-footer {
  margin-top: 4rem;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
}

.site-footer > div {
  display: grid;
  gap: 0.45rem;
}

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

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

.home-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.home-footer {
  width: min(1680px, calc(100% - 4rem));
  margin-inline: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  aspect-ratio: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.home-brand img {
  width: 3rem;
  height: auto;
  object-fit: contain;
}


.home-hero {
  width: min(1680px, calc(100% - 4rem));
  min-height: 24rem;
  margin: 3.2rem auto 0;
  display: grid;
  align-items: center;
}

.home-hero-copy {
  max-width: 74rem;
  padding-left: clamp(2rem, 6vw, 6.5rem);
}

.home-intro,
.home-hero h1,
.home-project-title,
.home-project-link-row span,
.home-location-current,
.home-location-old,
.home-footer .eyebrow {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.01em;
  color: var(--ink-dark);
}

.home-intro {
  margin-bottom: 0.35rem;
  font-size: clamp(3rem, 5vw, 4.6rem);
  color: var(--ink-dark);
}

.home-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 3.8vw, 4.1rem);
  line-height: 0.94;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-hero h1 .digital-designer {
  color: var(--home-pink);
}

.home-work {
  padding: 0;
}

.home-divider {
  margin-top: -1rem;
  line-height: 0;
}

.home-divider svg {
  display: block;
  width: 100%;
  height: clamp(9rem, 18vw, 14rem);
  fill: var(--ink-dark);
}

.home-work-inner {
  margin-top: -1px;
  padding: 0 0 5rem;
  background: var(--ink-dark);
}

.home-section-heading {
  width: min(1320px, calc(100% - 8rem));
  margin: 0 auto;
  padding-top: 2rem;
}

.home-section-heading .eyebrow {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 5vw, 5rem);
  letter-spacing: 0.02em;
  color: #fff;
}

.home-project-list {
  width: min(1320px, calc(100% - 8rem));
  margin: 0 auto;
  display: grid;
  gap: 3.5rem;
}

.home-project-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: #fff;
}

.home-project-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.48fr);
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  align-items: center;
  padding: clamp(1.1rem, 2vw, 1.85rem);
  border: 6px solid var(--home-outline);
  border-radius: 2.4rem;
}

.home-project-sharesies .home-project-panel {
  background: var(--home-pink);
}

.home-project-customs .home-project-panel {
  background: var(--home-blue);
}

.home-project-stake .home-project-panel {
  background: #000;
}

.home-project-impact .home-project-panel {
  background: var(--home-green);
}

.home-project-panel-customs {
  grid-template-columns: minmax(220px, 0.78fr) minmax(360px, 0.92fr);
}

.home-project-media {
  display: grid;
  place-items: center;
}

.home-project-media img {
  width: 100%;
  max-width: 18rem;
  max-height: 21rem;
  object-fit: contain;
}

.home-project-content {
  display: grid;
  gap: 1.4rem;
  align-content: center;
  width: 100%;
}

.home-project-content p {
  max-width: none;
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.4;
  color: #fff;
  font-weight: 700;
}

.home-project-content .button-dark {
  justify-self: end;
}

.home-project-sharesies .home-project-content .button-dark,
.home-project-stake .home-project-content .button-dark {
  margin-top: 1rem;
}

.home-project-content-split {
  min-height: 100%;
  width: min(100%, 44rem);
  justify-self: end;
}

.home-project-links {
  display: grid;
  gap: 2.75rem;
}

.home-project-link-row {
  display: grid;
  grid-template-columns: minmax(14rem, 20rem) auto;
  align-items: center;
  gap: 1.5rem;
}

.home-project-link-row span {
  font-size: clamp(1.75rem, 2.8vw, 2.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}

.home-footer {
  margin-top: 0;
  width: 100%;
  padding: 4.5rem max(4rem, calc((100vw - 1320px) / 2)) 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  background: var(--ink-dark);
  border-radius: 0;
}

.home-footer-block {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.home-footer .eyebrow {
  font-size: clamp(1.7rem, 2.2vw, 2.45rem);
  color: #fff;
}

.home-footer .footer-link,
.home-linkedin {
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.5rem);
  color: #f1f0ef;
}

.home-linkedin {
  display: grid;
  place-items: center;
  width: 3.8rem;
  aspect-ratio: 1;
  font-size: 2.1rem;
  font-weight: 800;
  border-radius: 0.85rem;
  background: #3f88cc;
  text-transform: lowercase;
}

.home-location-old,
.home-location-current {
  font-size: clamp(1.15rem, 1.5vw, 1.7rem);
}

.home-location-old {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.home-location-current {
  color: #fff;
  border: 3px solid rgba(217, 87, 123, 0.9);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
}

body.sharesies-page {
  background: #fff;
}

.sharesies-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}


.sharesies-hero {
  width: min(1540px, calc(100% - clamp(1.5rem, 3.6vw, 4.5rem)));
  margin: 2rem auto 0;
  padding: clamp(2.2rem, 4.8vw, 3.8rem) 0 1.8rem;
  display: grid;
  grid-template-columns: minmax(11rem, 0.42fr) minmax(46rem, 52rem);
  gap: clamp(5rem, 8vw, 8.5rem);
  align-items: start;
  justify-content: center;
}

.sharesies-hero-visual {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-top: 0.6rem;
}

.sharesies-hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.2rem;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--home-pink);
  text-align: center;
  white-space: nowrap;
}

.sharesies-hero-visual img {
  width: clamp(8.75rem, 11vw, 12.5rem);
  max-width: 100%;
  height: auto;
}

.sharesies-hero-copy {
  display: grid;
  gap: clamp(1.3rem, 2.2vw, 2.2rem);
  width: 100%;
  max-width: 46rem;
  padding-top: 0.35rem;
}

.sharesies-summary {
  font-family: "Nunito", sans-serif;
  font-size: 1.28rem;
  line-height: 1.42;
  font-weight: 800;
  color: var(--home-pink);
  width: 46rem;
  max-width: 100%;
}

.sharesies-meta {
  display: grid;
  grid-template-columns: 4.5rem 8.5rem 14rem 16rem;
  width: 46rem;
  max-width: 100%;
  justify-content: start;
  column-gap: 1.2rem;
  row-gap: 0.9rem;
  align-items: start;
}

.sharesies-meta-item {
  min-width: 0;
}

.sharesies-meta-label,
.sharesies-meta-value {
  font-family: "Nunito", sans-serif;
  color: var(--home-pink);
}

.sharesies-meta-label {
  margin-bottom: 0.4rem;
  font-size: clamp(0.88rem, 0.92vw, 1rem);
  font-weight: 800;
}

.sharesies-meta-value {
  font-size: clamp(0.82rem, 0.9vw, 0.98rem);
  line-height: 1.32;
}

.sharesies-divider {
  margin-top: 0.15rem;
  line-height: 0;
}

.sharesies-divider svg {
  display: block;
  width: 100%;
  height: clamp(7rem, 11vw, 10rem);
  fill: var(--ink-dark);
}

.sharesies-story {
  background: var(--ink-dark);
  color: #fff;
  padding: 2rem 0 5rem;
}

.sharesies-story .section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.sharesies-story .section-heading {
  margin-bottom: 1lh;
}

.sharesies-story .prose-block {
  max-width: 38rem;
}

.sharesies-story .section-heading h2,
.sharesies-story h3 {
  color: #fff;
}

.sharesies-story .section-heading h2 {
  width: max-content;
  max-width: none;
  white-space: nowrap;
}

.sharesies-story .eyebrow {
  color: #90a9e2;
}

.sharesies-story p,
.sharesies-story .detail-card p {
  color: rgba(255, 255, 255, 0.88);
}

.sharesies-story .detail-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: none;
}

.sharesies-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.sharesies-footer .footer-link,
.sharesies-footer .eyebrow {
  color: #fff;
}

@media (max-width: 900px) {
  .hero,
  .page-hero,
  .project-hero,
  .split-layout,
  .card-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .project-card img {
    height: 220px;
  }

  .home-project-panel,
  .home-project-panel-customs,
  .home-footer {
    grid-template-columns: 1fr;
  }

  .home-project-content .button-dark {
    justify-self: start;
  }

  .home-project-link-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .home-footer-block {
    justify-items: start;
    text-align: left;
  }

  .sharesies-hero,
  .sharesies-meta {
    grid-template-columns: 1fr;
  }

  .sharesies-hero {
    padding-top: 3rem;
    gap: 2rem;
  }

  .sharesies-hero-copy {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 1rem, 1180px);
  }

  .home-shell,
  .cs-shell {
    width: 100%;
  }

  .site-header {
    width: 100%;
    margin-left: 0;
    align-items: start;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .site-footer {
    flex-direction: column;
  }

  .home-hero,
  .home-section-heading,
  .home-project-list {
    width: min(100% - 1.5rem, 1320px);
  }

  .home-header {
    width: 100%;
    margin-left: 0;
    padding-top: 0.8rem;
  }

  .home-header .nav-toggle {
    color: var(--ink-dark);
  }

  .home-header .site-nav {
    align-items: flex-start;
    gap: 1rem;
    margin-top: 0.75rem;
  }

  .home-hero {
    min-height: 18rem;
    margin-top: 1.5rem;
  }

  .home-hero-copy {
    padding-left: 0;
  }

  .home-intro {
    font-size: clamp(2.2rem, 10vw, 3.3rem);
  }

  .home-hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.8rem);
    white-space: normal;
  }

  .home-divider {
    margin-top: 2rem;
  }

  .home-project-panel {
    padding: 1.25rem;
    border-width: 6px;
    border-radius: 2rem;
  }

  .home-project-title,
  .home-section-heading .eyebrow {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }

  .button-dark {
    width: 100%;
    min-width: 0;
    min-height: 4.2rem;
  }

  .home-project-content p {
    max-width: none;
    font-size: 1.2rem;
  }

  .home-project-link-row span,
  .home-location-old,
  .home-location-current,
  .home-footer .footer-link,
  .home-linkedin {
    font-size: 1.5rem;
  }

  .home-linkedin {
    width: 3.6rem;
  }

  .home-footer {
    padding: 3rem 1.5rem 2.5rem;
  }

  .sharesies-hero {
    width: min(100% - 1.5rem, 1680px);
  }

  .sharesies-hero {
    margin-top: 1.5rem;
    padding: 2rem 0 3rem;
    gap: 2rem;
  }

  .sharesies-hero h1 {
    font-size: clamp(2.6rem, 16vw, 3.8rem);
  }

  .sharesies-hero-visual img {
    width: min(100%, 12rem);
  }

  .sharesies-summary {
    font-size: clamp(1.05rem, 4.9vw, 1.25rem);
  }

  .sharesies-meta {
    gap: 0.9rem;
  }

  .sharesies-story .section,
  .sharesies-footer {
    width: min(100% - 1.5rem, 1180px);
  }
}

/* ─── Editorial case study layout ─────────────────────────── */

body.cs-editorial {
  background: #fff;
  color: #1c1c1c;
  font-family: "DM Sans", sans-serif;
}

body.cs-editorial p {
  font-family: "DM Sans", sans-serif;
  color: #555;
  line-height: 1.75;
}

body.cs-editorial h1,
body.cs-editorial h2,
body.cs-editorial h3,
body.cs-editorial h4 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

body.cs-editorial h1 {
  font-size: clamp(3.4rem, 7vw, 5.5rem);
  max-width: 10ch;
  color: #1c1c1c;
}

body.cs-editorial h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  max-width: 24ch;
  color: #1c1c1c;
  white-space: normal;
}

body.cs-editorial h3 {
  font-size: 1.15rem;
  color: #1c1c1c;
}

.cs-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}


body.cs-editorial .brand img {
  width: 3rem;
  height: auto;
  object-fit: contain;
}

body.cs-editorial .site-nav a:not(.button-outline) {
  color: #555;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

body.cs-editorial .site-nav a:not(.button-outline):hover {
  color: #015f7d;
}

body.cs-editorial .button-outline {
  border-color: #015f7d;
  color: #015f7d;
  min-height: 2.75rem;
  padding-inline: 1.4rem;
  font-size: 0.88rem;
}

body.cs-editorial .button-outline:hover {
  background: #015f7d;
  color: #fff;
}

/* Eyebrow */
.cs-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D4537E;
  margin: 0;
}

/* Hero tag line */
.cs-tag {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
  margin: 0;
}

/* Hero */
.cs-hero {
  width: min(1200px, calc(100% - 4rem));
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.cs-hero-text {
  display: grid;
  gap: 1.5rem;
}

.cs-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(3.4rem, 7vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
  color: #1c1c1c;
  font-weight: 400;
  max-width: 10ch;
}

.cs-iin .cs-title,
.cs-iin .cs-title em {
  color: #2E6B52;
}

.cs-title em {
  font-style: italic;
  color: #D4537E;
  white-space: nowrap;
}

.cs-stake .cs-title em {
  color: #E7002A;
}

.cs-customs .cs-title {
  max-width: none;
  white-space: nowrap;
}

.cs-meta {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  display: grid;
  gap: 0.7rem;
}

.cs-meta-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  align-items: baseline;
}

.cs-meta-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #767676;
  margin: 0;
}

.cs-meta-value {
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #444;
  line-height: 1.45;
  margin: 0;
}

.cs-hero-image img {
  width: 100%;
  border-radius: 1.5rem;
  display: block;
}

.cs-hero-image--sm img {
  width: 50%;
  margin: 0 auto;
}

.cs-hero-image--with-qr {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cs-hero-image--with-qr > img,
.cs-hero-image--with-qr > .cs-qr-stack {
  flex: 0 0 auto;
}

.cs-hero-image--with-qr > img {
  width: 50%;
  margin: 0;
}

.cs-qr-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 0 0 auto;
}

.cs-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cs-qr img {
  width: 100px;
  border-radius: 0.5rem;
  border: none;
}

.cs-qr p {
  font-size: 0.7rem;
  text-align: center;
  color: #2E6B52;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin: 0;
}

/* Body content area */
.cs-body {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
}

/* Sections */
.cs-section {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cs-section-head {
  display: grid;
  gap: 1rem;
}

.cs-section-intro {
  margin-top: 1.25rem;
  max-width: 58ch;
}

.cs-prose {
  display: grid;
  gap: 1.1rem;
  max-width: 52ch;
  align-content: start;
}

.cs-hmw {
  font-size: 1.3em;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  color: #015f7d;
  background: #f0f9fc;
  border-left: 4px solid #015f7d;
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1rem 1.25rem;
  margin: 0.5rem 0;
}

.cs-section > .cs-eyebrow {
  display: block;
  margin-bottom: 1rem;
}

.cs-section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.cs-impact-stat {
  margin-top: 2rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #444;
  max-width: 72ch;
}

/* Cards */
.cs-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.cs-card {
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  display: grid;
  gap: 0.65rem;
  background: #fafafa;
}

.cs-card h3 {
  font-size: 1.1rem;
}

.cs-card p {
  font-size: 0.88rem;
  line-height: 1.68;
  color: #666;
}

/* Image break */
.cs-image-break {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.cs-image-break img {
  width: 100%;
  border-radius: 1.25rem;
  display: block;
}

.cs-image-row {
  display: flex;
  gap: clamp(2.5rem, 5vw, 5rem);
  margin-top: 2.5rem;
}

.cs-image-row .cs-img {
  flex: 1 1 0;
  width: 0;
  height: auto;
  border-radius: 0.75rem;
  object-fit: contain;
}

/* Spacing when quote or cards follow a split block */
.cs-section-split + .cs-quote {
  margin-top: 3rem;
}

.cs-quote + .cs-cards {
  margin-top: 3rem;
}

/* Quote */
.cs-quote {
  border-left: 3px solid #D4537E;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #fafafa;
  border-radius: 0 8px 8px 0;
}

.cs-quote p {
  font-family: "DM Serif Display", serif;
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0;
  font-style: italic;
  color: #1c1c1c;
}

/* Pills */
.cs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.25rem 0 0.25rem;
}

.cs-pill {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  background: #FBEAF0;
  color: #993556;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
}

/* Solution section — text constrained, images full width */
.cs-solution-section {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cs-solution-text {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto 2.5rem;
}

.cs-solution-hero {
  width: min(1200px, calc(100% - 4rem));
  display: block;
  margin: 6rem auto 0;
}

.cs-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cs-solution-grid img {
  width: 100%;
  display: block;
}

@media (max-width: 720px) {
  .cs-solution-grid {
    grid-template-columns: 1fr;
  }
}

/* Reflection cards */
.cs-reflection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.cs-reflection-card {
  background: #fafafa;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.cs-reflection-card h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin: 0 0 0.5rem;
  line-height: 1;
}

.cs-reflection-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  font-family: "DM Sans", sans-serif;
}

/* Footer */
.cs-footer {
  width: min(1200px, calc(100% - 4rem));
  margin: 4rem auto 0;
  padding: 2rem 0 3rem;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.cs-footer .eyebrow {
  color: #bbb;
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
}

.cs-footer .footer-link {
  color: #015f7d;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.cs-footer .footer-link:hover {
  color: #b03562;
}

@media (max-width: 860px) {
  .cs-hero,
  .cs-section-split {
    grid-template-columns: 1fr;
  }

  .cs-cards,
  .cs-reflection {
    grid-template-columns: 1fr;
  }

  .cs-hero {
    margin-top: 2.5rem;
    gap: 2.5rem;
    padding-bottom: 3.5rem;
  }

  body.cs-editorial h1,
  .cs-title {
    max-width: none;
  }

  .cs-section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .cs-hero,
  .cs-body,
  .cs-image-break,
  .cs-footer {
    width: calc(100% - 2.5rem);
  }

  .cs-section {
    padding: 2.75rem 0;
  }
}

/* ─── Home page redesign ─────────────────────────── */

body.home-page {
  background: #fff;
  font-family: "DM Sans", sans-serif;
}

body.home-page p {
  font-family: "DM Sans", sans-serif;
}

body.home-page h1,
body.home-page h2,
body.home-page h3 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}


body.home-page .site-nav a:not(.button-outline) {
  color: #555;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-family: "DM Sans", sans-serif;
}

body.home-page .site-nav a:not(.button-outline):hover {
  color: #015f7d;
}

body.home-page .button-outline {
  border-color: #015f7d;
  color: #015f7d;
  min-height: 2.75rem;
  padding-inline: 1.4rem;
  font-size: 0.88rem;
  font-family: "DM Sans", sans-serif;
}

body.home-page .button-outline:hover {
  background: #015f7d;
  color: #fff;
}

/* Hero */
.hp-hero {
  width: min(1200px, calc(100% - 4rem));
  margin: 5rem auto 0;
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.hp-hero-video {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hp-hero-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hp-greeting {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: #555;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

body.home-page h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: none;
  color: #1c1c1c;
  margin: 0;
}

body.home-page h1 em {
  font-style: italic;
  color: #015f7d;
}

.hp-wave {
  display: inline-block;
  font-size: 1.28em;
  font-style: normal;
  left: -1.25em;
  margin-right: 0;
  position: absolute;
  top: -0.08em;
  vertical-align: -0.06em;
}

.hp-intro-line {
  display: block;
  white-space: nowrap;
  margin-bottom: 0.45em;
  position: relative;
}

.hp-title-line {
  display: block;
}

/* Work section */
.hp-work {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.hp-work-label {
  font-family: "DM Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #015f7d;
  margin: 0 0 1.5rem;
}

/* Project list */
.hp-project-list {
  display: grid;
}

.hp-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  padding: 4rem 0;
}

.hp-project-info {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.hp-project-num {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #bbb;
  margin: 0;
}

body.home-page .hp-project h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #1c1c1c;
  max-width: none;
}

.hp-project > .hp-project-info p {
  font-size: 1rem;
  line-height: 1.72;
  color: #555;
  margin: 0;
  max-width: 46ch;
}

.hp-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.6rem;
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #015f7d;
  text-decoration: none;
  transition: color 180ms ease;
}

.hp-link::after {
  content: " →";
}

.hp-link:hover {
  color: #b03562;
}

.hp-customs-links {
  display: grid;
  gap: 1rem;
}

.hp-customs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.6rem;
}

.hp-customs-row span {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1c1c1c;
}

.hp-customs-row .hp-link::after {
  content: "";
}

.hp-customs-row .hp-link {
  font-size: 0.82rem;
  white-space: nowrap;
}

.hp-project-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 1.5rem;
  padding: 2rem;
  min-height: 22rem;
  transition: background 200ms ease;
}

.hp-project-visual:hover {
  background: #eee;
}

.hp-project-visual img {
  max-height: 20rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 250ms ease;
}

.hp-project-visual:hover img {
  transform: scale(1.03);
}

.hp-project-visual--bottom {
  align-items: flex-end;
  padding-bottom: 0;
}

.hp-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  margin: 0;
}

/* Footer */
.hp-footer {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0;
}

.hp-footer-block {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.hp-footer-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #767676;
  margin: 0;
}

.hp-footer-linkedin {
  display: grid;
  place-items: center;
  width: 2.4rem;
  aspect-ratio: 1;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.5rem;
  background: #3f88cc;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  text-transform: lowercase;
  text-decoration: none;
}

.hp-location-old {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: #bbb;
  text-decoration: line-through;
  margin: 0;
  line-height: 1.5;
}

.hp-location-current {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: #1c1c1c;
  font-weight: 500;
  margin: 0;
  width: fit-content;
  border: 1.5px solid #015f7d;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  display: inline-block;
  line-height: 1.5;
}

.hp-footer-link {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: #444;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
}

.hp-footer-link:hover {
  color: #015f7d;
}

@media (max-width: 860px) {
  .hp-project {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
  }

  .hp-project-visual {
    order: -1;
    min-height: 16rem;
  }

  .hp-project-visual img {
    max-height: 14rem;
  }

  .hp-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .hp-hero,
  .hp-work,
  .hp-footer {
    width: calc(100% - 2.5rem);
  }

  .hp-hero {
    margin-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .hp-project {
    padding: 2.5rem 0;
  }
}

/* ─── Stake lightbox ─────────────────────────── */

.stake-ds-trigger {
  display: block;
  width: min(1200px, calc(100% - 4rem));
  margin: 3rem auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
}

.stake-ds-trigger img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: opacity 200ms ease;
}

.stake-ds-trigger:hover img {
  opacity: 0.92;
}

.stake-ds-hint {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  pointer-events: none;
}

.stake-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stake-lightbox.is-open {
  display: flex;
}

.stake-lightbox-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.stake-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  transition: transform 80ms ease-out;
  user-select: none;
  pointer-events: none;
}

.stake-lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background 180ms ease;
}

.stake-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.stake-lightbox-hint {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  white-space: nowrap;
  pointer-events: none;
}

/* ─── Contact page ─────────────────────────── */

.ct-link {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #015f7d;
  text-decoration: none;
  transition: color 180ms ease;
}

.ct-link:hover {
  color: #b03562;
}

/* ─── About page ─────────────────────────── */

.ab-hero {
  width: min(1200px, calc(100% - 4rem));
  margin: 4rem auto 0;
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.ab-hero-text {
  display: grid;
  gap: 1.5rem;
  width: fit-content;
}

body.cs-editorial .ab-hero h1 {
  max-width: none;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.ab-lead {
  font-family: "DM Sans", sans-serif;
  font-size: 1.25rem;
  line-height: 1.72;
  color: #555;
  max-width: none;
  margin: 0;
}

.ab-hero-portrait img {
  width: 100%;
  border-radius: 1.5rem;
  display: block;
}

body.cs-editorial .ab-section-h2 {
  margin-bottom: 2.5rem;
  max-width: none;
  white-space: nowrap;
}

.cs-card ul {
  padding-left: 1.1rem;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.cs-card li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #555;
  font-family: "DM Sans", sans-serif;
}

.ab-timeline {
  display: grid;
  gap: 1rem;
  margin-top: 0;
}

.ab-timeline-item {
  display: grid;
  gap: 0.3rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  background: #fafafa;
}

.ab-timeline-item h3 {
  font-size: 1rem;
  color: #1c1c1c;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.ab-timeline-item p {
  font-size: 0.85rem;
  color: #767676;
  margin: 0;
  font-family: "DM Sans", sans-serif;
}

@media (max-width: 860px) {
  .ab-hero {
    grid-template-columns: 1fr;
  }

  .ab-hero-portrait {
    order: -1;
  }

  .ab-hero-portrait img {
    width: 8rem;
  }

  /* QR code hero layout */
  .cs-hero-image--with-qr {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .cs-hero-image--with-qr > img {
    width: 65%;
    margin: 0 auto;
  }

  .cs-qr-stack {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  /* Customs title nowrap fix */
  .cs-customs .cs-title {
    white-space: normal;
  }
}
