/* Page-specific styles: Vinhomes Global Gate - Tổng quan */
.project-detail-page {
  --pd-navy: #07163d;
  --pd-blue: #0868ed;
  --pd-blue-dark: #064cae;
  --pd-orange: #f06b17;
  --pd-text: #111a36;
  --pd-muted: #657087;
  --pd-border: #dfe7f2;
  --pd-surface: #ffffff;
  --pd-bg: #f7faff;
  color: var(--pd-text);
  background: #fff;
}

.project-detail-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-detail-hero {
  position: relative;
  min-height: 505px;
  overflow: hidden;
  background: #f5f9ff;
}

.project-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 35%, rgba(255,255,255,.62) 55%, rgba(255,255,255,.05) 82%);
  pointer-events: none;
}

.project-detail-hero__media {
  position: absolute;
  inset: 0 0 0 34%;
}

.project-detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-detail-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 505px;
  padding-top: 24px;
  padding-bottom: 42px;
}

.project-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #68758d;
  font-size: var(--font-small);
}

.project-breadcrumb a:hover,
.project-breadcrumb strong {
  color: var(--pd-blue);
}

.project-detail-hero__content {
  width: 520px;
  max-width: 100%;
  padding-top: 36px;
}

.project-label {
  display: inline-flex;
  padding: 7px 16px;
  border: 1px solid #cbd7e7;
  border-radius: 999px;
  color: #49556c;
  background: rgba(255,255,255,.75);
  font-size: var(--font-small);
  font-weight: 600;
  text-transform: uppercase;
}

.project-detail-hero h1 {
  margin-top: 15px;
  color: #09173d;
  font-size: var(--font-display);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.project-detail-hero__subtitle {
  margin-top: 16px;
  color: #1d2943;
  font-size: var(--font-card-title);
  font-weight: 600;
}

.project-detail-hero__location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #2b3853;
  font-size: var(--font-small);
  font-weight: 600;
}

.project-detail-hero__location svg {
  width: 19px;
  height: 19px;
}

.project-detail-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.project-detail-hero__facts div {
  min-width: 0;
}

.project-detail-hero__facts dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #66728a;
  font-size: var(--font-small);
}

.project-detail-hero__facts dt svg {
  width: 21px;
  height: 21px;
  color: #0b2b68;
}

.project-detail-hero__facts dd {
  margin: 7px 0 0 29px;
  color: #15203c;
  font-size: var(--font-small);
  font-weight: 700;
}

.project-detail-hero__facts dd.is-orange {
  color: var(--pd-orange);
}

.project-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.project-detail-hero__actions .button,
.project-detail-cta__actions .button {
  min-height: 46px;
  gap: 9px;
  padding-inline: 24px;
  border-radius: 8px;
  font-size: var(--font-small);
  font-weight: 700;
}

.project-detail-hero__actions svg,
.project-detail-cta__actions svg {
  width: 18px;
  height: 18px;
}

.project-button-dark {
  color: #fff;
  background: var(--pd-navy);
  border-color: var(--pd-navy);
  box-shadow: 0 10px 22px rgba(7,22,61,.18);
}

.project-button-dark:hover {
  color: #fff;
  background: #0d2b67;
}

.project-button-outline {
  color: var(--pd-blue);
  background: #fff;
  border-color: var(--pd-blue);
}

.project-button-outline:hover {
  color: #fff;
  background: var(--pd-blue);
}

.project-media-tools {
  position: absolute;
  z-index: 4;
  top: 185px;
  right: max(18px, calc((100vw - 1280px) / 2 + 6px));
  display: grid;
  gap: 2px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15,49,98,.15);
}

.project-media-tools button {
  width: 58px;
  min-height: 64px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 6px;
  color: #17325e;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e5ebf4;
  font-size: var(--font-caption);
}

.project-media-tools button:last-child {
  border-bottom: 0;
}

.project-media-tools button:hover,
.project-media-tools button:focus-visible {
  color: var(--pd-blue);
  background: #f3f7ff;
}

