/* ============================================================
   CONSOLIDATED SITE STYLES
   Generated from the existing page styles without changing values.
   Page-specific rules are scoped by body class to prevent collisions.
   ============================================================ */


/* ==================== CASE STUDIES ==================== */

body.page-case-study * {
  box-sizing: border-box;
}

body.page-case-study {
  --bg: #000;
  --footer-bg: #1b1b1b;
  --text: #dcdcdc;
  --muted: #8f8f8f;
  --line: rgba(220, 220, 220, 0.2);
  --link: #b7b7b7;

  --type-size: 18px;
  --type-body: 18px;
  --type-line: 1.12;
  --type-tracking: -0.025em;
}

html {
  scroll-behavior: smooth;
}

body.page-case-study {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: var(--type-size);
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-case-study a {
  color: inherit;
  text-decoration: none;
}

body.page-case-study img {
  display: block;
  width: 100%;
}

/* HEADER */

body.page-case-study .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;

  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 32px;

  padding: 8px 10px;

  color: var(--text);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  mix-blend-mode: difference;
}

body.page-case-study .title,
body.page-case-study nav a {
  white-space: nowrap;
  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-case-study .intro-copy {
  margin: 0;
  max-width: 720px;

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  transition: opacity 0.35s ease, transform 0.35s ease;
}

body.page-case-study .intro-copy.hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* IMAGES */

body.page-case-study .hero-image img,
body.page-case-study .image-block img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

body.page-case-study .two-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

body.page-case-study .two-images img {
  height: 100vh;
  object-fit: cover;
}

/* SPREAD IMAGES */

body.page-case-study .spread-image {
  background: #000;
}

body.page-case-study .spread-image img {
  object-fit: contain;
  background: #000;
}

body.page-case-study .rotating-spread {
  transition: opacity 0.18s ease;
}

body.page-case-study .rotating-spread.is-changing {
  opacity: 0;
}

/* CASE STUDY */

body.page-case-study .case-study-text {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding: 120px 6vw 140px;

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

body.page-case-study .case-label p {
  margin: 0;

  color: var(--muted);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-case-study .case-copy {
  max-width: 980px;
}

body.page-case-study .case-copy p {
  margin: 0 0 28px;

  color: var(--text);
  font-size: var(--type-body);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

body.page-case-study .case-copy p:last-child {
  margin-bottom: 0;
}

body.page-case-study .case-copy h2 {
  margin: 52px 0 18px;

  color: var(--text);
  font-size: var(--type-body);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

body.page-case-study .case-copy a {
  color: var(--link);
  transition: color 0.2s ease;
}

body.page-case-study .case-copy a:hover {
  color: var(--text);
}

/* LIST / META SECTIONS */

body.page-case-study .case-list p {
  margin: 0 0 18px;

  color: var(--text);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-case-study .case-list p:last-child {
  margin-bottom: 0;
}

body.page-case-study .case-list a {
  color: var(--link);
  transition: color 0.2s ease;
}

body.page-case-study .case-list a:hover {
  color: var(--text);
}

body.page-case-study .buy-link {
  margin-top: 40px;
}

body.page-case-study .buy-link a {
  color: var(--muted);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-case-study .buy-link a:hover {
  color: var(--text);
}

/* Optional meta-row style if you use it later */

body.page-case-study .case-meta-list {
  width: 100%;
}

body.page-case-study .case-meta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;

  padding: 10px 0;

  color: var(--text);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--type-tracking);
}

body.page-case-study .case-meta-row a,
body.page-case-study .case-meta-row[href] {
  color: var(--link);
}

body.page-case-study .case-meta-row:hover {
  color: var(--text);
}

/* FOOTER */

body.page-case-study .site-footer {
  position: relative;
  background: var(--footer-bg);
  min-height: 360px;
  padding: 92px 5.5vw;

  display: flex;
  align-items: center;
}

body.page-case-study .footer-inner {
  width: 100%;

  display: grid;
  grid-template-columns: auto 2fr auto auto;
  gap: 48px;
  align-items: center;
}

body.page-case-study .footer-name {
  display: flex;
  align-items: center;
}

body.page-case-study .footer-name img {
  width: 130px;
  height: auto;
}

body.page-case-study .instagram-widget {
  width: 100%;
  max-width: 500px;
  height: 135px;
  overflow: hidden;
}

body.page-case-study .lightwidget-widget {
  width: 100% !important;
  height: 135px !important;
  border: 0 !important;
  overflow: hidden !important;
  display: block;
}

body.page-case-study .footer-email {
  color: var(--muted);
  white-space: nowrap;

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  transition: color 0.25s ease;
}

body.page-case-study .footer-socials {
  display: flex;
  gap: 26px;
  align-items: center;
}

body.page-case-study .footer-socials a {
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}

body.page-case-study .footer-socials a:hover,
body.page-case-study .footer-email:hover {
  color: var(--text);
  transform: translateY(-1px);
}

body.page-case-study .back-to-top {
  position: absolute;
  right: 34px;
  bottom: 34px;

  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 999px;

  background: rgba(220, 220, 220, 0.35);
  color: #111;

  font-size: 24px;
  cursor: pointer;
}

body.page-case-study .back-to-top:hover {
  background: var(--text);
}

/* ANIMATION */

body.page-case-study .fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.page-case-study .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */

@media (max-width: 950px) {
  body.page-case-study {
    --type-body: 18px;
  }

  body.page-case-study .site-header {
    grid-template-columns: 1fr auto;
  }

  body.page-case-study .intro-copy {
    display: none;
  }

  body.page-case-study .case-study-text {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 90px 24px 110px;
  }

  body.page-case-study .two-images {
    grid-template-columns: 1fr;
  }

  body.page-case-study .two-images img,
body.page-case-study .image-block img {
    height: 72vh;
  }

  body.page-case-study .spread-image {
    padding: 70px 0;
  }

  body.page-case-study .spread-image img {
    height: auto;
    min-height: auto;
    object-fit: contain;
  }

  body.page-case-study .case-meta-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.page-case-study .site-footer {
    min-height: auto;
    padding: 80px 24px 90px;
    justify-content: center;
    text-align: center;
  }

  body.page-case-study .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    justify-items: center;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
  }

  body.page-case-study .footer-name {
    justify-content: center;
  }

  body.page-case-study .footer-name img {
    width: 115px;
  }

  body.page-case-study .instagram-widget {
    width: min(100%, 360px);
    max-width: 360px;
    height: 105px;
  }

  body.page-case-study .lightwidget-widget {
    width: 100% !important;
    height: 105px !important;
  }

  body.page-case-study .footer-email {
    white-space: normal;
  }

  body.page-case-study .footer-socials {
    justify-content: center;
    gap: 34px;
  }

  body.page-case-study .back-to-top {
    right: 22px;
    bottom: 22px;
  }
}

/* ==================== HOME ==================== */

body.page-home * {
  box-sizing: border-box;
}

body.page-home {
  --bg: #000;
  --footer-bg: #1b1b1b;
  --text: #dcdcdc;
  --muted: #8f8f8f;
  --line: rgba(220, 220, 220, 0.2);
  --link: #b7b7b7;

  --page-margin: 6vw;

  --type-size: 18px;
  --type-body: 18px;
  --type-line: 1.12;
  --type-tracking: -0.025em;

  --title-size: clamp(30px, 4vw, 58px);
  --title-weight: 700;
  --title-line: 0.98;
  --title-tracking: -0.055em;
}

html {
  scroll-behavior: smooth;
}

body.page-home {
  margin: 0;

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

  font-family: "Inter", sans-serif;
  font-size: var(--type-size);
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-home a {
  color: inherit;
  text-decoration: none;
}

body.page-home img {
  display: block;
  width: 100%;
}


/* HEADER */

body.page-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;

  width: 100%;
  padding: 8px var(--page-margin);

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  mix-blend-mode: difference;
}

body.page-home .title,
body.page-home nav a {
  white-space: nowrap;

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-home nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

body.page-home nav a {
  color: var(--text);
  transition: color 0.2s ease;
}

body.page-home nav a:hover {
  color: var(--muted);
}


/* HERO */

body.page-home .home-hero {
  position: relative;

  min-height: 100svh;
  overflow: hidden;

  background: #111;
  border-bottom: 1px solid var(--line);
}

body.page-home .hero-media {
  position: absolute;
  inset: 0;
}

body.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-home .hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.02) 45%,
      rgba(0, 0, 0, 0.58) 100%
    );
}

body.page-home .hero-copy {
  position: absolute;
  right: var(--page-margin);
  bottom: 48px;
  left: var(--page-margin);
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}

body.page-home .hero-copy h1 {
  margin: 0;

  color: var(--text);

  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}

body.page-home .hero-copy p {
  max-width: 360px;
  margin: 0;

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
  text-align: right;
}


/* ABOUT */

body.page-home .home-about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  min-height: 100vh;
  padding: 120px var(--page-margin) 140px;

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

body.page-home .case-label p {
  margin: 0;

  color: var(--muted);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-home .home-about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 100px;
}

body.page-home .home-about-statement {
  max-width: 980px;
  margin: 0;

  color: var(--text);

  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}

body.page-home .home-about-link {
  width: min(100%, 430px);
  margin: 0 auto;
}

body.page-home .home-about-image {
  position: relative;

  margin: 0;
  aspect-ratio: 4 / 5;

  overflow: hidden;
  background: var(--footer-bg);
}

body.page-home .home-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 500ms ease;
}

body.page-home .home-about-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;

  padding: 10px 0;

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

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-home .home-about-meta span:last-child {
  transition: transform 0.25s ease;
}

body.page-home .home-about-link:hover .home-about-image img {
  transform: scale(1.025);
}

body.page-home .home-about-link:hover .home-about-meta span:last-child {
  transform: translate(3px, -3px);
}


/* PROJECTS */

body.page-home .projects-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding: 120px var(--page-margin) 140px;

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

body.page-home .projects-list {
  width: 100%;
}

body.page-home .project-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;

  padding: 10px 0;

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--type-tracking);

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

