:root {
  --powder: #d4e3fb;
  --powder-deep: #c3d7f7;
  --cream: #f8f4d7;
  --white: #fdfdfd;
  --pink: #efbece;
  --gold: #d8ca38;
  --burgundy: #6f1417;
  --burgundy-deep: #31090b;
  --ink: #28080b;
  --orange: #ff7d14;
  --muted: #4b3032;
  --shadow-soft: 0 24px 60px rgba(50, 14, 17, 0.08);
  --radius-xl: 2rem;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--powder);
  font-family: "Inter", sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

.case-content a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.case-content a:hover {
  color: var(--burgundy-deep);
}

.site-shell {
  min-height: 100vh;
}

.container {
  max-width: 1140px;
}

.brand-mark,
.nav-link,
.eyebrow,
.section-label,
.meta-label,
.footer-note {
  font-family: "Onest", sans-serif;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.brand-logo {
  width: clamp(8.8rem, 11vw, 10.75rem);
  height: auto;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image:
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink));
  background-position: center 35%, center 50%, center 65%;
  background-repeat: no-repeat;
  background-size: 1.4rem 2px;
}

.nav-link {
  padding-inline: 0.5rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: var(--burgundy);
}

.hero-shell,
.about-hero,
.site-footer {
  background: var(--powder);
}

.hero-shell {
  position: relative;
  overflow: hidden;
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 2rem 0 auto auto;
  width: min(78vw, 68rem);
  height: min(44vw, 30rem);
  background: url("../img/checker.svg") no-repeat center/contain;
  opacity: 0.75;
  pointer-events: none;
}

.hero-content,
.case-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}

.home-page .hero-content {
/*  padding-top: clamp(9rem, 14vw, 12rem) !important;*/
  padding-bottom: clamp(9rem, 14vw, 12rem) !important;
}

.home-page .hero-shell {
  min-height: 78vh;
}