.project-media-tools strong {
  color: var(--pd-blue);
  font-size: var(--font-body-sm);
}

.project-media-tools svg {
  width: 22px;
  height: 22px;
  color: var(--pd-blue);
}

.project-key-stats {
  position: relative;
  z-index: 5;
  margin-top: -30px;
}

.project-key-stats__panel {
  min-height: 86px;
  display: grid;
  grid-template-columns: .75fr 1fr .9fr 1fr 1.35fr;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e9f3;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(23,58,111,.11);
}

.project-key-stats article {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
}

.project-key-stats article + article {
  border-left: 1px solid #e3eaf4;
}

.project-key-stats article > span {
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--pd-blue);
  background: #eef5ff;
  border-radius: 50%;
}

.project-key-stats article > span.is-orange {
  color: var(--pd-orange);
  background: #fff3e8;
}

.project-key-stats svg {
  width: 23px;
  height: 23px;
}

.project-key-stats small,
.project-key-stats strong {
  display: block;
}

.project-key-stats small {
  margin-bottom: 4px;
  color: #6c778c;
  font-size: var(--font-small);
}

.project-key-stats strong {
  color: #101b36;
  font-size: var(--font-body-sm);
  line-height: 1.35;
}

.project-tabs {
  position: sticky;
  top: var(--header-height);
  z-index: 40;
  padding-top: 22px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}

.project-tabs__rail {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(20,55,105,.05);
}

.project-tabs__rail::-webkit-scrollbar {
  display: none;
}

.project-tabs a,
.project-tabs button {
  flex: 0 0 auto;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 24px;
  color: #26334d;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: var(--font-small);
  font-weight: 600;
  white-space: nowrap;
}

.project-tabs a:hover,
.project-tabs button:hover,
.project-tabs .is-active {
  color: var(--pd-blue);
}

.project-tabs .is-active {
  border-bottom-color: var(--pd-blue);
}

.project-overview-section,
.project-highlights,
.project-ai-analysis,
.related-projects {
  scroll-margin-top: 145px;
}

.project-overview-section {
  padding: 34px 0 26px;
}

.project-overview-grid {
  display: grid;
  grid-template-columns: .85fr 1.45fr;
  align-items: start;
  gap: 48px;
}

.project-section-title h2,
.related-projects__header h2 {
  color: #111a35;
  font-size: var(--font-section-title);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.project-section-title > span {
  width: 56px;
  height: 3px;
  display: block;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pd-orange) 0 45%, var(--pd-blue) 45% 100%);
}

.project-overview-copy > p {
  margin-top: 24px;
  color: #536078;
  font-size: var(--font-small);
  line-height: 1.75;
}

.project-overview-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.project-overview-list div {
  position: relative;
  display: grid;
  grid-template-columns: 145px minmax(0,1fr);
  gap: 14px;
  padding-left: 28px;
}

.project-overview-list div::before {
  content: "▣";
  position: absolute;
  top: 0;
  left: 2px;
  color: var(--pd-blue);
  font-size: var(--font-body);
}

.project-overview-list dt,
.project-overview-list dd {
  font-size: var(--font-small);
  line-height: 1.5;
}

.project-overview-list dt {
  color: #36445f;
  font-weight: 600;
}

.project-overview-list dd {
  margin: 0;
  color: #101b35;
  font-weight: 600;
}

.project-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 0;
  color: var(--pd-blue);
  background: transparent;
  border: 0;
  font-size: var(--font-small);
  font-weight: 700;
}

.project-text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.project-text-link:hover svg {
  transform: translateX(3px);
}

.project-gallery {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(175px,.85fr);
  gap: 12px;
}

.project-gallery button {
  overflow: hidden;
  padding: 0;
  background: #eef4fb;
  border: 0;
  border-radius: 15px;
}

.project-gallery button:focus-visible {
  outline: 3px solid rgba(8,104,237,.28);
  outline-offset: 3px;
}

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

.project-gallery button:hover img {
  transform: scale(1.025);
}