body.page-home .project-row:first-child {
  border-top: 1px solid var(--line);
}

body.page-home .project-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  color: var(--text);

  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}

body.page-home .project-meta {
  color: var(--muted);

  font-size: var(--type-size);
  font-weight: 500;
  white-space: nowrap;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-home .project-image {
  width: 0;
  height: 46px;

  overflow: hidden;
  opacity: 0;
  flex: 0 0 auto;

  transition:
    width 0.28s ease,
    opacity 0.2s ease;
}

body.page-home .project-image img {
  width: 82px;
  height: 46px;
  object-fit: cover;
}

body.page-home .project-row:hover .project-image {
  width: 82px;
  opacity: 1;
}

body.page-home .project-row:hover .project-meta {
  color: var(--text);
}

body.page-home .projects-link-row {
  display: flex;
  justify-content: flex-end;

  padding-top: 32px;
}

body.page-home .projects-link-row a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;

  width: min(100%, 310px);
  padding: 10px 0;

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

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-home .projects-link-row a span:last-child {
  transition: transform 0.25s ease;
}

body.page-home .projects-link-row a:hover span:last-child {
  transform: translate(3px, -3px);
}


/* LIST / META SECTIONS */

body.page-home .case-study-text {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding: 120px var(--page-margin) 140px;

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

body.page-home .case-meta-list {
  width: 100%;
}

body.page-home .case-meta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;

  padding: 10px 0;

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--type-tracking);
}

body.page-home .case-meta-row a,
body.page-home .case-meta-row[href] {
  color: var(--link);
}

body.page-home .case-meta-row:hover {
  color: var(--text);
}

body.page-home .case-meta-row span:last-child {
  color: var(--muted);
  text-align: right;
}


/* FOOTER */

