@font-face { font-family: "Libre Baskerville"; src: url("assets/fonts/LibreBaskerville-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("assets/fonts/LibreBaskerville-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("assets/fonts/LibreBaskerville-SemiBoldItalic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("assets/fonts/LibreBaskerville-SemiBoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("assets/fonts/CreatoDisplay-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("assets/fonts/CreatoDisplay-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("assets/fonts/CreatoDisplay-MediumItalic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("assets/fonts/CreatoDisplay-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("assets/fonts/CreatoDisplay-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("assets/fonts/CreatoDisplay-MediumItalic.otf") format("opentype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("assets/fonts/CreatoDisplay-ExtraBold.otf") format("opentype"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --blue: #1934e8;
  --blue-hover: #304cf0;
  --lavender: #e8eafd;
  --lavender-line: #7484f4;
  --ink: #101010;
  --muted: #65636a;
  --page-width: 1512px;
  font-family: "Creato Display", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
}

.scroll-progress {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--blue);
}

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

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  width: 100%;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(8.1vw, calc((100vw - var(--page-width)) / 2));
  border-bottom: 1px solid rgb(25 52 232 / 12%);
  background: linear-gradient(110deg, rgb(255 255 255 / 82%), rgb(245 247 255 / 72%));
  box-shadow: 0 8px 28px rgb(16 24 64 / 8%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  display: block;
  width: 64px;
  height: 44px;
  overflow: hidden;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7.5rem);
}

.top-nav a {
  color: #24232b;
  font-size: 15px;
  letter-spacing: 0.11em;
  text-decoration: none;
  transition: color 160ms ease;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  color: var(--blue);
}

.top-nav a:hover,
.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.hero {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 58px 24px 104px;
  text-align: center;
}

.hero-wordmark {
  display: block;
  width: min(66vw, 780px);
  height: auto;
  margin: 0 auto 34px;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  color: #656168;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.45;
}

.complexity-word,
.clarity-word {
  display: inline;
}

body.motion-ready .clarity-word {
  filter: blur(5px);
  opacity: 0.35;
  transition: filter 280ms ease, opacity 280ms ease;
}

body.motion-ready .clarity-word.is-landed {
  filter: blur(0);
  opacity: 1;
}

.projects {
  padding: 0 24px;
}

.section-title {
  margin: 0 auto 52px;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(31px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.project-card {
  display: grid;
  width: min(100%, var(--page-width));
  min-height: 470px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(36px, 5vw, 82px);
  margin: 0 auto 92px;
  padding: clamp(38px, 4.2vw, 62px);
  overflow: hidden;
  border-radius: clamp(30px, 4vw, 52px);
  background: var(--lavender);
}

.project-card:last-child {
  margin-bottom: 0;
}

.project-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0 0 15px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(28px, 2.4vw, 39px);
  font-weight: 400;
  line-height: 1.24;
}

.project-description {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  letter-spacing: 0.02em;
  line-height: 1.78;
}

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

.tags li {
  padding: 7px 12px 6px;
  border: 1px solid var(--lavender-line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.metrics {
  display: flex;
  min-height: 106px;
  align-items: flex-start;
  gap: 34px;
  padding-top: 21px;
  border-top: 1px solid var(--lavender-line);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.metric strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  min-width: 180px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: #fff;
}

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

.button-secondary {
  background: transparent;
  color: var(--blue);
}

.button-secondary:hover {
  background: #fff;
}

.project-art {
  display: flex;
  min-width: 0;
  min-height: 345px;
  align-items: center;
  justify-content: center;
}

.project-art img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.spectrum-art {
  min-height: 390px;
  align-items: flex-end;
  gap: 16px;
}

.spectrum-art img {
  width: calc(50% - 8px);
  max-height: 390px;
}

.phone-art {
  gap: 18px;
}

.phone-art img {
  width: calc(50% - 9px);
  max-height: 415px;
  object-fit: contain;
}

.laptop-art img {
  width: 100%;
  max-height: 390px;
}

.banking-art img {
  width: min(100%, 350px);
  max-height: 440px;
}

.site-footer {
  margin-top: 96px;
  padding: 54px max(8.1vw, calc((100vw - var(--page-width)) / 2)) 36px;
  width: 100%;
  border-radius: min(240px, 16vw) min(240px, 16vw) 0 0 / 100% 100% 0 0;
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.about-section {
  width: min(100% - 48px, var(--page-width));
  margin: 0 auto;
  padding: 18px 0 24px;
}

.about-heading {
  margin: 0 0 48px;
  text-align: center;
}

.about-heading .eyebrow {
  margin-bottom: 10px;
}

.about-heading .section-title {
  margin-bottom: 0;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
  max-width: 1100px;
  margin: 0 auto 60px;
}

.about-portrait {
  display: block;
  width: min(100%, 360px);
  max-height: 430px;
  justify-self: center;
  border-radius: 2px;
  object-fit: cover;
  cursor: zoom-in;
}

.about-copy h3,
.process-copy h3 {
  margin: 0 0 16px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
}

.about-copy p,
.process-copy p {
  margin: 0 0 17px;
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: 0.015em;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 6px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  text-underline-offset: 0.3em;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 160px;
  gap: 14px;
  margin: 0 0 92px;
}

.photo-tile {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #f0eff3;
  cursor: zoom-in;
}

.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.photo-tile:hover img {
  transform: scale(1.04);
}

.photo-tall {
  grid-row: span 2;
}

.photo-wide {
  grid-column: span 2;
}

.process-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 42px;
  background: var(--lavender);
}

.process-copy .eyebrow {
  margin-bottom: 10px;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.process-steps span {
  padding: 7px 10px;
  border: 1px solid var(--lavender-line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.process-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.process-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.gallery-dialog {
  width: min(92vw, 1200px);
  max-width: none;
  max-height: 92vh;
  padding: 18px;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgb(0 0 0 / 25%);
}

.gallery-dialog::backdrop {
  background: rgb(10 10 18 / 82%);
  backdrop-filter: blur(4px);
}

.gallery-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 60px);
  margin: auto;
  object-fit: contain;
}

.gallery-dialog figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.gallery-dialog-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.footer-name {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 34px;
  text-decoration: none;
}

.site-footer > p {
  margin: 12px 0 38px;
  font-size: 19px;
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-nav a {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

:focus-visible {
  outline: 3px solid #ffbd3e;
  outline-offset: 4px;
}

.cursor-orbit {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  background: rgb(25 52 232 / 7%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease, background-color 180ms ease, opacity 180ms ease;
  will-change: transform;
}

.cursor-orbit.is-visible {
  opacity: 1;
}

.cursor-orbit.is-hovering {
  width: 48px;
  height: 48px;
  background: rgb(25 52 232 / 12%);
}

@media (min-width: 1600px) {
  .hero {
    min-height: 760px;
  }

  .hero-wordmark {
    width: min(66vw, 900px);
  }

  .project-card {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 64px;
    padding: 0 24px;
  }

  .brand {
    width: 58px;
    height: 40px;
  }

  .top-nav {
    gap: clamp(18px, 5vw, 40px);
  }

  .top-nav a {
    font-size: 13px;
  }

  .hero {
    min-height: 540px;
    padding: 56px 24px 86px;
  }

  .hero-wordmark {
    width: min(82vw, 680px);
    margin-bottom: 22px;
  }

  .projects {
    padding-right: 20px;
    padding-left: 20px;
  }

  .project-card {
    min-height: 0;
    gap: 28px;
    margin-bottom: 48px;
    padding: 36px;
    border-radius: 34px;
  }

  .project-copy h3 {
    font-size: clamp(28px, 4vw, 36px);
  }

  .project-description {
    font-size: 16px;
    line-height: 1.65;
  }

  .tags {
    gap: 9px;
  }

  .tags li {
    padding: 6px 9px;
    font-size: 10px;
  }

  .project-art,
  .spectrum-art {
    min-height: 280px;
  }

  .spectrum-art {
    gap: 10px;
  }

  .spectrum-art img {
    width: calc(50% - 5px);
    max-height: 300px;
  }

  .site-footer {
    margin-top: 64px;
    padding: 48px 28px 32px;
    border-radius: min(240px, 16vw) min(240px, 16vw) 0 0 / 100% 100% 0 0;
  }

  .about-intro {
    gap: 30px;
  }

  .photo-grid {
    grid-auto-rows: 130px;
    gap: 10px;
  }

  .process-block {
    gap: 30px;
    padding: 32px;
    border-radius: 34px;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0 18px;
  }

  .top-nav {
    gap: 20px;
  }

  .hero {
    min-height: 470px;
    padding: 48px 22px 72px;
  }

  .hero-wordmark {
    width: min(96vw, 560px);
    margin-right: -12px;
    margin-left: -12px;
  }

  .hero h1 {
    font-size: 17px;
    line-height: 1.6;
  }

  .projects {
    padding: 0 14px 70px;
  }

  .section-title {
    margin-bottom: 30px;
    font-size: 32px;
  }

  .project-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 30px;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .project-copy h3 {
    font-size: 30px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .project-description {
    font-size: 15px;
    line-height: 1.65;
  }

  .tags {
    gap: 8px;
    margin: 16px 0 19px;
  }

  .tags li {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .metrics {
    min-height: 84px;
    padding-top: 16px;
  }

  .metric strong {
    font-size: 28px;
  }

  .metric span {
    font-size: 11px;
  }

  .project-actions {
    gap: 10px;
    margin-top: 8px;
  }

  .button {
    min-width: 0;
    min-height: 46px;
    flex: 1 1 145px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .project-art,
  .spectrum-art {
    min-height: 230px;
  }

  .spectrum-art {
    order: 2;
    gap: 8px;
    min-height: 250px;
    align-items: flex-end;
  }

  .spectrum-art img {
    width: calc(50% - 4px);
    max-height: 245px;
  }

  .phone-art {
    order: 2;
  }

  .phone-art img {
    width: calc(50% - 6px);
    max-height: 300px;
  }

  .laptop-art img {
    width: 110%;
    max-width: none;
    margin: 0 -5%;
  }

  .banking-art img {
    width: min(100%, 260px);
    max-height: 350px;
  }

  .site-footer {
    margin-top: 50px;
    padding: 42px 22px 30px;
    border-radius: min(240px, 16vw) min(240px, 16vw) 0 0 / 100% 100% 0 0;
  }

  .footer-name {
    font-size: 30px;
  }

  .site-footer > p {
    margin-bottom: 32px;
    font-size: 16px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 30px;
  }

  .footer-nav a {
    font-size: 11px;
  }

  .about-section {
    width: calc(100% - 28px);
    padding-top: 8px;
  }

  .about-heading {
    margin-bottom: 30px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 36px;
  }

  .about-portrait {
    width: min(100%, 300px);
    max-height: 360px;
  }

  .about-copy {
    padding: 0 8px;
  }

  .about-copy h3,
  .process-copy h3 {
    font-size: 34px;
  }

  .about-copy p,
  .process-copy p {
    font-size: 15px;
    line-height: 1.7;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 130px;
    gap: 8px;
    margin-bottom: 48px;
  }

  .process-block {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px 20px;
    border-radius: 28px;
  }

  .process-steps {
    gap: 7px;
    margin-top: 18px;
  }

  .process-steps span {
    font-size: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

body.home-page {
  --accent: #263dff;
  background: #fafaf7;
}

body {
  position: relative;
  isolation: isolate;
  background: #fafaf7;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background-image: radial-gradient(circle, rgb(16 16 16 / 13%) 1px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
}

.home-page .hero {
  position: relative;
  isolation: isolate;
  min-height: min(900px, calc(100svh - 68px));
  justify-content: flex-start;
  padding: 42px 24px clamp(68px, 9vh, 100px);
  background: transparent;
}

.home-page .hero-content {
  display: flex;
  width: min(100%, 980px);
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.home-page .hero-label {
  margin: 0;
  color: #24232b;
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-page .hero-wordmark {
  width: min(36vw, 560px);
  height: auto;
  margin: clamp(28px, 4.5vh, 48px) auto;
}

.home-page .hero-name {
  margin: 0;
  color: #17171b;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.home-page .hero-tagline {
  width: min(100%, 950px);
  min-height: 1.55em;
  text-wrap: balance;
  margin: clamp(24px, 3.5vh, 38px) 0 0;
  color: #34343b;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.55;
  text-align: center;
}

.home-page .hero-status {
  margin: clamp(22px, 3vh, 32px) 0 0;
  color: #24232b;
  font-family: "Creato Display", sans-serif;
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
}

.home-page .hero-status-key {
  color: var(--accent);
  font-weight: 700;
}

.home-page .tagline-accent {
  color: var(--accent);
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 500;
}

.home-page .tagline-caret {
  display: inline-block;
  width: 0.09em;
  height: 1.05em;
  margin-left: 0.12em;
  background: var(--accent);
  vertical-align: -0.12em;
}

.home-page .tagline-caret.is-blinking {
  animation: caret-blink 850ms steps(2, start) infinite;
}

@keyframes caret-blink {
  to { visibility: hidden; }
}

.home-page .projects {
  padding: 48px 24px 96px;
  background: transparent;
  scroll-margin-top: 88px;
}

.home-page .project-card {
  display: grid;
  width: min(100%, 1320px);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(42px, 7vw, 104px);
  min-height: 0;
  margin: 0 auto clamp(104px, 12vw, 164px);
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.home-page .project-card:nth-of-type(even) {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.home-page .project-card:nth-of-type(even) .project-visual {
  grid-column: 2;
  grid-row: 1;
}

.home-page .project-card:nth-of-type(even) .project-copy {
  grid-column: 1;
  grid-row: 1;
}

.home-page .project-card:last-child {
  margin-bottom: 0;
}

.home-page .project-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  min-height: 360px;
  aspect-ratio: 1.28;
  container-type: size;
  place-items: center;
  border-radius: 32px;
  box-shadow: 0 20px 52px rgb(25 52 232 / 12%);
  transition: box-shadow 380ms ease-out;
}

.home-page .project-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 92% 8%, rgb(150 178 255 / 85%) 0%, rgb(150 178 255 / 0%) 46%),
    radial-gradient(circle at 4% 96%, rgb(196 214 255 / 70%) 0%, rgb(196 214 255 / 0%) 50%),
    linear-gradient(135deg, #fff 0%, #f1f5ff 50%, #dbe7ff 100%);
  background-size: 140% 140%;
  content: "";
  transition: background-position 380ms ease-out, transform 380ms ease-out;
}

.home-page .project-artwork {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: inherit;
  transition: transform 380ms ease-out;
}

.home-page .project-artwork img {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0 0 -10%;
  object-fit: contain;
  transform-origin: 50% 100%;
  transition: transform 380ms ease-out;
}

.home-page .spectrum-art .project-artwork,
.home-page .phone-art .project-artwork {
  gap: 8%;
}

.home-page .spectrum-art .project-artwork img,
.home-page .phone-art .project-artwork img {
  width: auto;
  height: 100cqh;
  margin-bottom: -9cqh;
}

.home-page .laptop-art .project-artwork {
  align-items: center;
}

.home-page .laptop-art .project-artwork img {
  width: 78%;
  margin: 0;
}

.home-page .banking-art .project-artwork img {
  width: auto;
  height: 100cqh;
  margin-bottom: -9cqh;
}

.home-page .spectrum-art .info-bottom,
.home-page .laptop-art .info-bottom {
  top: 24px;
  bottom: auto;
}

.home-page .project-copy {
  width: 100%;
  max-width: 500px;
  justify-self: center;
}

.home-page .project-tag {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue);
  font-family: "Creato Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.55;
  text-transform: none;
}

.home-page .project-tag > span {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border: 1px dotted var(--blue);
  border-radius: 50%;
}

.home-page .project-copy h3 {
  max-width: 480px;
  margin: 0 0 18px;
  color: #14151a;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: clamp(30px, 3.1vw, 43px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.home-page .project-description {
  max-width: 480px;
  margin: 0;
  color: #5e6069;
  font-family: "Creato Display", sans-serif;
  font-size: clamp(17px, 1.35vw, 18px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.72;
}

.home-page .project-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 27px;
  padding: 0 0 5px;
  border-bottom: 2px solid var(--blue);
  color: #17181d;
  font-family: "Creato Display", sans-serif;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  transition: border-bottom-width 220ms ease-out;
}

.home-page .project-cta::after {
  content: " →";
  transition: transform 300ms ease-out;
}

.home-page .project-cta:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}

.home-page .project-stat {
  position: absolute;
  z-index: 2;
  display: flex;
  min-width: 160px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 13px 19px 14px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 9px 26px rgb(20 49 197 / 25%);
  color: #fff;
  transition: transform 360ms ease-out;
}

.home-page .stat-top {
  top: -14px;
  right: 24px;
}

.home-page .stat-bottom {
  bottom: -14px;
  left: 24px;
}

.home-page .stat-lower {
  right: 24px;
  bottom: -14px;
}

.home-page .stat-value {
  color: #fff;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
  white-space: nowrap;
}

.home-page .app-stat {
  font-size: 25px;
}

.home-page .stat-label {
  color: rgb(255 255 255 / 84%);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-transform: lowercase;
}

.home-page .stat-arrow {
  display: inline-block;
  opacity: 1;
  transition: opacity 300ms ease-out;
}

.home-page.cards-motion-ready .stat-arrow {
  opacity: 0;
}

.home-page.cards-motion-ready .stat-arrow.is-visible {
  opacity: 1;
}

.home-page .project-info-pills {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 70%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 360ms ease-out;
}

.home-page .project-info-pills li {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 7px 22px rgb(25 35 71 / 12%);
  color: #282a32;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.case-layout.is-nav-collapsed .all-work-label {
  display: inline;
}

.home-page .project-info-pills li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.home-page .info-bottom {
  bottom: 24px;
  left: 22px;
}

.home-page .info-top {
  top: 24px;
  left: 22px;
}

.home-page .verizon-apps .info-top,
.home-page .banking .info-top {
  right: 22px;
  left: auto;
}

.home-page h1,
.home-page h2,
.home-page .hero-label {
  font-family: "Libre Baskerville", Georgia, serif;
}

.home-page .hero-name,
.home-page .section-title {
  font-family: "Libre Baskerville", Georgia, serif;
}

.home-page .hero-label {
  font-family: "Creato Display", sans-serif;
}

.home-page .project-type {
  display: inline-flex;
  align-items: center;
  padding: 0;
}

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

@media (max-width: 820px) {
  .home-page .hero {
    min-height: min(780px, calc(100svh - 64px));
    padding: 26px 24px 56px;
  }

  .home-page .hero-wordmark {
    width: min(50vw, 430px);
    margin-top: 28px;
    margin-bottom: 28px;
  }
}

@media (max-width: 600px) {
  .home-page .hero {
    min-height: min(720px, calc(100svh - 64px));
    padding: 26px 22px 48px;
  }

  .home-page .hero-label {
    font-size: 11px;
    letter-spacing: 0.17em;
  }

  .home-page .hero-status {
    font-size: 11px;
    letter-spacing: 0.03em;
  }

  .home-page .hero-wordmark {
    width: min(60vw, 330px);
    margin-top: 26px;
    margin-bottom: 26px;
  }

  .home-page .hero-name {
    font-size: 26px;
  }

  .home-page .hero-tagline {
    margin-top: 26px;
    min-height: 3.2em;
    font-size: 17px;
    line-height: 1.55;
  }

  .home-page .projects {
    padding: 36px 20px 72px;
  }

  .home-page .project-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 38px;
    margin-bottom: 74px;
    padding: 0;
  }

  .home-page .project-card:nth-of-type(even) {
    display: flex;
  }

  .home-page .project-visual {
    width: 100%;
    min-height: 300px;
    aspect-ratio: 1.12;
    order: 0;
    border-radius: 26px;
  }

  .home-page .project-copy {
    max-width: none;
    order: 1;
    padding: 0 4px;
  }

  .home-page .project-artwork {
    min-height: 300px;
  }

  .home-page .project-copy h3 {
    max-width: 620px;
    font-size: clamp(30px, 7vw, 40px);
  }

  .home-page .project-description {
    max-width: 600px;
  }

  .home-page .project-tag {
    font-size: 11px;
  }

  .home-page .project-stat {
    min-width: 145px;
    padding: 12px 16px;
  }

  .home-page .stat-top {
    top: -12px;
    right: 14px;
  }

  .home-page .stat-bottom,
  .home-page .stat-lower {
    bottom: -12px;
    left: 14px;
    right: auto;
  }

  .home-page .stat-lower {
    left: auto;
    right: 14px;
  }

  .home-page .project-info-pills {
    max-width: calc(100% - 28px);
    gap: 6px;
  }

  .home-page .info-bottom {
    bottom: 14px;
    left: 14px;
  }

  .home-page .info-top,
  .home-page .verizon-apps .info-top,
  .home-page .banking .info-top {
    top: 14px;
    right: 14px;
    left: auto;
  }

  .home-page .project-info-pills li {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .home-page .project-cta {
    margin-top: 22px;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual {
    box-shadow: 0 28px 66px rgb(25 52 232 / 18%);
  }

  .home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual::before {
    background-position: 100% 100%;
    transform: scale(1.015);
  }

  .home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual .project-artwork img {
    transform: scale(1.04);
  }

  .home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual .stat-top {
    transform: translate(12px, -10px);
  }

  .home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual .stat-bottom {
    transform: translate(-12px, 10px);
  }

  .home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual .stat-lower {
    transform: translate(12px, 10px);
  }

  .home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual .info-bottom {
    transform: translate(-10px, 10px);
    transition-delay: 60ms;
  }

  .home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual .info-top {
    transform: translate(10px, -10px);
    transition-delay: 120ms;
  }

  .home-page .project-cta:hover {
    border-bottom-width: 3px;
  }

  .home-page .project-cta:hover::after {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .tagline-segment {
    animation: none;
  }

  .home-page .tagline-caret.is-blinking {
    animation: none;
  }

  .home-page .project-artwork img,
  .home-page .project-visual::before,
  .home-page .project-visual,
  .home-page .project-stat,
  .home-page .project-info-pills,
  .home-page .project-cta,
  .home-page .project-cta::after {
    transition: none;
  }

  .cursor-orbit {
    display: none !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.detail-title,
.detail-section h2,
.detail-section h3,
.detail-section h4,
.detail-section h5,
.detail-section h6,
.detail-kicker,
.detail-date,
.detail-lede,
.detail-section blockquote,
.callout,
.eyebrow,
.overview-meta dt,
.project-type,
.metric strong,
.footer-name {
  font-family: "Libre Baskerville", Georgia, serif !important;
}

.button,
.case-pagination a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.home-page .project-card {
  position: relative;
}

.home-page .project-visual {
  cursor: pointer;
}

.home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-cta {
  border-bottom-width: 3px;
}

.home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-cta::after {
  transform: translateX(4px);
}

.home-page .byod-card .laptop-art .project-artwork {
  align-items: center;
}

.home-page .byod-card .laptop-art .project-artwork img {
  width: 88%;
  height: auto;
  margin: 0;
}

.home-page .wip-card .project-visual { cursor: default; }

.home-page .wip-art::before {
  background:
    radial-gradient(circle at 92% 8%, rgb(150 178 255 / 85%) 0%, rgb(150 178 255 / 0%) 46%),
    radial-gradient(circle at 4% 96%, rgb(196 214 255 / 70%) 0%, rgb(196 214 255 / 0%) 50%),
    linear-gradient(135deg, #fff 0%, #f1f5ff 50%, #dbe7ff 100%);
}

.home-page .wip-phone {
  position: absolute;
  top: 12%;
  width: 30%;
  height: 76%;
  border-radius: 9% / 5.5%;
}

.home-page .wip-phone-back {
  left: 17%;
  border: 4px solid #6f7a99;
  background: rgb(255 255 255 / 55%);
  transform: rotate(-9deg);
}

.home-page .wip-phone-front {
  left: 36%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4%;
  padding: 6% 7%;
  border: 5px solid #11142b;
  background: linear-gradient(180deg, #5f7bff 0%, #1934e8 55%, #0f1f94 100%);
  box-shadow: 0 24px 40px rgb(25 52 232 / 30%);
  transform: rotate(5deg);
}

.home-page .wip-notch { width: 34%; height: 3%; border-radius: 99px; background: #11142b; }

.home-page .wip-ring {
  width: 44%;
  aspect-ratio: 1;
  margin-top: 8%;
  border: 5px solid rgb(255 255 255 / 30%);
  border-top-color: #fff;
  border-radius: 50%;
}

.home-page .wip-line { width: 60%; height: 3%; border-radius: 99px; background: rgb(255 255 255 / 50%); }
.home-page .wip-line.short { width: 40%; }
.home-page .wip-block { width: 100%; height: 15%; border-radius: 10px; background: rgb(255 255 255 / 25%); }

.home-page .wip-badge {
  position: absolute;
  top: 14%;
  right: 8%;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(25 52 232 / 16%);
  color: #17181d;
  font-family: "Creato Display", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.home-page .wip-badge span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgb(25 52 232 / 15%);
}

.home-page .project-soon {
  margin: 27px 0 0;
  color: #5b6070;
  font-family: "Creato Display", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.home-page .wip-art,
.home-page .wip-art::before,
.home-page .wip-phone,
.home-page .wip-badge,
.home-page .wip-ring {
  transition: transform 380ms ease-out, box-shadow 380ms ease-out, background-position 380ms ease-out;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-page .wip-art:hover { box-shadow: 0 26px 60px rgb(25 52 232 / 20%); }
  .home-page .wip-art:hover::before { background-position: 100% 100%; transform: scale(1.03); }
  .home-page .wip-art:hover .wip-phone-back { transform: rotate(-13deg) translateX(-10px); }
  .home-page .wip-art:hover .wip-phone-front { transform: rotate(3deg) translateY(-10px); }
  .home-page .wip-art:hover .wip-badge { transform: translateY(-4px); }
  .home-page .wip-art:hover .wip-ring { transform: rotate(180deg); }
}

/* Homepage cards: borderless editorial rows, image + stat, scroll reveal */
.home-page .project-media { display: flex; min-width: 0; flex-direction: column; gap: 18px; }
.home-page .project-card:nth-of-type(even) .project-media { grid-column: 2; grid-row: 1; align-items: flex-end; text-align: right; }
.home-page .project-card:nth-of-type(odd) .project-media { align-items: flex-start; }
.home-page .project-media .project-visual { width: 100%; min-height: 0; border-radius: 24px; box-shadow: none; overflow: hidden; }
.home-page .project-media .project-visual::before { background: linear-gradient(135deg, #f4f7ff 0%, #e4ecff 100%); }
.home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual { box-shadow: none; }
.home-page .project-media .project-stat {
  position: static; min-width: 0; padding: 0; border-radius: 0; background: none; box-shadow: none;
  color: #14151a; align-items: inherit; transform: none !important;
}
.home-page .project-media .stat-value { color: var(--blue); font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(30px, 3vw, 42px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
.home-page .project-media .stat-label { color: #5e6069; font-size: 14px; opacity: 1; }
.home-page .project-copy .project-info-pills { position: static; display: flex; flex-wrap: wrap; gap: 8px; max-width: none; margin: 0 0 18px; padding: 0; list-style: none; transform: none; }
.home-page .project-copy .project-info-pills li { min-height: 0; padding: 4px 10px; font-size: 11px; background: #fff; border: 1px solid rgb(25 52 232 / 18%); box-shadow: none; cursor: default; transition: transform 220ms ease-out, background 220ms ease-out, border-color 220ms ease-out; }
.home-page .project-copy .project-info-pills li:hover { transform: translateY(-2px); background: #eef2ff; border-color: var(--blue); }
.home-page .project-card { position: relative; }

@media (max-width: 900px) {
  .home-page .project-card:nth-of-type(even) .project-media { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .home-page.cards-motion-ready .project-card .project-media,
  .home-page.cards-motion-ready .project-card .project-copy > * {
    opacity: 0; transform: translateY(48px);
    transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
  }
  .home-page.cards-motion-ready .project-card .project-media .project-artwork { transform: scale(1.12); transition: transform 1400ms cubic-bezier(.2,.7,.2,1); }
  .home-page.cards-motion-ready .project-card.is-revealed .project-media,
  .home-page.cards-motion-ready .project-card.is-revealed .project-copy > * { opacity: 1; transform: none; }
  .home-page.cards-motion-ready .project-card.is-revealed .project-media .project-artwork { transform: none; }
  .home-page.cards-motion-ready .project-card .project-copy > :nth-child(2) { transition-delay: 80ms; }
  .home-page.cards-motion-ready .project-card .project-copy > :nth-child(3) { transition-delay: 140ms; }
  .home-page.cards-motion-ready .project-card .project-copy > :nth-child(4) { transition-delay: 200ms; }
  .home-page.cards-motion-ready .project-card .project-copy > :nth-child(5) { transition-delay: 260ms; }
}
.home-page .project-media .project-visual::before { background: none; }
.home-page .project-media .project-visual { border-radius: 0; overflow: visible; }
.home-page .project-media .project-artwork { overflow: visible; }
.home-page .project-media .spectrum-art .project-artwork img,
.home-page .project-media .phone-art .project-artwork img { height: 100cqh; margin-bottom: 0; border-radius: 22px; filter: drop-shadow(0 18px 30px rgb(25 35 71 / 16%)); }
.home-page .project-media .wip-art::before { background: linear-gradient(135deg, #f4f7ff 0%, #e4ecff 100%); border-radius: 24px; }

/* BYOD stat closer; WIP cards: bare screens only */
.home-page .byod-card .project-media { gap: 0; }
.home-page .byod-card .project-media .project-visual { min-height: 0; aspect-ratio: 1.6; }
.home-page .wip-card .project-media .wip-art { box-shadow: none; }
.home-page .wip-card .project-media .wip-art::before { background: none; }
.home-page .wip-card .project-visual { pointer-events: auto; cursor: default; }

/* eyebrow w/o dot, handwritten CTA underline, rhythm */
.home-page .project-tag { display: block; }
.home-page .project-cta {
  position: relative;
  padding: 0 0 12px;
  border-bottom: 0;
  transition: none;
}
.home-page .project-cta::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  background: var(--cta-line) left bottom / 100% 100% no-repeat;
  pointer-events: none;
}
@keyframes cta-draw {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-page .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-cta::before {
    animation: cta-draw 450ms ease-out;
  }
}
.home-page .project-card { margin-bottom: clamp(88px, 9vw, 128px); }
.home-page .project-card:last-child { margin-bottom: 0; }
.home-page .projects { padding-bottom: 24px; }
.home-page .wip-card .wip-phone { top: 2%; height: 96%; }
.home-page .wip-card .project-media .wip-art { min-height: 0; aspect-ratio: 1.5; }
.home-page .site-footer { margin-top: 24px; }

/* Nav: uncropped wordmark, tighter links */
.brand {
  display: flex;
  align-items: center;
  width: auto;
  height: 44px;
  overflow: visible;
}

.brand img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.top-nav {
  gap: clamp(1.25rem, 2.6vw, 2.75rem);
}

@media (max-width: 820px) {
  .brand { width: auto; height: 36px; }
  .brand img { height: 32px; }
  .top-nav { gap: clamp(14px, 3.5vw, 26px); }
}

/* each CTA underline is drawn a little differently */
.home-page .project-cta[href^="byod"] { --cta-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7C30 3 52 8.5 84 5.2S132 2.8 158 5.5' fill='none' stroke='%231934e8' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.home-page .project-cta[href^="spectrum"] { --cta-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 10' preserveAspectRatio='none'%3E%3Cpath d='M3 4.5C20 7.5 46 2.8 78 5.8S126 7.6 157 3.2' fill='none' stroke='%231934e8' stroke-width='2.8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.home-page .project-cta[href^="verizon"] { --cta-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 10' preserveAspectRatio='none'%3E%3Cpath d='M2 5.5C14 3 30 6.8 58 4.2 86 1.8 104 8 132 5S150 4 158 6.6' fill='none' stroke='%231934e8' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.home-page .project-cta[href^="ai-budgeting"] { --cta-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 10' preserveAspectRatio='none'%3E%3Cpath d='M2 4.8C26 7.8 48 2.6 82 5.4S130 7.2 158 3.6' fill='none' stroke='%231934e8' stroke-width='2.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }

/* liquid-glass nav */
.site-header {
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 55%) 0%,
      rgb(255 255 255 / 38%) 55%,
      rgb(255 255 255 / 48%) 100%
    ),
    linear-gradient(
      110deg,
      rgb(255 255 255 / 18%),
      rgb(214 224 255 / 12%)
    );

  border-bottom: 1px solid rgb(255 255 255 / 75%);

  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    inset 0 -1px 0 rgb(25 52 232 / 6%),
    0 10px 30px -8px rgb(16 24 64 / 12%);

  -webkit-backdrop-filter: blur(70px) saturate(180%);
  backdrop-filter: blur(70px) saturate(180%);
  transform: translateZ(0);
}

/* mobile legibility */
@media (max-width: 700px) {
  dt, .spectrum-journey-label, .spectrum-proposed-tag { font-size: 11px !important; }
}

/* Hero → Selected work spacing: 96px desktop, 64px mobile */
.home-page .hero {
  min-height: 0;
  padding-bottom: 0;
}

.home-page .projects {
  padding-top: 96px;
}

@media (max-width: 820px) {
  .home-page .hero {
    min-height: 0;
    padding-bottom: 0;
  }

  .home-page .projects {
    padding-top: 64px;
  }
}

/* #top lands at the very top so the sticky nav doesn't cover the eyebrow */
.home-page .hero {
  scroll-margin-top: 68px;
}

@media (max-width: 820px) {
  .home-page .hero {
    scroll-margin-top: 64px;
  }
}

/* Scroll fade-in: runs once per element */
@media (prefers-reduced-motion: no-preference) {
  .fx { opacity: 0; translate: 0 18px; transition: opacity 0.7s ease, translate 0.7s ease; }
  .fx.fx-in { opacity: 1; translate: none; }
  .fx.fx-instant { transition: none; }
  .fx:is(.spectrum-panel, .byod-video), .fx:has(.spectrum-panel, .byod-video) { translate: none !important; }
}

/* ===== Selected work: text left, flat 4:3 image panel right ===== */
.home-page .projects .project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-rows: repeat(4, max-content) minmax(0, 1fr);
  align-content: start;
  align-items: start;
  column-gap: clamp(48px, 7vw, 104px);
  row-gap: 0;
  margin: 0 auto 140px;
}

.home-page .projects .project-card:last-child { margin-bottom: 0; }

.home-page .projects .project-media,
.home-page .projects .project-copy { display: contents; }

.home-page .projects .project-card .project-copy > *,
.home-page .projects .project-card .project-stat {
  grid-column: 1;
  width: 100%;
  max-width: 500px;
  justify-self: start;
}

.home-page .projects .project-card .project-tag { grid-row: 1; }
.home-page .projects .project-card h3 { grid-row: 2; }
.home-page .projects .project-card .project-description { grid-row: 3; }
.home-page .projects .project-card .project-cta { grid-row: 4; width: auto; justify-self: start; }
.home-page .projects .project-card .project-stat,
.home-page .projects .project-card .project-soon { grid-row: 5; align-self: end; }

.home-page .projects .project-card:is(:nth-of-type(odd), :nth-of-type(even)) .project-visual {
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: start;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--blue) 6%, #fff);
  box-shadow: none;
  cursor: default;
}

.home-page .projects .project-visual::before,
.home-page .projects .wip-art::before { display: none; }

.home-page .projects .project-artwork { min-height: 0; overflow: visible; }
.home-page .projects .project-artwork img { filter: none; border-radius: 0; box-shadow: none; }

.home-page .projects .spectrum-art .project-artwork img,
.home-page .projects .phone-art .project-artwork img {
  height: 108cqh;
  margin-bottom: -8cqh;
}

.home-page .projects .byod-card .laptop-art .project-artwork img { width: 86%; }

.home-page .projects .project-card .project-stat {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: left;
  transform: none !important;
}

.home-page .projects .project-card .stat-value {
  color: var(--blue);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.home-page .projects .project-card .stat-label {
  color: #5e6069;
  font-family: "Creato Display", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.home-page .projects .project-card .project-soon {
  margin: 0;
  color: #5e6069;
  font-size: 14px;
  font-weight: 400;
}

/* Coming-soon panels: same flat panel, no illustration */
.home-page .projects .wip-art > * { display: none; }
.home-page .projects .wip-art { display: grid; place-items: center; }
.home-page .projects .wip-art::after {
  content: "Coming soon";
  color: var(--blue);
  font-family: "Creato Display", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-page .projects .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual { box-shadow: none; }
  .home-page .projects .project-card:is(:has(.project-visual:hover), :has(.project-cta:hover)) .project-visual .project-artwork img { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .home-page.cards-motion-ready .project-card .project-visual,
  .home-page.cards-motion-ready .project-card .project-stat,
  .home-page.cards-motion-ready .project-card .project-soon {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
  }
  .home-page.cards-motion-ready .project-card.is-revealed .project-visual,
  .home-page.cards-motion-ready .project-card.is-revealed .project-stat,
  .home-page.cards-motion-ready .project-card.is-revealed .project-soon { opacity: 1; transform: none !important; }
}

@media (max-width: 900px) {
  .home-page .projects .project-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 96px;
  }
  .home-page .projects .project-card:is(:nth-of-type(odd), :nth-of-type(even)) .project-visual { order: 0; margin-bottom: 28px; }
  .home-page .projects .project-card .project-tag { order: 1; margin-bottom: 14px; }
  .home-page .projects .project-card h3 { order: 2; margin-bottom: 14px; }
  .home-page .projects .project-card .project-description { order: 3; }
  .home-page .projects .project-card .project-stat { order: 4; margin-top: 24px; }
  .home-page .projects .project-card .project-soon { order: 4; margin-top: 24px; }
  .home-page .projects .project-card .project-cta { order: 5; margin-top: 24px; align-self: flex-start; }
  .home-page .projects .project-card .stat-value { font-size: 34px; }
}

/* Alternate sides; Spectrum uses a full-bleed photo panel */
@media (min-width: 901px) {
  .home-page .projects .project-card:nth-of-type(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .home-page .projects .project-card:nth-of-type(even) .project-copy > *,
  .home-page .projects .project-card:nth-of-type(even) .project-stat { grid-column: 2; }
  .home-page .projects .project-card:nth-of-type(even):is(:nth-of-type(odd), :nth-of-type(even)) .project-visual { grid-column: 1; }
}
.home-page .projects .project-card.spectrum .project-visual { background: #e9e4da; }
.home-page .projects .project-card.spectrum .project-artwork { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-page .projects .project-card.spectrum .project-artwork img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; transform: none; }

@media (min-width: 901px) {
  .home-page .projects .project-card.spectrum .project-stat { grid-column: 1; grid-row: 5; align-self: end; position: relative; z-index: 2; padding: 0 0 clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px); max-width: none; }
}

/* Spectrum stat: white pill over the image, bottom left */
@media (min-width: 901px) {
  .home-page .projects .project-card.spectrum .project-stat {
    grid-column: 1 !important;
    grid-row: 5;
    align-self: end;
    justify-self: start;
    width: auto;
    margin: 0 0 20px 20px;
    padding: 14px 22px 12px;
    border-radius: 999px;
    background: #fff;
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 900px) {
  .home-page .projects .project-card.spectrum .project-stat {
    order: 0;
    align-self: flex-start;
    margin: -108px 0 44px 16px;
    padding: 10px 18px;
    width: fit-content;
    border-radius: 999px;
    background: #fff;
    position: relative;
    z-index: 2;
  }
  .home-page .projects .project-card.spectrum .project-tag { margin-top: 28px; }
}

/* Stat chip: absolutely placed inside every image panel */
.home-page .projects .project-card .project-visual {
  position: relative;
  overflow: hidden;
}
.home-page .projects .project-card .project-visual .project-stat {
  position: absolute !important;
  inset: auto auto 28px 28px !important;
  grid-column: auto !important;
  grid-row: auto !important;
  order: 0 !important;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: auto;
  max-width: calc(100% - 56px);
  margin: 0 !important;
  padding: clamp(12px, 1.4vw, 20px) clamp(16px, 1.8vw, 24px);
  border: 0;
  border-radius: 18px;
  background: rgb(250 250 247 / 88%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: none;
  text-align: left;
}
.home-page .projects .project-card .project-visual .stat-value {
  display: block;
  color: var(--blue);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1;
}
.home-page .projects .project-card .project-visual .stat-value em { font-style: italic; font-weight: 600; }
.home-page .projects .project-card .project-visual .stat-label {
  display: block;
  margin: 0;
  color: #6b655c;
  font-family: "Creato Display", sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.3;
}
.home-page .projects .wip-art > .project-stat { display: flex; }
.home-page .projects .wip-art::after { content: none; }
@media (max-width: 900px) {
  .home-page .projects .project-card .project-visual .project-stat {
    inset: auto auto 20px 20px !important;
    max-width: calc(100% - 40px);
  }
  .home-page .projects .project-card .project-visual { margin-bottom: 28px; }
}
.home-page .projects .project-card .project-visual .stat-label { text-transform: none; letter-spacing: 0; }

/* Spectrum: transparent phones over a paper-texture panel */
.home-page .projects .project-card.spectrum .project-visual {
  background: #e6e4e3 url("assets/texture-paper.jpg") center / cover no-repeat;
}
.home-page .projects .project-card.spectrum .project-artwork img {
  inset: 3% 0;
  width: 100%;
  height: 94%;
  object-fit: contain;
}
.home-page .projects .project-card.spectrum .project-artwork img { inset: -6% 0; height: 112%; }

/* Spectrum: pale blue panel, hero-style paper texture, phones pop out on hover */
.home-page .projects .project-card.spectrum .project-visual {
  background: color-mix(in srgb, var(--blue) 8%, #fff);
  overflow: visible;
}
.home-page .projects .project-card.spectrum .project-visual::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: url("assets/texture-paper.jpg") center / 700px auto;
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
}
.home-page .projects .project-card.spectrum .project-artwork { z-index: 1; overflow: visible; }
.home-page .projects .project-card.spectrum .project-artwork img {
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
  transform-origin: 50% 55%;
}
.home-page .projects .project-card.spectrum:hover .project-artwork img { transform: scale(1.22) !important; }
@media (prefers-reduced-motion: reduce) {
  .home-page .projects .project-card.spectrum .project-artwork img { transition: none; }
}
.home-page .projects .project-card.spectrum .project-visual::before { opacity: 0.25; }
.home-page .projects .project-card.spectrum:is(:nth-of-type(odd), :nth-of-type(even)) .project-visual { aspect-ratio: 16 / 10; }
.home-page .projects .project-card.spectrum .project-artwork img { inset: -22% 0 -2% 0; height: 124%; }

/* Spectrum: phones centered on the panel; subtle hover only on the panel itself */
.home-page .projects .project-card.spectrum .project-artwork img {
  inset: -15% 0 auto 0;
  height: 130%;
  transform: translateX(2.2%);
}
.home-page .projects .project-card.spectrum:hover .project-artwork img { transform: translateX(2.2%) !important; }
.home-page .projects .project-card.spectrum .project-visual:hover .project-artwork img { transform: translateX(2.2%) scale(1.04) !important; }

/* Spectrum card: final spec (texture on the panel itself, phones centered, subtle panel-only hover) */
.home-page .projects .project-card.spectrum .project-visual {
  background-color: #eef0fd;
  background-image: linear-gradient(rgb(238 240 253 / 75%), rgb(238 240 253 / 75%)), url("assets/texture-paper.jpg");
  background-size: auto, 700px auto;
  background-blend-mode: normal, multiply;
}
.home-page .projects .project-card.spectrum .project-visual::before { content: none; display: none; }
.home-page .projects .project-card.spectrum .project-artwork img {
  display: block;
  inset: -7% 0 auto 0;
  height: 114%;
  transform: translateX(2.2%);
  transition: transform 450ms cubic-bezier(.2,.7,.2,1);
}
.home-page .projects .project-card.spectrum:hover .project-artwork img { transform: translateX(2.2%) !important; }
.home-page .projects .project-card.spectrum .project-visual:hover .project-artwork img { transform: translateX(2.2%) translateY(-3%) scale(1.05) !important; }

/* Spectrum card: true center, slightly larger */
.home-page .projects .project-card.spectrum .project-artwork img,
.home-page .projects .project-card.spectrum:hover .project-artwork img {
  position: absolute !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  width: auto !important;
  max-width: none !important;
  height: 124% !important;
  object-fit: contain;
  transform: translate(-50%, -50%) !important;
}
.home-page .projects .project-card.spectrum .project-visual:hover .project-artwork img {
  transform: translate(-50%, -50%) scale(1.04) !important;
}

/* All cards: pale blue panel with paper texture */
.home-page .projects .project-card:is(:nth-of-type(odd), :nth-of-type(even)) .project-visual {
  background-color: #eef0fd;
  background-image: linear-gradient(rgb(238 240 253 / 75%), rgb(238 240 253 / 75%)), url("assets/texture-paper.jpg");
  background-size: auto, 700px auto;
  background-blend-mode: normal, multiply;
}

/* BYOD: slight grow on panel hover */
.home-page .projects .project-card.byod-card .laptop-art .project-artwork img {
  transition: transform 450ms cubic-bezier(.2,.7,.2,1);
  transform: none !important;
}
.home-page .projects .project-card.byod-card .project-visual:hover .project-artwork img {
  transform: scale(1.05) !important;
}

/* Verizon apps: screens 24px below the top edge, flush to the bottom; grow upward on panel hover */
.home-page .projects .project-card.verizon-apps .project-visual {
  overflow: visible;
  clip-path: inset(-80px 0 0 0);
}
.home-page .projects .project-card.verizon-apps .project-artwork {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  overflow: visible;
  pointer-events: none;
  transform: none !important;
}
.home-page .projects .project-card.verizon-apps .project-artwork img {
  position: absolute;
  top: 24px;
  width: 40cqw;
  height: auto;
  margin: 0;
  border-radius: 13% 13% 0 0 / 6% 6% 0 0;
  filter: none;
  transform: none !important;
  transition: top 450ms cubic-bezier(.2,.7,.2,1), width 450ms cubic-bezier(.2,.7,.2,1), left 450ms cubic-bezier(.2,.7,.2,1);
}
.home-page .projects .project-card.verizon-apps .project-artwork img:first-child { left: 9cqw; }
.home-page .projects .project-card.verizon-apps .project-artwork img:last-child { left: 51cqw; }
.home-page .projects .project-card.verizon-apps .project-visual:hover .project-artwork img {
  top: -24px;
  width: 45cqw;
}
.home-page .projects .project-card.verizon-apps .project-visual:hover .project-artwork img:first-child { left: 4cqw; }
.home-page .projects .project-card.verizon-apps .project-visual:hover .project-artwork img:last-child { left: 51cqw; }

/* Coming-soon cards: phones are back */
.home-page .projects .wip-art > .wip-phone { display: block; }
.home-page .projects .wip-art > .wip-phone-front { display: flex; }
.home-page .projects .wip-card .wip-phone-back { left: 25%; }
.home-page .projects .wip-card .wip-phone-front { left: 44%; }
.home-page .projects .wip-card .wip-art,
.home-page .projects .wip-card .wip-art:hover { box-shadow: none; }

/* Coming-soon cards: smaller phones, no chip, accent note */
.home-page .projects .wip-card .wip-phone { top: 14%; height: 72%; width: 26%; }
.home-page .projects .wip-card .wip-phone-back { left: 28%; }
.home-page .projects .wip-card .wip-phone-front { left: 46%; }
.home-page .projects .wip-card .wip-art .project-stat { display: none !important; }
.home-page .projects .project-card .project-soon {
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

/* Home: double the space between the last case study and the footer */
.home-page .projects { padding-bottom: 48px; }
.home-page .site-footer { margin-top: 48px; }