.project-gallery__main {
  min-height: 360px;
}

.project-gallery__side {
  display: grid;
  grid-template-rows: 1.1fr .9fr;
  gap: 12px;
}

.project-highlights {
  padding: 18px 0 28px;
}

.project-highlights__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 12px;
  margin-top: 24px;
}

.project-highlights article {
  min-height: 175px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  box-shadow: 0 9px 24px rgba(20,55,105,.055);
}

.project-highlights article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--pd-blue);
  background: #f0f6ff;
  border-radius: 50%;
}

.project-highlights article > span.is-orange {
  color: var(--pd-orange);
  background: #fff2e7;
}

.project-highlights svg {
  width: 24px;
  height: 24px;
}

.project-highlights h3 {
  margin-top: 15px;
  color: #17213b;
  font-size: var(--font-small);
}

.project-highlights p {
  margin-top: 9px;
  color: #5f6a7f;
  font-size: var(--font-small);
  line-height: 1.65;
}

.project-ai-analysis {
  padding: 6px 0 28px;
}

.project-ai-analysis__panel {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(280px,.75fr);
  gap: 18px;
  padding: 18px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 65%, #edf4ff 100%);
  border: 1px solid #bad4fa;
  border-radius: 13px;
}

.project-ai-analysis__main {
  padding: 4px 8px 4px 2px;
}

.project-ai-analysis__heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-ai-analysis__heading > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(145deg, #0875f3, #053aa6);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(8,104,237,.25);
  font-size: var(--font-card-title);
  font-weight: 800;
}

.project-ai-analysis__heading h2 {
  font-size: var(--font-subsection-title);
}

.project-ai-analysis__heading p {
  margin-top: 3px;
  color: #617089;
  font-size: var(--font-small);
}

.project-ai-analysis__body {
  display: grid;
  grid-template-columns: 165px minmax(0,1fr);
  align-items: center;
  gap: 28px;
  margin-top: 18px;
}

.project-score {
  min-height: 142px;
  display: grid;
  place-items: center;
  align-content: center;
  border-right: 1px solid #c8d9ef;
}

.project-score strong {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  color: var(--pd-blue);
  border: 5px solid var(--pd-blue);
  border-radius: 50%;
  font-size: var(--font-section-title);
}

.project-score span,
.project-score b {
  display: block;
  margin-top: 4px;
  font-size: var(--font-small);
}

.project-score b {
  color: var(--pd-blue);
  font-size: var(--font-body-sm);
}

.project-score div {
  color: #f4a000;
  font-size: var(--font-card-title);
  letter-spacing: 2px;
}

.project-ai-analysis__body ul {
  display: grid;
  gap: 10px;
}

.project-ai-analysis__body li {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  gap: 8px;
  color: #3b4962;
  font-size: var(--font-small);
  line-height: 1.45;
}

.project-ai-analysis__body li svg {
  width: 17px;
  height: 17px;
  color: var(--pd-blue);
}

.project-ai-analysis__data {
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e0e8f4;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(20,55,105,.05);
}

.project-ai-analysis__data h3 {
  font-size: var(--font-body-lg);
}

.project-ai-analysis__data dl {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.project-ai-analysis__data dl div {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr);
  gap: 10px;
}

.project-ai-analysis__data dt,
.project-ai-analysis__data dd {
  font-size: var(--font-small);
  line-height: 1.5;
}

.project-ai-analysis__data dt {
  color: #68758a;
}

.project-ai-analysis__data dd {
  margin: 0;
  color: #17223c;
  font-weight: 600;
}

.related-projects {
  padding: 0 0 28px;
}

.related-projects__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.related-projects__header a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pd-blue);
  font-size: var(--font-small);
  font-weight: 700;
}

.related-projects__header svg {
  width: 17px;
  height: 17px;
}

.related-projects__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}

.related-project-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(20,55,105,.05);
}

.related-project-card__media {
  position: relative;
  aspect-ratio: 16 / 7.5;
  overflow: hidden;
}