body.page-home .site-footer {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 360px;
  padding: 92px 5.5vw;

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

body.page-home .footer-inner {
  display: grid;
  grid-template-columns: auto 2fr auto auto;
  gap: 48px;
  align-items: center;

  width: 100%;
}

body.page-home .footer-name {
  display: flex;
  align-items: center;
}

body.page-home .footer-name img {
  width: 130px;
  height: auto;
}

body.page-home .instagram-widget {
  width: 100%;
  max-width: 500px;
  height: 135px;

  overflow: hidden;
}

body.page-home .lightwidget-widget {
  display: block;

  width: 100% !important;
  height: 135px !important;

  border: 0 !important;
  overflow: hidden !important;
}

body.page-home .footer-email {
  color: var(--muted);
  white-space: nowrap;

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  transition: color 0.25s ease;
}

body.page-home .footer-socials {
  display: flex;
  gap: 26px;
  align-items: center;
}

body.page-home .footer-socials a {
  color: var(--muted);
  font-size: 22px;
  line-height: 1;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

body.page-home .footer-socials a:hover,
body.page-home .footer-email:hover {
  color: var(--text);
  transform: translateY(-1px);
}

body.page-home .back-to-top {
  position: absolute;
  right: 34px;
  bottom: 34px;

  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 999px;

  background: rgba(220, 220, 220, 0.35);
  color: #111;

  font-size: 24px;
  cursor: pointer;
}

body.page-home .back-to-top:hover {
  background: var(--text);
}


/* ANIMATION */

body.page-home .fade-in {
  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

body.page-home .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* TABLET */

@media (max-width: 950px) {
  body.page-home {
    --page-margin: 24px;
    --type-body: 18px;
  }

  body.page-home nav {
    gap: 8px;
  }

  body.page-home .hero-copy {
    grid-template-columns: 1fr;
    gap: 16px;

    bottom: 32px;
  }

  body.page-home .hero-copy p {
    max-width: 300px;

    text-align: left;
  }

  body.page-home .home-about,
body.page-home .projects-section,
body.page-home .case-study-text {
    grid-template-columns: 1fr;
    gap: 28px;

    padding-top: 90px;
    padding-bottom: 110px;
  }

  body.page-home .home-about,
body.page-home .projects-section {
    min-height: auto;
  }

  body.page-home .home-about-content {
    gap: 70px;
  }

  body.page-home .home-about-link {
    width: min(100%, 390px);
  }

  body.page-home .project-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.page-home .project-title {
    font-size: clamp(36px, 12vw, 58px);
  }

  body.page-home .project-meta {
    white-space: normal;
  }

  body.page-home .project-image {
    display: none;
  }

  body.page-home .projects-link-row {
    justify-content: flex-start;
  }

  body.page-home .case-meta-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.page-home .case-meta-row span:last-child {
    text-align: left;
  }

  body.page-home .site-footer {
    min-height: auto;
    padding: 80px 24px 90px;

    justify-content: center;
    text-align: center;
  }

  body.page-home .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;

    justify-items: center;
    align-items: center;

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

  body.page-home .footer-name {
    justify-content: center;
  }

  body.page-home .footer-name img {
    width: 115px;
  }

  body.page-home .instagram-widget {
    width: min(100%, 360px);
    max-width: 360px;
    height: 105px;
  }

  body.page-home .lightwidget-widget {
    width: 100% !important;
    height: 105px !important;
  }

  body.page-home .footer-email {
    white-space: normal;
  }

  body.page-home .footer-socials {
    justify-content: center;
    gap: 34px;
  }

  body.page-home .back-to-top {
    right: 22px;
    bottom: 22px;
  }
}


/* MOBILE */

@media (max-width: 600px) {
  body.page-home {
    --page-margin: 16px;
  }

  body.page-home .site-header {
    gap: 12px;
  }

  body.page-home .title,
body.page-home nav a {
    font-size: 14px;
  }

  body.page-home nav {
    gap: 7px;
  }

  body.page-home .hero-copy {
    bottom: 24px;
  }

  body.page-home .hero-copy h1 {
    font-size: clamp(36px, 12vw, 58px);
  }

  body.page-home .hero-copy p {
    font-size: 14px;
  }

  body.page-home .home-about-link {
    width: 100%;
  }
}


/* REDUCED MOTION */

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

  body.page-home *,
body.page-home *::before,
body.page-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body.page-home .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* APPROACH */

body.page-home .home-approach {
  padding: 120px var(--page-margin) 140px;

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

body.page-home .home-approach-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;

  width: 100%;
}

body.page-home .home-approach-content p {
  margin: 0;

  color: var(--text);

  font-size: var(--type-body);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: var(--type-tracking);
}

@media (max-width: 950px) {
  body.page-home .home-approach {
    padding-top: 90px;
    padding-bottom: 110px;
  }

  body.page-home .home-approach-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* CAPABILITIES */

body.page-home .home-capabilities {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding: 120px var(--page-margin) 140px;

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

body.page-home .capabilities-list {
  width: 100%;
}

body.page-home .capability-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: baseline;

  padding: 18px 0;

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

body.page-home .capability-row:first-child {
  border-top: 1px solid var(--line);
}

body.page-home .capability-title {
  color: var(--text);

  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}

body.page-home .capability-meta {
  color: var(--muted);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: var(--type-tracking);
}

@media (max-width: 950px) {
  body.page-home .home-capabilities {
    grid-template-columns: 1fr;
    gap: 28px;

    padding-top: 90px;
    padding-bottom: 110px;
  }

  body.page-home .capability-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* FEATURED ELSEWHERE */

body.page-home .home-featured {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding: 120px var(--page-margin) 140px;

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

body.page-home .featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

body.page-home .featured-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-home .featured-image {
  margin: 0;
  aspect-ratio: 4 / 5;

  overflow: hidden;
  background: var(--footer-bg);
}

body.page-home .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 500ms ease;
}

body.page-home .featured-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;

  padding-top: 10px;

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

body.page-home .featured-meta h2,
body.page-home .featured-meta p {
  margin: 0;
}

body.page-home .featured-meta h2 {
  margin-bottom: 8px;

  font-size: var(--type-body);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: var(--type-tracking);
}

body.page-home .featured-meta p {
  color: var(--muted);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: 1.2;
}

body.page-home .featured-meta .featured-type {
  margin-bottom: 6px;

  color: var(--text);
}

body.page-home .featured-meta > span {
  transition: transform 0.25s ease;
}

body.page-home .featured-card:hover .featured-image img {
  transform: scale(1.025);
}

body.page-home .featured-card:hover .featured-meta > span {
  transform: translate(3px, -3px);
}

@media (max-width: 950px) {
  body.page-home .home-featured {
    grid-template-columns: 1fr;
    gap: 28px;

    padding-top: 90px;
    padding-bottom: 110px;
  }

  body.page-home .featured-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  body.page-home .featured-image {
    aspect-ratio: 16 / 10;
  }
}


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

body.page-projects * {
  box-sizing: border-box;
}

body.page-projects {
  --bg: #000;
  --footer-bg: #1b1b1b;
  --text: #dcdcdc;
  --muted: #8f8f8f;
  --line: rgba(220, 220, 220, 0.2);
  --link: #b7b7b7;

  --type-size: 18px;
  --type-body: 18px;
  --type-line: 1.12;
  --type-tracking: -0.025em;
}

html {
  scroll-behavior: smooth;
}

body.page-projects {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: var(--type-size);
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-projects a {
  color: inherit;
  text-decoration: none;
}

body.page-projects img {
  display: block;
  width: 100%;
}

/* HEADER */

body.page-projects .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;

  padding: 8px 10px;

  color: var(--text);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  mix-blend-mode: difference;
}

body.page-projects .title,
body.page-projects nav a {
  white-space: nowrap;
  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-projects nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

body.page-projects nav a {
  color: var(--text);
  transition: color 0.2s ease;
}

body.page-projects nav a:hover {
  color: var(--muted);
}

/* PROJECTS */

body.page-projects .projects-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding: 120px 6vw 140px;

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

body.page-projects .case-label p {
  margin: 0;

  color: var(--muted);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-projects .projects-list {
  width: 100%;
}

body.page-projects .project-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;

  padding: 10px 0;

  color: var(--text);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--type-tracking);

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

body.page-projects .project-row:first-child {
  border-top: 1px solid var(--line);
}

body.page-projects .project-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  color: var(--text);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.page-projects .project-meta {
  color: var(--muted);
  font-size: var(--type-size);
  font-weight: 500;
  white-space: nowrap;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-projects .project-image {
  width: 0;
  height: 46px;
  overflow: hidden;
  opacity: 0;
  flex: 0 0 auto;

  transition: width 0.28s ease, opacity 0.2s ease;
}

body.page-projects .project-image img {
  width: 82px;
  height: 46px;
  object-fit: cover;
}

body.page-projects .project-row:hover .project-image {
  width: 82px;
  opacity: 1;
}

body.page-projects .project-row:hover .project-meta {
  color: var(--text);
}

/* LIST / META SECTIONS */

body.page-projects .case-study-text {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding: 120px 6vw 140px;

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

body.page-projects .case-meta-list {
  width: 100%;
}

body.page-projects .case-meta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;

  padding: 10px 0;

  color: var(--text);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--type-tracking);
}

body.page-projects .case-meta-row a,
body.page-projects .case-meta-row[href] {
  color: var(--link);
}

body.page-projects .case-meta-row:hover {
  color: var(--text);
}

body.page-projects .case-meta-row span:last-child {
  color: var(--muted);
  text-align: right;
}

/* FOOTER */

body.page-projects .site-footer {
  position: relative;
  background: var(--footer-bg);
  min-height: 360px;
  padding: 92px 5.5vw;

  display: flex;
  align-items: center;
}

body.page-projects .footer-inner {
  width: 100%;

  display: grid;
  grid-template-columns: auto 2fr auto auto;
  gap: 48px;
  align-items: center;
}

body.page-projects .footer-name {
  display: flex;
  align-items: center;
}

body.page-projects .footer-name img {
  width: 130px;
  height: auto;
}

body.page-projects .instagram-widget {
  width: 100%;
  max-width: 500px;
  height: 135px;
  overflow: hidden;
}

body.page-projects .lightwidget-widget {
  width: 100% !important;
  height: 135px !important;
  border: 0 !important;
  overflow: hidden !important;
  display: block;
}

body.page-projects .footer-email {
  color: var(--muted);
  white-space: nowrap;

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  transition: color 0.25s ease;
}

body.page-projects .footer-socials {
  display: flex;
  gap: 26px;
  align-items: center;
}

body.page-projects .footer-socials a {
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}

body.page-projects .footer-socials a:hover,
body.page-projects .footer-email:hover {
  color: var(--text);
  transform: translateY(-1px);
}

body.page-projects .back-to-top {
  position: absolute;
  right: 34px;
  bottom: 34px;

  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 999px;

  background: rgba(220, 220, 220, 0.35);
  color: #111;

  font-size: 24px;
  cursor: pointer;
}

body.page-projects .back-to-top:hover {
  background: var(--text);
}

/* ANIMATION */

body.page-projects .fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.page-projects .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */

@media (max-width: 950px) {
  body.page-projects {
    --type-body: 18px;
  }

  body.page-projects .site-header {
    grid-template-columns: 1fr auto;
  }

  body.page-projects nav {
    gap: 8px;
  }

  body.page-projects .projects-section,
body.page-projects .case-study-text {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 90px 24px 110px;
  }

  body.page-projects .projects-section {
    padding-top: 120px;
    min-height: auto;
  }

  body.page-projects .project-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.page-projects .project-title {
    font-size: clamp(36px, 12vw, 58px);
  }

  body.page-projects .project-meta {
    white-space: normal;
  }

  body.page-projects .project-image {
    display: none;
  }

  body.page-projects .case-meta-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.page-projects .case-meta-row span:last-child {
    text-align: left;
  }

  body.page-projects .site-footer {
    min-height: auto;
    padding: 80px 24px 90px;
    justify-content: center;
    text-align: center;
  }

  body.page-projects .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    justify-items: center;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
  }

  body.page-projects .footer-name {
    justify-content: center;
  }

  body.page-projects .footer-name img {
    width: 115px;
  }

  body.page-projects .instagram-widget {
    width: min(100%, 360px);
    max-width: 360px;
    height: 105px;
  }

  body.page-projects .lightwidget-widget {
    width: 100% !important;
    height: 105px !important;
  }

  body.page-projects .footer-email {
    white-space: normal;
  }

  body.page-projects .footer-socials {
    justify-content: center;
    gap: 34px;
  }

  body.page-projects .back-to-top {
    right: 22px;
    bottom: 22px;
  }
}

/* ==================== ABOUT ==================== */

body.page-about * {
  box-sizing: border-box;
}

body.page-about {
  --bg: #000;
  --footer-bg: #1b1b1b;
  --text: #dcdcdc;
  --muted: #8f8f8f;
  --line: rgba(220, 220, 220, 0.2);
  --link: #b7b7b7;

  --page-margin: 6vw;

  --type-size: 18px;
  --type-body: 18px;
  --type-line: 1.12;
  --type-tracking: -0.025em;

  --title-size: clamp(30px, 4vw, 58px);
  --title-weight: 700;
  --title-line: 0.98;
  --title-tracking: -0.055em;
}

html {
  scroll-behavior: smooth;
}

body.page-about {
  margin: 0;

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

  font-family: "Inter", sans-serif;
  font-size: var(--type-size);
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-about a {
  color: inherit;
  text-decoration: none;
}

body.page-about img {
  display: block;
  width: 100%;
}

body.page-about figure {
  margin: 0;
}


/* ========================================
   HEADER
======================================== */

body.page-about .site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;

  width: 100%;
  padding: 8px var(--page-margin);

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  mix-blend-mode: difference;
}

body.page-about .title,
body.page-about nav a {
  white-space: nowrap;

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-about nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

body.page-about nav a {
  color: var(--text);
  transition: color 0.2s ease;
}

body.page-about nav a:hover {
  color: var(--muted);
}


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

body.page-about .about-intro {
  min-height: 92vh;

  display: flex;
  align-items: flex-end;

  padding:
    140px
    var(--page-margin)
    80px;

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

body.page-about .about-intro h1 {
  width: 100%;
  max-width: 1400px;

  margin: 0;

  color: var(--text);

  font-size: clamp(48px, 6.3vw, 96px);
  font-weight: 700;
  line-height: 0.91;
  letter-spacing: -0.065em;
}


/* ========================================
   ABOUT IMAGE
======================================== */

body.page-about .about-image {
  width: 100%;

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

body.page-about .about-image img {
  width: 100%;
  height: 100vh;

  object-fit: cover;
}


/* ========================================
   CASE STUDY STYLE SECTIONS
======================================== */

body.page-about .case-study-text {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding:
    120px
    var(--page-margin)
    140px;

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

body.page-about .case-label p {
  margin: 0;

  color: var(--muted);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-about .case-copy {
  max-width: 980px;
}

body.page-about .case-copy p {
  margin: 0 0 28px;

  color: var(--text);

  font-size: var(--type-body);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

body.page-about .case-copy p:last-child {
  margin-bottom: 0;
}


/* ========================================
   AWARDS
   SAME LIST STYLE AS PROJECTS
======================================== */

body.page-about .about-awards {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding:
    120px
    var(--page-margin)
    140px;

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

body.page-about .about-awards .case-label p {
  margin: 0;

  color: var(--muted);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-about .case-meta-list {
  width: 100%;
}

body.page-about .case-meta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;

  padding: 10px 0;

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--type-tracking);
}

body.page-about .case-meta-row span:last-child {
  color: var(--muted);
  text-align: right;
}


/* ========================================
   SPEAKING LINK
======================================== */

body.page-about .speaking-link {
  width: 100%;

  margin-top: 44px;

  color: var(--text);
}

body.page-about .speaking-link span:first-child {
  color: var(--text);
}

body.page-about .speaking-link span:last-child {
  transition:
    color 0.2s ease,
    transform 0.25s ease;
}

body.page-about .speaking-link:hover span:last-child {
  color: var(--text);
  transform: translate(3px, -3px);
}


/* ========================================
   SPEAKING IMAGE
======================================== */

body.page-about .speaking-image-section {
  padding:
    0
    var(--page-margin)
    120px;

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

body.page-about .speaking-image {
  overflow: hidden;

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

body.page-about .speaking-image img {
  width: 100%;
  height: 82vh;

  object-fit: cover;

  transition: transform 500ms ease;
}

body.page-about .speaking-image-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;

  padding: 10px 0;

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

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-about .speaking-image-meta span:first-child {
  color: var(--muted);
}

body.page-about .speaking-image-meta span:last-child {
  transition: transform 0.25s ease;
}

body.page-about .speaking-image-section a:hover img {
  transform: scale(1.015);
}

body.page-about .speaking-image-section a:hover .speaking-image-meta span:last-child {
  transform: translate(3px, -3px);
}


/* ========================================
   FOOTER
   SAME AS HOME
======================================== */

body.page-about .site-footer {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 360px;
  padding: 92px 5.5vw;

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

body.page-about .footer-inner {
  display: grid;
  grid-template-columns: auto 2fr auto auto;
  gap: 48px;
  align-items: center;

  width: 100%;
}

body.page-about .footer-name {
  display: flex;
  align-items: center;
}

body.page-about .footer-name img {
  width: 130px;
  height: auto;
}

body.page-about .instagram-widget {
  width: 100%;
  max-width: 500px;
  height: 135px;

  overflow: hidden;
}

body.page-about .lightwidget-widget {
  display: block;

  width: 100% !important;
  height: 135px !important;

  border: 0 !important;
  overflow: hidden !important;
}

body.page-about .footer-email {
  color: var(--muted);
  white-space: nowrap;

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  transition: color 0.25s ease;
}

body.page-about .footer-socials {
  display: flex;
  gap: 26px;
  align-items: center;
}

body.page-about .footer-socials a {
  color: var(--muted);

  font-size: 22px;
  line-height: 1;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

body.page-about .footer-socials a:hover,
body.page-about .footer-email:hover {
  color: var(--text);

  transform: translateY(-1px);
}

body.page-about .back-to-top {
  position: absolute;
  right: 34px;
  bottom: 34px;

  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 999px;

  background: rgba(220, 220, 220, 0.35);
  color: #111;

  font-size: 24px;
  cursor: pointer;
}

body.page-about .back-to-top:hover {
  background: var(--text);
}


/* ========================================
   ANIMATION
======================================== */

body.page-about .fade-in {
  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

body.page-about .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


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

@media (max-width: 950px) {

  body.page-about {
    --page-margin: 24px;
    --type-body: 18px;
  }

  body.page-about nav {
    gap: 8px;
  }

  body.page-about .about-intro {
    min-height: 75vh;

    padding:
      120px
      var(--page-margin)
      70px;
  }

  body.page-about .about-intro h1 {
    font-size: clamp(44px, 9vw, 76px);
  }

  body.page-about .about-image img {
    height: 75vh;
  }

  body.page-about .case-study-text,
body.page-about .about-awards {
    grid-template-columns: 1fr;
    gap: 28px;

    padding:
      90px
      var(--page-margin)
      110px;
  }

  body.page-about .case-meta-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.page-about .case-meta-row span:last-child {
    text-align: left;
  }

  body.page-about .speaking-image-section {
    padding:
      0
      var(--page-margin)
      90px;
  }

  body.page-about .speaking-image img {
    height: 68vh;
  }

  body.page-about .site-footer {
    min-height: auto;

    padding:
      80px
      24px
      90px;

    justify-content: center;
    text-align: center;
  }

  body.page-about .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;

    justify-items: center;
    align-items: center;

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

  body.page-about .footer-name {
    justify-content: center;
  }

  body.page-about .footer-name img {
    width: 115px;
  }

  body.page-about .instagram-widget {
    width: min(100%, 360px);
    max-width: 360px;
    height: 105px;
  }

  body.page-about .lightwidget-widget {
    width: 100% !important;
    height: 105px !important;
  }

  body.page-about .footer-email {
    white-space: normal;
  }

  body.page-about .footer-socials {
    justify-content: center;
    gap: 34px;
  }

  body.page-about .back-to-top {
    right: 22px;
    bottom: 22px;
  }
}


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

@media (max-width: 600px) {

  body.page-about {
    --page-margin: 16px;
  }

  body.page-about .site-header {
    gap: 12px;
  }

  body.page-about .title,
body.page-about nav a {
    font-size: 14px;
  }

  body.page-about nav {
    gap: 7px;
  }

  body.page-about .about-intro {
    min-height: 70vh;

    padding:
      100px
      var(--page-margin)
      55px;
  }

  body.page-about .about-intro h1 {
    font-size: clamp(38px, 12vw, 56px);
    line-height: 0.94;
  }

  body.page-about .about-image img {
    height: 60vh;
  }

  body.page-about .case-study-text,
body.page-about .about-awards {
    padding:
      80px
      var(--page-margin)
      100px;
  }

  body.page-about .speaking-image-section {
    padding-bottom: 70px;
  }

  body.page-about .speaking-image img {
    height: 55vh;
  }

  body.page-about .speaking-image-meta {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


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

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  body.page-about *,
body.page-about *::before,
body.page-about *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body.page-about .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   FEATURED ELSEWHERE
======================================== */

body.page-about .home-featured {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;

  padding: 120px var(--page-margin) 140px;

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

body.page-about .featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

body.page-about .featured-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-about .featured-image {
  margin: 0;
  aspect-ratio: 4 / 5;

  overflow: hidden;
  background: var(--footer-bg);
}

body.page-about .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 500ms ease;
}

body.page-about .featured-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;

  padding-top: 10px;

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

body.page-about .featured-meta h2,
body.page-about .featured-meta p {
  margin: 0;
}

body.page-about .featured-meta h2 {
  margin-bottom: 8px;

  font-size: var(--type-body);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: var(--type-tracking);
}

body.page-about .featured-meta p {
  color: var(--muted);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: 1.2;
}

body.page-about .featured-meta .featured-type {
  margin-bottom: 6px;

  color: var(--text);
}

body.page-about .featured-meta > span {
  transition: transform 0.25s ease;
}

body.page-about .featured-card:hover .featured-image img {
  transform: scale(1.025);
}

body.page-about .featured-card:hover .featured-meta > span {
  transform: translate(3px, -3px);
}

@media (max-width: 950px) {
	
	body.page-about .home-featured {
  grid-template-columns: 1fr;
  gap: 28px;

  padding-top: 90px;
  padding-bottom: 110px;
}

body.page-about .featured-grid {
  grid-template-columns: 1fr;
  gap: 48px;
}

body.page-about .featured-image {
  aspect-ratio: 16 / 10;}}

/* ============================================================
   TYPOGRAPHY COHESION
   Keeps large-screen typography controlled across the site.
   ============================================================ */

/* Large display type uses a lighter, more editorial weight. */
body.page-home .hero-copy h1,
body.page-home .home-about-statement,
body.page-home .project-title,
body.page-home .capability-title,
body.page-projects .project-title,
body.page-about .about-intro h1 {
  font-weight: 400;
}

/* The homepage About statement should feel substantial without
   scaling into oversized display type on wide monitors. */
body.page-home .home-about-statement {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

/* Bring the About-page opener into the same visual family as the
   rest of the site instead of allowing it to reach 96px. */
body.page-about .about-intro h1 {
  max-width: 1200px;
  font-size: clamp(32px, 3.8vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
}

/* Main paragraph copy uses one restrained size everywhere.
   This is intentionally close to Criterium's compact editorial scale. */
body.page-home .home-approach-content p,
body.page-about .case-copy p,
body.page-case-study .case-copy p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

/* Small feature headings do not need to read as bold. */
body.page-home .featured-meta h2,
body.page-about .featured-meta h2 {
  font-weight: 500;
}

/* Tablet */
@media (max-width: 950px) {
  body.page-home .home-about-statement {
    font-size: clamp(30px, 5vw, 42px);
  }

  body.page-about .about-intro h1 {
    font-size: clamp(32px, 6vw, 50px);
  }
}

/* Mobile */
@media (max-width: 600px) {
  body.page-home .home-about-statement {
    font-size: 32px;
    line-height: 1.04;
  }

  body.page-about .about-intro h1 {
    font-size: 36px;
    line-height: 1.02;
  }
}


/* ============================================================
   PRIMARY SITE HEADER COHESION
   Home, About and Projects use the same menu position and scale.
   Case-study headers intentionally keep their separate layout.
   ============================================================ */

body.page-home .site-header,
body.page-about .site-header,
body.page-projects .site-header {
  grid-template-columns: 1fr auto;
  gap: 32px;
  width: 100%;
  padding: 8px 6vw;
  font-size: 18px;
}

body.page-home .title,
body.page-home nav a,
body.page-about .title,
body.page-about nav a,
body.page-projects .title,
body.page-projects nav a {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

body.page-home nav,
body.page-about nav,
body.page-projects nav {
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 950px) {
  body.page-home .site-header,
  body.page-about .site-header,
  body.page-projects .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 600px) {
  body.page-home .site-header,
  body.page-about .site-header,
  body.page-projects .site-header {
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
  }

  body.page-home .title,
  body.page-home nav a,
  body.page-about .title,
  body.page-about nav a,
  body.page-projects .title,
  body.page-projects nav a {
    font-size: 14px;
  }

  body.page-home nav,
  body.page-about nav,
  body.page-projects nav {
    gap: 7px;
  }
}


/* ============================================================
   CASE STUDY HEADER ALIGNMENT
   Aligns the title and navigation with Home / About / Projects
   while preserving the case-study intro copy in the middle.
   ============================================================ */

body.page-case-study .site-header {
  grid-template-columns: 1fr 1.2fr auto;
  gap: 32px;

  width: 100%;
  padding: 8px 6vw;

  font-size: 18px;
}

body.page-case-study .title,
body.page-case-study nav a,
body.page-case-study .intro-copy {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

body.page-case-study nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

body.page-case-study .intro-copy {
  margin: 0;
  max-width: 720px;
}

@media (max-width: 950px) {
  body.page-case-study .site-header {
    grid-template-columns: 1fr auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  body.page-case-study .intro-copy {
    display: none;
  }
}

@media (max-width: 600px) {
  body.page-case-study .site-header {
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
  }

  body.page-case-study .title,
  body.page-case-study nav a {
    font-size: 14px;
  }

  body.page-case-study nav {
    gap: 7px;
  }
}


/* ============================================================
   CASE STUDY INTRO POSITION
   Keep the global title/nav alignment, but pin the case-study
   intro copy independently to the top of the header.
   ============================================================ */

body.page-case-study .site-header {
  grid-template-columns: 1fr auto;
  position: fixed;
}

body.page-case-study .intro-copy {
  position: absolute;
  top: 8px;
  left: 43.5%;

  width: min(720px, 38vw);
  max-width: 720px;
  margin: 0;

  align-self: start;
}

@media (max-width: 950px) {
  body.page-case-study .intro-copy {
    display: none;
  }
}


/* ============================================================
   CASE STUDY HEADER — SAFE INTRO COLUMN
   The title and nav stay aligned with the rest of the website.
   Intro copy is pinned to the top and given a protected area
   that cannot run underneath the navigation.
   ============================================================ */

body.page-case-study .site-header {
  position: fixed;
  grid-template-columns: 1fr auto;
  width: 100%;
  padding: 8px 6vw;
}

body.page-case-study .intro-copy {
  position: absolute;
  top: 8px;

  /* Pulls the copy slightly left from the previous version */
  left: 34%;

  /* Always reserves enough room for About / Projects / Let's Chat */
  right: calc(6vw + 270px);

  width: auto;
  max-width: none;
  margin: 0;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

body.page-case-study nav {
  position: relative;
  z-index: 2;
}

/* On narrower desktop screens, give the intro a little more room
   by moving its starting point left while still protecting the nav. */
@media (max-width: 1300px) {
  body.page-case-study .intro-copy {
    left: 30%;
    right: calc(6vw + 255px);
  }
}

@media (max-width: 1100px) {
  body.page-case-study .intro-copy {
    left: 27%;
    right: calc(6vw + 245px);
    font-size: 17px;
  }
}

@media (max-width: 950px) {
  body.page-case-study .intro-copy {
    display: none;
  }
}


/* ============================================================
   ABOUT PAGE REFINEMENTS
   Reuses the homepage "View all projects" link pattern.
   ============================================================ */

body.page-about {
  --accent: #6f8faf;
}

/* Reduce the empty space before the opening statement. */
body.page-about .about-intro {
  min-height: 72vh;
  padding-top: 110px;
  padding-bottom: 64px;
}

/* About-page links use colour only, without arrow movement. */
body.page-about .case-copy a,
body.page-about .case-meta-row a,
body.page-about .featured-card .featured-meta,
body.page-about .footer-email,
body.page-about .footer-socials a,
body.page-about nav a,
body.page-about .about-link-row a {
  transition: color 0.2s ease;
}

body.page-about .case-copy a:hover,
body.page-about .case-meta-row a:hover,
body.page-about .featured-card:hover .featured-meta,
body.page-about .featured-card:hover .featured-meta p,
body.page-about .featured-card:hover .featured-meta > span,
body.page-about .footer-email:hover,
body.page-about .footer-socials a:hover,
body.page-about nav a:hover,
body.page-about .about-link-row a:hover {
  color: var(--accent);
}

body.page-about .featured-card:hover .featured-meta > span,
body.page-about .about-link-row a:hover span:last-child {
  transform: none;
}

/* Same visual structure as the homepage "View all projects" link. */
body.page-about .about-link-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 32px;
}

body.page-about .about-link-row a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  width: min(100%, 310px);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-about .about-link-row a span:last-child {
  transition: color 0.2s ease;
}

body.page-about .beyond-link-row {
  grid-column: 2;
  padding-top: 32px;
}

@media (max-width: 950px) {
  body.page-about .about-intro {
    min-height: 66vh;
    padding-top: 100px;
    padding-bottom: 56px;
  }

  body.page-about .about-link-row {
    justify-content: flex-start;
  }

  body.page-about .beyond-link-row {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  body.page-about .about-intro {
    min-height: 62vh;
    padding-top: 90px;
    padding-bottom: 48px;
  }
}


/* ============================================================
   ARROW COHESION
   One arrow glyph throughout. External/card arrows use the same
   horizontal arrow rotated, so the shape and weight stay identical.
   ============================================================ */
.site-arrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  line-height: 1;
  transform: none;
  transition: color 0.2s ease;
}

.site-arrow--diagonal {
  transform: rotate(-45deg);
  transform-origin: center;
}

/* Keep arrows still on hover. Colour may change with their parent link. */
body .site-arrow,
body a:hover .site-arrow,
body .featured-card:hover .site-arrow,
body .home-about-link:hover .site-arrow,
body .projects-link-row a:hover .site-arrow,
body .speaking-link:hover .site-arrow {
  translate: none;
}

/* Cancel older arrow movement rules without changing project-card behaviour. */
body.page-home .home-about-meta .site-arrow,
body.page-home .projects-link-row a .site-arrow,
body.page-home .featured-meta > .site-arrow,
body.page-about .featured-meta > .site-arrow,
body.page-about .speaking-link .site-arrow,
body.page-about .about-links-row .site-arrow {
  transition: color 0.2s ease;
}

body.page-home .home-about-link:hover .home-about-meta .site-arrow,
body.page-home .projects-link-row a:hover .site-arrow,
body.page-home .featured-card:hover .featured-meta > .site-arrow,
body.page-about .featured-card:hover .featured-meta > .site-arrow,
body.page-about .speaking-link:hover .site-arrow,
body.page-about .about-links-row:hover .site-arrow {
  transform: none;
}

body.page-home .featured-card:hover .featured-meta > .site-arrow,
body.page-about .featured-card:hover .featured-meta > .site-arrow,
body.page-home .home-about-link:hover .home-about-meta .site-arrow {
  transform: rotate(-45deg);
}

/* ============================================================
   FINAL ARROW COHESION
   Every arrow uses the same Inter right-arrow glyph. Diagonal
   arrows are the same glyph rotated, never a separate thin glyph.
   ============================================================ */
.site-arrow {
  display: inline-block;
  flex: 0 0 auto;
  color: currentColor;
  font-family: "Inter", sans-serif;
  font-size: 1em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  transform: none;
  transform-origin: center;
  transition: color 0.2s ease;
}

.site-arrow--diagonal {
  transform: rotate(-45deg);
}

/* Keep the arrow shape and position fixed on hover. */
body a:hover .site-arrow:not(.site-arrow--diagonal) {
  transform: none !important;
}

body a:hover .site-arrow--diagonal,
body .featured-card:hover .site-arrow--diagonal,
body .home-about-link:hover .site-arrow--diagonal {
  transform: rotate(-45deg) !important;
}

/* Inline arrows inside project case-study list labels. */
body.page-case-study .case-meta-row span:last-child .site-arrow {
  margin-left: 0.15em;
  vertical-align: -0.02em;
}

/* ============================================================
   FEATURES & PRESS
   Reuses the existing Projects page system.
   ============================================================ */

body.page-features {
  --accent: #6f8faf;
}


/* Gives the list more room by narrowing the left label column. */

body.page-features .features-press-section {
  grid-template-columns: 0.62fr 2.38fr;
  padding-top: 160px;
}


/* TIMELINE */

body.page-features .features-timeline {
  width: 100%;
}

body.page-features .features-year-group {
  margin-bottom: 88px;
}

body.page-features .features-year-group:last-child {
  margin-bottom: 0;
}

body.page-features .features-year {
  margin: 0 0 22px;

  color: var(--muted);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}


/* ENTRIES */

body.page-features .feature-entry {
  grid-template-columns:
    minmax(170px, 0.8fr)
    minmax(260px, 1.65fr)
    minmax(75px, auto);

  gap: 32px;
  align-items: baseline;

  transition: color 0.2s ease;
}

body.page-features .feature-entry .feature-source {
  color: var(--text);
  transition: color 0.2s ease;
}

body.page-features .feature-entry .feature-title {
  color: var(--text);
  text-align: left;
  transition: color 0.2s ease;
}

body.page-features .feature-entry .feature-type {
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  transition: color 0.2s ease;
}

body.page-features .feature-entry:hover .feature-source,
body.page-features .feature-entry:hover .feature-title,
body.page-features .feature-entry:hover .feature-type,
body.page-features .feature-entry:focus-visible .feature-source,
body.page-features .feature-entry:focus-visible .feature-title,
body.page-features .feature-entry:focus-visible .feature-type {
  color: var(--accent);
}


/* TABLET */

@media (max-width: 950px) {

  body.page-features .features-press-section {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  body.page-features .features-year-group {
    margin-bottom: 68px;
  }

  body.page-features .features-year {
    margin-bottom: 18px;
  }

  body.page-features .feature-entry {
    grid-template-columns: 1fr auto;
    gap: 6px 20px;
  }

  body.page-features .feature-entry .feature-source {
    grid-column: 1;
    grid-row: 1;
  }

  body.page-features .feature-entry .feature-title {
    grid-column: 1;
    grid-row: 2;
    color: var(--muted);
  }

  body.page-features .feature-entry .feature-type {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

}


/* MOBILE */

@media (max-width: 600px) {

  body.page-features .feature-entry {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  body.page-features .feature-entry .feature-source,
  body.page-features .feature-entry .feature-title,
  body.page-features .feature-entry .feature-type {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  body.page-features .feature-entry .feature-type {
    margin-top: 3px;
  }

}

/* ============================================================
   PUBLIC SPEAKING
   ============================================================ */

body.page-speaking .feature-entry {
  grid-template-columns: 260px minmax(0, 1fr) 190px;
  gap: 28px;
  align-items: start;
}

body.page-speaking .feature-entry .feature-source,
body.page-speaking .feature-entry .feature-title,
body.page-speaking .feature-entry .feature-type {
  line-height: 1.2;
}

body.page-speaking .feature-entry .feature-title {
  text-align: left;
}

body.page-speaking .feature-entry .feature-type {
  color: var(--muted);
  text-align: right;
  white-space: normal;
}

/* Rows without links stay static. */
body.page-speaking div.feature-entry {
  cursor: default;
}

body.page-speaking div.feature-entry:hover .feature-source,
body.page-speaking div.feature-entry:hover .feature-title {
  color: var(--text);
}

body.page-speaking div.feature-entry:hover .feature-type {
  color: var(--muted);
}

/* Blue hover appears only on actual links. */
body.page-speaking a.feature-entry {
  cursor: pointer;
}

body.page-speaking a.feature-entry:hover .feature-source,
body.page-speaking a.feature-entry:hover .feature-title,
body.page-speaking a.feature-entry:hover .feature-type,
body.page-speaking a.feature-entry:focus-visible .feature-source,
body.page-speaking a.feature-entry:focus-visible .feature-title,
body.page-speaking a.feature-entry:focus-visible .feature-type {
  color: var(--accent);
}

@media (max-width: 950px) {
  body.page-speaking .feature-entry {
    grid-template-columns: 1fr auto;
    gap: 6px 20px;
  }

  body.page-speaking .feature-entry .feature-source {
    grid-column: 1;
    grid-row: 1;
  }

  body.page-speaking .feature-entry .feature-title {
    grid-column: 1;
    grid-row: 2;
    color: var(--muted);
  }

  body.page-speaking .feature-entry .feature-type {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    text-align: right;
  }
}

@media (max-width: 600px) {
  body.page-speaking .feature-entry {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  body.page-speaking .feature-entry .feature-source,
  body.page-speaking .feature-entry .feature-title,
  body.page-speaking .feature-entry .feature-type {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  body.page-speaking .feature-entry .feature-type {
    margin-top: 3px;
  }
}

body.page-speaking .about-link-row + .about-link-row {
  padding-top: 12px;
}


body.page-about .about-link-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 32px;
}

body.page-about .about-link-row a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  width: min(100%, 310px);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);
}

body.page-about .about-link-row,
body.page-speaking .about-link-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 32px;
}

body.page-about .about-link-row a,
body.page-speaking .about-link-row a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  width: min(100%, 310px);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);

  color: var(--text);

  font-size: var(--type-size);
  font-weight: 500;
  line-height: var(--type-line);
  letter-spacing: var(--type-tracking);

  transition: color .2s ease;
}

body.page-about .about-link-row a:hover,
body.page-speaking .about-link-row a:hover {
  color: var(--accent);
}

/* ============================================================
   SITE-WIDE LINK HOVER COHESION
   All real links use the same blue hover/focus colour across
   Home, About, Projects, Features, Speaking and case studies.
   Placed last so it overrides older grey/white page rules.
   ============================================================ */

body.page-home,
body.page-about,
body.page-projects,
body.page-case-study {
  --accent: #6f8faf;
}

body.page-home a,
body.page-about a,
body.page-projects a,
body.page-case-study a {
  transition: color 0.2s ease;
}

body.page-home a:hover,
body.page-home a:hover *,
body.page-home a:focus-visible,
body.page-home a:focus-visible *,
body.page-about a:hover,
body.page-about a:hover *,
body.page-about a:focus-visible,
body.page-about a:focus-visible *,
body.page-projects a:hover,
body.page-projects a:hover *,
body.page-projects a:focus-visible,
body.page-projects a:focus-visible *,
body.page-case-study a:hover,
body.page-case-study a:hover *,
body.page-case-study a:focus-visible,
body.page-case-study a:focus-visible * {
  color: var(--accent) !important;
}

/* Keep non-linked speaking rows static. */
body.page-speaking div.feature-entry:hover,
body.page-speaking div.feature-entry:hover * {
  color: inherit !important;
}

body.page-speaking div.feature-entry:hover .feature-type {
  color: var(--muted) !important;
}