.hero-compact .case-hero-content {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.eyebrow {
  color: rgba(40, 8, 11, 0.75);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-title,
.page-title,
.section-title,
.card-title,
.content-title,
.problem-card h3,
.connect-link {
  font-family: "Onest", sans-serif;
}

.hero-title {
  max-width: 20ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero-highlight,
.case-meta,
.summary-strip {
  display: inline-flex;
  align-items: center;
  gap: 2.75rem;
  margin-top: 2rem;
  padding: 1.15rem 1.35rem;
  background: rgba(248, 244, 215, 0.96);
  box-shadow: var(--shadow-soft);
}

.hero-highlight {
  min-width: min(100%, 26rem);
  justify-content: space-between;
}

.hero-highlight p,
.case-meta strong,
.summary-strip strong {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 600;
}

.hero-highlight span {
  color: var(--burgundy);
  font-family: "Onest", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
}

.greeting-bar {
  position: relative;
  z-index: 2;
  padding: 1rem 0;
  background: var(--burgundy);
  overflow: hidden;
}

.greeting-track {
  display: flex;
  justify-content: flex-end;
}

.scroll-greeting {
  color: #fffdf9;
  font-family: "Onest", sans-serif;
  font-size: clamp(1rem, 1.2rem + 0.2vw, 1.55rem);
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(var(--greeting-shift, 0));
}

.section-shell {
  padding: 5.5rem 0 7rem;
}

.work-section,
.about-main {
  background: var(--cream);
}
.about-main{
    margin-top:-40px;
}

.section-star {
  width: 3rem;
  margin-top: 0.6rem;
}

.section-label {
  margin-bottom: 1.2rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.section-title {
  max-width: 20ch;
  margin-bottom: 1.2rem;
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-copy,
.card-copy,
.about-copy p,
.case-paragraph,
.problem-card p {
  color: var(--ink);
  font-size: clamp(1.02rem, 1rem + 0.2vw, 1.28rem);
  line-height: 1.45;
}

.case-lede {
  max-width: 44rem;
  margin: 1rem 0 0;
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.45;
}

.case-title {
  max-width: none;
}

.work-intro {
  margin-inline: 0;
  margin-bottom: 3.5rem;
}

.work-intro > * {
  padding-inline: 0;
}

.work-intro > * + * {
  padding-left: 1.5rem;
}

.case-study-stack {
  display: grid;
  gap: 3rem;
}

.case-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(50, 14, 17, 0.16);
}

.case-card-pink {
  background: var(--pink);
}

.case-card-gold {
  background: var(--gold);
}

.case-card-blue {
  background: #c7d9f7;
}

.card-star {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: clamp(2.9rem, 5vw, 4.3rem);
  transition: transform 0.7s ease;
  transform-origin: center;
}

.case-card:hover .card-star,
.case-card:hover .metric-star {
  transform: rotate(360deg);
}

.company-mark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.company-logo {
  display: block;
  width: auto;
  height: auto;
}

.company-logo-appfolio {
  max-width: 14rem;
  max-height: 1.6rem;
}

.company-logo-cnp {
  max-width: 10.5rem;
  max-height: 1.9rem;
}

.company-dot {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: #d7d7d7;
  color: #2a7ee7;
  font-family: "Georgia", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.company-name {
  margin-left: -0.2rem;
  color: #fffaf2;
  font-family: "Onest", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.company-name-dark {
  color: var(--ink);
}

.company-dot-energy {
  background: #fff3f4;
  color: #d52531;
}

.card-title {
  max-width: 16ch;
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.metric-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.6rem 0 2rem;
}

.metric-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.metric-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #fff;
  font-family: "Onest", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
}

.metric-star {
  width: 1.1rem;
  transition: transform 0.7s ease;
}

.btn-burgundy {
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--burgundy-deep);
  color: #fffaf7;
  font-family: "Onest", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.btn-burgundy:hover {
  background: var(--burgundy);
  color: #fffaf7;
}

.preview-composition {
  position: relative;
  min-height: 20rem;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.preview-image {
  width: 100%;
  max-width: 28rem;
  max-height: 21rem;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(49, 9, 11, 0.12));
}

.preview-image-builder {
  max-width: 32rem;
  max-height: 22rem;
}

.about-hero {
  overflow: hidden;
}

.about-headline-wrap {
  padding-top: 4rem;
/*  padding-bottom: 3rem;*/
}

.page-title {
  margin: 0 0 2.8rem;
  color: var(--ink);
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.about-collage {
  position: relative;
  min-height: 32rem;
  max-width: 60rem;
  margin: 0 auto;
}

.about-chip-group {
  position: static;
}

.about-photo-stage {
  position: relative;
  width: min(32rem, 68vw);
  margin: 5.4rem auto 0;
  z-index: 1;
}

.photo-accent {
  display: none;
}

.about-photo {
  position: relative;
  width: 100%;
  height: auto;
  transform: none;
  object-fit: contain;
  filter: drop-shadow(0 22px 50px rgba(80, 22, 31, 0.08));
}

.about-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--burgundy);
  color: #fff;
  font-family: "Onest", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.chip-left-top { top: 3.3rem; left: 1.5rem; }
.chip-right-top { top: 2.8rem; right: 1.7rem; }
.chip-left-mid { top: 7.8rem; left: 5.3rem; }
.chip-right-mid { top: 9.7rem; right: 3.3rem; }
.chip-left-bottom { top: 13.8rem; left: 2rem; }
.chip-right-bottom { top: 14.2rem; right: 0.4rem; }

.about-copy {
  max-width: 56rem;
  margin: 0 auto 4.5rem;
}

.about-copy p + p {
  margin-top: 1.7rem;
}

.connect-panel {
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--pink);
  box-shadow: var(--shadow-soft);
}

.connect-link {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-transform: uppercase;
}

.connect-star {
  width: 1.8rem;
}

.resume-hero {
  min-height: 56vh;
}

.resume-hero-content {
  padding-top: 5.5rem;
  padding-bottom: 5rem;
}

.resume-hero-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.resume-kicker {
  margin: 0 0 1rem;
  font-family: "Onest", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resume-title {
  margin-bottom: 1.4rem;
}

.resume-download {
  min-width: 11.5rem;
}

.resume-main {
  background:
    linear-gradient(to bottom, var(--powder) 0%, var(--powder) 32%, var(--cream) 32%, var(--cream) 100%);
}

.resume-story {
  padding: 0rem 0 6rem;
}

.resume-anchor {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-left: clamp(0rem, 6vw, 3rem);
  color: var(--ink);
  font-family: "Onest", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
}

.resume-anchor-top {
  margin-bottom: 2rem;
}

.resume-anchor-bottom {
  margin-top: 2rem;
}

.resume-arrow {
  font-size: 1.5em;
  line-height: 1;
}

.resume-board {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 2.25rem;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 26px 80px rgba(50, 14, 17, 0.12);
}

.resume-board::before,
.resume-board::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.95;
}

.resume-board::before {
  top: 2rem;
  right: 2rem;
  width: 1.2rem;
  height: 1.2rem;
  background: #de2a2f;
  box-shadow: -3rem 18rem 0 0 var(--pink), -18rem 2rem 0 0 var(--gold);
}

.resume-board::after {
  bottom: 2rem;
  left: 2rem;
  width: 1rem;
  height: 1rem;
  background: var(--burgundy);
  box-shadow: 19rem -14rem 0 0 var(--powder), 32rem 2rem 0 0 #f8f3d3;
}

.resume-board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.resume-contact {
  margin: 0 0 0.5rem;
  color: #7c7c7c;
  font-family: "Onest", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
}

.resume-subline {
  margin: 0 0 1.5rem;
  font-family: "Onest", sans-serif;
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 700;
  line-height: 1.5;
}

.resume-subline a {
  color: #58a53d;
}

.resume-summary-label,
.resume-card h2 {
  margin: 0 0 0.8rem;
  font-family: "Onest", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.resume-summary-copy,
.resume-card p,
.resume-list {
  font-size: 1rem;
  line-height: 1.5;
}

.resume-stars {
  position: relative;
  width: 8rem;
  min-height: 5rem;
}

.resume-star {
  position: absolute;
  display: block;
}

.resume-star-red {
  top: 0;
  right: 1.3rem;
  width: 2.5rem;
  filter: hue-rotate(-50deg) saturate(3.2);
}

.resume-star-gold {
  right: 0;
  top: 1.75rem;
  width: 1.2rem;
  filter: hue-rotate(105deg) saturate(3.5);
}

.resume-star-pink {
  left: 0;
  bottom: 0;
  width: 1.6rem;
  filter: hue-rotate(-95deg) saturate(1.6);
}

.resume-grid {
  position: relative;
  z-index: 1;
}

.resume-card {
  padding: 1.5rem;
  border: 1px solid rgba(49, 9, 11, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
}

.resume-card + .resume-card {
  margin-top: 1rem;
}

.resume-role + .resume-role {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(49, 9, 11, 0.12);
}

.resume-role-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.resume-role-head h3,
.resume-education-item h3 {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}

.resume-role-head h3 span {
  font-weight: 600;
  font-style: italic;
}

.resume-role-head p,
.resume-year {
  margin: 0;
  color: rgba(40, 8, 11, 0.7);
  font-family: "Onest", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.resume-role-summary {
  margin-bottom: 0.65rem;
  color: #8b1755;
  font-family: "Onest", sans-serif;
  font-weight: 600;
}

.resume-list {
  margin: 0;
  padding-left: 1.2rem;
}

.resume-list li + li {
  margin-top: 0.45rem;
}

.resume-card-side {
  background: rgba(248, 244, 215, 0.58);
}

.resume-skill-list {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.55;
}

.resume-skill-list li + li {
  margin-top: 0.45rem;
}

.case-main {
  background: var(--white);
}

.case-main-cream {
  background: var(--cream);
}

.case-title {
  max-width: none;
}

.case-content {
  max-width: 58rem;
}

.content-block + .content-block {
  margin-top: 5rem;
}

.content-title {
  margin-bottom: 1.8rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 1.5rem;
  background: var(--pink);
}

.meta-label {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(40, 8, 11, 0.8);
  font-size: 0.92rem;
  font-weight: 500;
}

.problem-card {
  height: 100%;
  min-height: 13rem;
  padding: 1.5rem;
}

.problem-card-pink {
  background: var(--pink);
}

.problem-card-gold {
  background: var(--gold);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.case-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.case-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: clamp(1.02rem, 1rem + 0.2vw, 1.28rem);
  line-height: 1.45;
}

.case-list li + li {
  margin-top: 0.45rem;
}

.case-paragraph-strong {
  font-family: "Onest", sans-serif;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
}

.goal-pill {
  padding: 1rem 1.2rem;
  border-radius: 1.2rem;
  background: rgba(212, 227, 251, 0.6);
  font-family: "Onest", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.case-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.case-visual-grid-single {
  grid-template-columns: 1fr;
}

.case-visual-frame {
  margin: 0;
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(212, 227, 251, 0.45);
  border: 1px solid rgba(49, 9, 11, 0.08);
  box-shadow: var(--shadow-soft);
}

.case-visual-frame img {
  width: 100%;
  height: auto;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.7);
}

.case-visual-frame-hero {
  width: 100%;
  padding: 1.1rem;
  background: rgba(248, 244, 215, 0.8);
}

.case-visual-frame-mobile {
  max-width: 30rem;
  margin-inline: auto;
}

.case-visual-frame-mobile-tight {
  max-width: 22rem;
}

.case-visual-frame-portrait {
  max-width: 18rem;
  margin-inline: auto;
}

.case-visual-caption {
  margin-top: 0.85rem;
  color: rgba(40, 8, 11, 0.72);
  font-family: "Onest", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.case-related {
  padding: 1.4rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(212, 227, 251, 0.42);
}

.case-related-title {
  margin: 0 0 0.8rem;
  font-family: "Onest", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.case-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-related-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(49, 9, 11, 0.08);
  font-family: "Onest", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.case-related-link:hover {
  background: var(--burgundy);
  color: #fffaf7;
  transform: translateY(-1px);
}

.site-footer {
  padding: 3rem 0 2.25rem;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-note {
  margin: 0;
  color: rgba(40, 8, 11, 0.78);
  font-size: 0.95rem;
}

.footer-icons {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--burgundy);
  font-size: 1.45rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-icons a:hover {
  transform: translateY(-2px);
  color: var(--burgundy-deep);
}

@media (max-width: 991.98px) {
  .hero-grid::before {
    inset: 4rem -7rem auto auto;
    width: min(110vw, 50rem);
    height: 20rem;
  }

  .hero-content,
  .case-hero-content {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .home-page .hero-content {
    padding-top: 5rem !important;
    padding-bottom: 6rem !important;
  }

  .home-page .hero-shell {
    min-height: auto;
  }

  .hero-title,
  .case-title {
    max-width: 100%;
  }

  .preview-composition {
    min-height: 15rem;
  }

  .work-intro > * + * {
    padding-left: 0;
  }

  .about-collage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    min-height: auto;
    padding-top: 0;
  }

  .about-chip-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    max-width: 38rem;
    order: 2;
  }

  .about-photo-stage {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: min(21rem, 78vw);
    margin-top: 0;
    transform: none;
    order: 1;
  }

  .about-chip {
    position: static;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
  }
}

@media (max-width: 767.98px) {
  .brand-mark {
    font-size: 1.35rem;
  }

  .nav-link {
    padding-inline: 0;
  }

  .hero-highlight,
  .case-meta,
  .summary-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-highlight,
  .case-meta {
    display: grid;
    width: 100%;
  }

  .greeting-track {
    justify-content: center;
  }

  .section-shell {
    padding: 3.5rem 0 5rem;
  }

  .case-card {
    padding: 1.4rem;
  }

  .card-title {
    max-width: 100%;
  }

  .metric-list span {
    font-size: 0.9rem;
  }

  .about-headline-wrap {
    padding-top: 2.5rem;
  }

  .about-collage {
    gap: 1rem;
  }

  .about-photo-stage {
    top: auto;
    width: min(17rem, 80vw);
    margin-top: 0;
  }

  .about-chip-group {
    gap: 0.5rem;
    max-width: 100%;
    justify-content: center;
      margin-bottom:1.75rem;
  }

  .about-chip {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
  }

  .summary-strip,
  .goals-grid,
  .case-visual-grid {
    grid-template-columns: 1fr;
  }

  .case-related {
    padding: 1.2rem;
  }

  .case-related-links {
    gap: 0.6rem;
  }

  .case-related-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .preview-image {
    max-width: 30rem;
    max-height: 16rem;
  }

  .preview-image-builder {
    max-width: 32rem;
    max-height: 14rem;
  }

  .case-visual-frame-mobile {
    max-width: 21rem;
  }

  .case-visual-frame-mobile-tight {
    max-width: 18rem;
  }

  .case-visual-frame-portrait {
    max-width: 16rem;
  }

  .resume-hero-content {
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }

  .resume-anchor {
    margin-left: 0;
    font-size: 1.15rem;
  }

  .resume-board-head,
  .resume-role-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .resume-stars {
    width: 5rem;
    min-height: 3rem;
  }
  .footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .case-card,
  .card-star,
  .metric-star,
  .footer-icons a,
  .scroll-greeting {
    transition: none;
  }
}