.related-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.related-project-card:hover .related-project-card__media img {
  transform: scale(1.03);
}

.related-project-card__media > span {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 5px 9px;
  color: #25324c;
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  font-size: var(--font-caption);
  font-weight: 600;
}

.related-project-card__media button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #526078;
  background: rgba(255,255,255,.92);
  border: 0;
  border-radius: 50%;
}

.related-project-card__media button[aria-pressed="true"] {
  color: #e84d4d;
  background: #fff;
}

.related-project-card__media button[aria-pressed="true"] svg {
  fill: currentColor;
}

.related-project-card__media button svg {
  width: 15px;
  height: 15px;
}

.related-project-card > div:last-child {
  padding: 12px 14px 14px;
}

.related-project-card h3 {
  font-size: var(--font-small);
}

.related-project-card p {
  margin-top: 5px;
  color: #68748a;
  font-size: var(--font-caption);
}

.related-project-card strong {
  display: block;
  margin-top: 7px;
  color: #111c38;
  font-size: var(--font-small);
}

.project-detail-cta {
  padding-bottom: 26px;
}

.project-detail-cta__inner {
  position: relative;
  min-height: 98px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto 190px;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  padding: 18px 18px 18px 64px;
  background: linear-gradient(105deg, #ebf8ff 0%, #f9fbff 57%, #e8f6ff 100%);
  border: 1px solid #c7def7;
  border-radius: 12px;
}

.project-detail-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42px;
  background: linear-gradient(145deg, #02c4ed, #0757ed);
  clip-path: polygon(0 0, 100% 0, 55% 50%, 100% 100%, 0 100%);
}

.project-detail-cta h2 {
  font-size: var(--font-card-title);
  line-height: 1.35;
}

.project-detail-cta p {
  margin-top: 5px;
  color: #68748a;
  font-size: var(--font-small);
}

.project-detail-cta__actions {
  display: flex;
  gap: 12px;
}

.project-detail-cta__inner > img {
  align-self: end;
  width: 190px;
  height: 85px;
  object-fit: cover;
  object-position: top center;
  border-radius: 9px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 25%);
}

.project-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--pd-blue);
  background: #eef5ff;
  border: 1px solid #d8e6fa;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(20,55,105,.12);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.project-media-modal {
  width: min(880px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(5,20,55,.35);
}

.project-media-modal::backdrop {
  background: rgba(4,13,35,.72);
  backdrop-filter: blur(4px);
}

.project-media-modal__close {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(7,22,61,.75);
  border: 0;
  border-radius: 50%;
}

.project-media-modal__close svg {
  width: 20px;
  height: 20px;
}

.project-media-modal__content {
  padding: 18px;
}

.project-media-modal__content h2 {
  padding-right: 52px;
  font-size: var(--font-card-title-lg);
}

.project-media-modal__content img {
  width: 100%;
  max-height: 65vh;
  margin-top: 16px;
  object-fit: cover;
  border-radius: 10px;
}

.project-media-modal__content p {
  margin-top: 12px;
  color: #647087;
  font-size: var(--font-small);
}

@media (max-width: 1199px) {
  .project-detail-hero h1 { font-size: var(--font-page-title); }
  .project-media-tools { right: 16px; }
  .project-key-stats__panel { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .project-key-stats article:nth-child(4) { border-left: 0; border-top: 1px solid #e3eaf4; }
  .project-key-stats article:nth-child(5) { border-top: 1px solid #e3eaf4; }
  .project-highlights__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .project-detail-cta__inner { grid-template-columns: minmax(0,1fr) auto; }
  .project-detail-cta__inner > img { display: none; }
}

@media (max-width: 1023px) {
  .project-detail-hero { min-height: auto; padding-bottom: 320px; }
  .project-detail-hero::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.98) 47%, rgba(255,255,255,.35) 72%, rgba(255,255,255,0) 100%); }
  .project-detail-hero__media { inset: auto 0 0; height: 390px; }
  .project-detail-hero__inner { min-height: 555px; }
  .project-detail-hero__content { width: 620px; }
  .project-media-tools { top: auto; right: 18px; bottom: 28px; }
  .project-key-stats { margin-top: -42px; }
  .project-overview-grid { grid-template-columns: 1fr; }
  .project-gallery { max-width: 780px; }
  .project-ai-analysis__panel { grid-template-columns: 1fr; }
  .related-projects__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .project-detail-hero { padding-bottom: 265px; }
  .project-detail-hero__media { height: 320px; }
  .project-detail-hero__inner { min-height: 560px; padding-top: 18px; }
  .project-detail-hero__content { padding-top: 26px; }
  .project-detail-hero h1 { font-size: var(--font-page-title); }
  .project-detail-hero__subtitle { font-size: var(--font-body-lg); }
  .project-detail-hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .project-detail-hero__facts div { display: grid; grid-template-columns: 140px minmax(0,1fr); align-items: center; }
  .project-detail-hero__facts dd { margin: 0; }
  .project-media-tools { right: 12px; bottom: 20px; grid-auto-flow: column; }
  .project-media-tools button { width: 66px; min-height: 54px; border-right: 1px solid #e5ebf4; border-bottom: 0; }
  .project-key-stats__panel { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .project-key-stats article:nth-child(3), .project-key-stats article:nth-child(5) { border-left: 0; }
  .project-key-stats article:nth-child(n+3) { border-top: 1px solid #e3eaf4; }
  .project-key-stats article:last-child { grid-column: 1 / -1; }
  .project-tabs { padding-top: 14px; }
  .project-tabs a, .project-tabs button { min-height: 44px; padding-inline: 18px; }
  .project-overview-grid { gap: 32px; }
  .project-section-title h2, .related-projects__header h2 { font-size: var(--font-subsection-title); }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery__main { min-height: 285px; }
  .project-gallery__side { grid-template-columns: repeat(2,1fr); grid-template-rows: 155px; }
  .project-highlights__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .project-ai-analysis__body { grid-template-columns: 1fr; }
  .project-score { padding-bottom: 18px; border-right: 0; border-bottom: 1px solid #c8d9ef; }
  .project-detail-cta__inner { grid-template-columns: 1fr; padding: 26px 22px 26px 54px; }
  .project-detail-cta__actions { flex-wrap: wrap; }
}

@media (max-width: 479px) {
  .project-detail-hero { padding-bottom: 235px; }
  .project-detail-hero__media { height: 275px; }
  .project-detail-hero__inner { min-height: 600px; }
  .project-detail-hero h1 { font-size: var(--font-page-title); }
  .project-detail-hero__actions { display: grid; }
  .project-detail-hero__actions .button { width: 100%; }
  .project-detail-hero__facts div { grid-template-columns: 125px minmax(0,1fr); }
  .project-key-stats__panel { grid-template-columns: 1fr; }
  .project-key-stats article, .project-key-stats article:nth-child(4), .project-key-stats article:nth-child(5) { border-left: 0; border-top: 1px solid #e3eaf4; }
  .project-key-stats article:first-child { border-top: 0; }
  .project-key-stats article:last-child { grid-column: auto; }
  .project-overview-list div { grid-template-columns: 1fr; gap: 4px; }
  .project-gallery__side { grid-template-columns: 1fr; grid-template-rows: 170px 170px; }
  .project-highlights__grid { grid-template-columns: 1fr; }
  .project-highlights article { min-height: auto; }
  .project-ai-analysis__panel { padding: 12px; }
  .project-ai-analysis__heading h2 { font-size: var(--font-card-title-lg); }
  .project-ai-analysis__data dl div { grid-template-columns: 1fr; gap: 3px; }
  .related-projects__grid { grid-template-columns: 1fr; }
  .related-projects__header { align-items: flex-end; }
  .project-detail-cta__actions { display: grid; }
  .project-detail-cta__actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery img,
  .related-project-card__media img,
  .project-text-link svg,
  .project-back-to-top { transition: none; }
}
