:root {
  --summit-red: #8c2020;
  --summit-red-bright: #c32929;
  --summit-black: #070707;
  --summit-ink: #151515;
  --summit-paper: #fbfaf8;
  --summit-line: rgba(140, 32, 32, 0.16);
  --summit-container: min(1600px, calc(100% - 80px));
}

.summit-detail-page {
  background: var(--summit-paper);
  color: var(--summit-ink);
  overflow-x: hidden;
}

.summit-detail-page button,
.summit-detail-page a {
  -webkit-tap-highlight-color: transparent;
}

.summit-container {
  width: var(--summit-container);
  margin-inline: auto;
}

.detail-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 11000;
  pointer-events: none;
  background: transparent;
}

.detail-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #641818, var(--summit-red-bright));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Hero */
.summit-hero {
  position: relative;
  min-height: clamp(760px, calc(100svh - 82px), 920px);
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background: #050505;
}

.summit-hero-picture,
.summit-hero-picture img,
.summit-hero-shade,
.summit-hero-grid {
  position: absolute;
  inset: 0;
}

.summit-hero-picture {
  z-index: -4;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.summit-hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 48%;
  animation: summitHeroZoom 20s ease-in-out infinite alternate;
  will-change: transform;
}

.summit-hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2, 5, 7, 0.98) 0%, rgba(2, 5, 7, 0.92) 28%, rgba(2, 5, 7, 0.62) 49%, rgba(2, 5, 7, 0.20) 76%, rgba(2, 5, 7, 0.30) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.24) 58%, rgba(0, 0, 0, 0.92) 100%);
}

.summit-hero-grid {
  z-index: -2;
  opacity: 0.2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(90deg, #000, transparent 68%);
}

.summit-hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(42px, 6vh, 72px);
  padding-bottom: 285px;
}

.summit-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(38px, 5vh, 62px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.summit-breadcrumb a {
  transition: color 0.25s ease;
}

.summit-breadcrumb a:hover {
  color: #ffffff;
}

.summit-breadcrumb span:last-child {
  color: #ffffff;
}

.summit-title-block {
  width: min(610px, 100%);
}

.summit-kicker {
  margin: 0 0 12px;
  color: #ef4545;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.summit-title-block h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(76px, 8vw, 132px);
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.summit-title-line {
  display: block;
  width: 84px;
  height: 4px;
  margin: 30px 0 22px;
  background: var(--summit-red-bright);
  box-shadow: 0 0 24px rgba(195, 41, 41, 0.45);
}

.summit-intro {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.75;
}

.summit-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.summit-primary-btn,
.summit-ghost-btn {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.summit-primary-btn {
  color: #ffffff;
  background: var(--summit-red);
  border: 1px solid var(--summit-red);
}

.summit-ghost-btn {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.summit-primary-btn:hover,
.summit-ghost-btn:hover {
  transform: translateY(-4px);
}

.summit-primary-btn:hover {
  background: #aa2727;
}

.summit-ghost-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.summit-hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 4;
}

.summit-stat-grid {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(3, 3, 3, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.summit-stat {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.summit-stat:last-child {
  border-right: 0;
}

.summit-stat-icon {
  color: #e43c3c;
  font-size: 24px;
}

.summit-stat strong,
.summit-stat small {
  display: block;
}

.summit-stat strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  line-height: 0.9;
}

.summit-stat small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.summit-hero-gallery {
  display: grid;
  grid-template-columns: 0.82fr 0.78fr 0.82fr 1.18fr 0.66fr;
  gap: 5px;
  height: 112px;
  margin-top: 12px;
}

.summit-gallery-tile,
.summit-gallery-more {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.summit-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(140, 32, 32, 0.16), transparent 55%);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.summit-gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.summit-gallery-tile:hover img {
  transform: scale(1.1);
  filter: saturate(1.12) contrast(1.05);
}

.summit-gallery-tile:hover::after {
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, rgba(140, 32, 32, 0.02), transparent 55%);
}

.summit-gallery-more {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 18px 22px;
  color: #ffffff;
  background: linear-gradient(145deg, #a52323, #741919);
  font-family: inherit;
  text-align: left;
  text-transform: uppercase;
  transition: background 0.35s ease;
}

.summit-gallery-more::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.18) 48%, transparent 68%);
  transform: translateX(-125%);
  transition: transform 0.8s ease;
}

.summit-gallery-more:hover::before {
  transform: translateX(125%);
}

.summit-gallery-more span,
.summit-gallery-more strong {
  position: relative;
}

.summit-gallery-more span {
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.summit-gallery-more strong {
  font-size: 22px;
}

@keyframes summitHeroZoom {
  0% { transform: scale(1.035) translate3d(-0.5%, 0, 0); }
  100% { transform: scale(1.105) translate3d(1.3%, -0.8%, 0); }
}

[data-hero-reveal] {
  opacity: 0;
  transform: translateY(24px);
  animation: summitHeroReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.summit-breadcrumb[data-hero-reveal] { animation-delay: 0.1s; }
.summit-kicker[data-hero-reveal] { animation-delay: 0.2s; }
.summit-title-block h1[data-hero-reveal] { animation-delay: 0.28s; }
.summit-title-line[data-hero-reveal] { animation-delay: 0.4s; }
.summit-intro[data-hero-reveal] { animation-delay: 0.48s; }
.summit-hero-actions[data-hero-reveal] { animation-delay: 0.56s; }
.summit-stat:nth-child(1) { animation-delay: 0.62s; }
.summit-stat:nth-child(2) { animation-delay: 0.7s; }
.summit-stat:nth-child(3) { animation-delay: 0.78s; }
.summit-stat:nth-child(4) { animation-delay: 0.86s; }

@keyframes summitHeroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Summary band */
.summit-facts-band {
  position: relative;
  z-index: 5;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.05);
}

.summit-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summit-fact {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 28px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.summit-fact:last-child {
  border-right: 0;
}

.summit-fact-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: var(--summit-red);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.summit-fact p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Shared reveal */
[data-detail-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Overview */
.summit-overview-section {
  position: relative;
  padding: 96px 0 110px;
  background:
    linear-gradient(90deg, rgba(140, 32, 32, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.026) 1px, transparent 1px),
    #fbfaf8;
  background-size: 120px 120px;
}

.summit-section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.summit-section-heading p,
.summit-gallery-head > div > p,
.summit-next-card > div > p,
.summit-detail-card-head p,
.summit-dark-label {
  margin: 0 0 9px;
  color: var(--summit-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summit-section-heading h2,
.summit-gallery-head h2,
.summit-next-card h2,
.summit-execution-copy h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.summit-section-heading > span {
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 22px;
  background: var(--summit-red);
}

.summit-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.summit-overview-column {
  display: grid;
  gap: 24px;
}

.summit-info-card,
.summit-detail-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.065);
}

.summit-info-card {
  padding: 34px 36px;
}

.summit-info-card::before,
.summit-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--summit-red), transparent 72%);
}

.summit-card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.summit-card-heading > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  color: var(--summit-red);
  border: 1px solid rgba(140, 32, 32, 0.3);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.summit-card-heading h3,
.summit-detail-card-head h3 {
  margin: 0;
  color: var(--summit-red);
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
}

.summit-info-card > p {
  margin: 0;
  color: rgba(17, 17, 17, 0.7);
  font-size: 15px;
  line-height: 1.75;
}

.summit-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summit-check-list li {
  position: relative;
  padding-left: 25px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.summit-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--summit-red);
  font-weight: 900;
}

.summit-detail-card {
  padding: 34px;
}

.summit-detail-card-head {
  margin-bottom: 22px;
}

.summit-detail-card-head h3 {
  color: #111111;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.summit-detail-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.summit-detail-list > div {
  min-height: 88px;
  padding: 18px 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.summit-detail-list > div:nth-child(2n) {
  border-right: 0;
}

.summit-detail-list > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.summit-detail-list dt {
  margin-bottom: 7px;
  color: var(--summit-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summit-detail-list dd {
  margin: 0;
  color: rgba(17, 17, 17, 0.76);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

/* Execution */
.summit-execution-section {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background: #090909;
}

.summit-execution-picture,
.summit-execution-picture img,
.summit-execution-overlay {
  position: absolute;
  inset: 0;
}

.summit-execution-picture {
  z-index: -3;
  overflow: hidden;
}

.summit-execution-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.04);
}

.summit-execution-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.96) 0%, rgba(4, 4, 4, 0.85) 42%, rgba(4, 4, 4, 0.48) 70%, rgba(4, 4, 4, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.74));
}

.summit-execution-content {
  padding-top: 86px;
  padding-bottom: 86px;
}

.summit-execution-copy {
  width: min(720px, 100%);
}

.summit-dark-label {
  color: #ef4545;
}

.summit-execution-copy h2 {
  color: #ffffff;
  font-size: clamp(48px, 5.3vw, 78px);
}

.summit-execution-copy > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.75;
}

.summit-capability-grid {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.summit-capability-grid article {
  min-height: 190px;
  padding: 28px;
  background: rgba(6, 6, 6, 0.76);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.summit-capability-grid article:hover {
  position: relative;
  z-index: 2;
  background: rgba(140, 32, 32, 0.88);
  transform: translateY(-7px);
}

.summit-capability-grid strong {
  display: block;
  color: #ef4545;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 24px;
}

.summit-capability-grid article:hover strong {
  color: #ffffff;
}

.summit-capability-grid h3 {
  margin: 24px 0 10px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.summit-capability-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

/* Gallery */
.summit-gallery-section {
  padding: 104px 0 116px;
  background:
    radial-gradient(circle at 84% 20%, rgba(140, 32, 32, 0.085), transparent 28%),
    #ffffff;
}

.summit-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
}

.summit-gallery-head h2 {
  max-width: 760px;
}

.summit-gallery-head > button {
  min-width: 185px;
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #ffffff;
  background: var(--summit-red);
  border: 1px solid var(--summit-red);
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.summit-gallery-head > button:hover {
  transform: translateY(-4px);
  background: #a52626;
}

.summit-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 16px;
}

.summit-gallery-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  padding: 0;
  color: #ffffff;
  background: #111111;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.summit-gallery-card-main {
  grid-column: span 8;
  grid-row: span 2;
}

.summit-gallery-card-wide {
  grid-column: span 8;
}

.summit-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.82)),
    linear-gradient(135deg, rgba(140, 32, 32, 0.17), transparent 48%);
  transition: background 0.4s ease;
}

.summit-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.summit-gallery-card:hover img {
  transform: scale(1.075);
  filter: saturate(1.08) contrast(1.04);
}

.summit-gallery-card > span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  transform: translateY(5px);
  transition: transform 0.35s ease;
}

.summit-gallery-card:hover > span {
  transform: translateY(0);
}

.summit-gallery-card small,
.summit-gallery-card strong {
  display: block;
}

.summit-gallery-card small {
  margin-bottom: 7px;
  color: #ef4545;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summit-gallery-card strong {
  font-size: 15px;
  font-weight: 850;
}

/* Next project CTA */
.summit-next-section {
  padding: 0 0 104px;
  background: #ffffff;
}

.summit-next-card {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 46px 52px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(4, 4, 4, 0.98), rgba(25, 25, 25, 0.96)),
    #111111;
  border-left: 5px solid var(--summit-red);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.17);
}

.summit-next-card > div > p {
  color: #ef4545;
}

.summit-next-card h2 {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(40px, 4.4vw, 64px);
}

.summit-next-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 230px;
}

.summit-next-actions a {
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.summit-next-actions a:last-child {
  background: var(--summit-red);
  border-color: var(--summit-red);
}

.summit-next-actions a:hover {
  transform: translateX(5px);
  border-color: #ffffff;
}

/* Lightbox */
.summit-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 28px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.summit-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.summit-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(9px);
}

.summit-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  height: min(820px, calc(100svh - 56px));
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
}

.summit-lightbox figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.65);
}

.summit-lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
}

.summit-lightbox figcaption {
  min-height: 56px;
  padding: 16px 22px;
  color: rgba(255, 255, 255, 0.82);
  background: #111111;
  font-size: 13px;
}

.summit-lightbox-close,
.summit-lightbox-arrow {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(15, 15, 15, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.summit-lightbox-close:hover,
.summit-lightbox-arrow:hover {
  background: var(--summit-red);
  border-color: var(--summit-red);
}

.summit-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 44px;
  height: 44px;
  font-size: 30px;
}

.summit-lightbox-arrow {
  width: 50px;
  height: 70px;
  justify-self: center;
  font-size: 40px;
}

.summit-lightbox-count {
  position: absolute;
  right: 18px;
  bottom: 72px;
  padding: 7px 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  font-size: 11px;
  font-weight: 800;
}

body.lightbox-open {
  overflow: hidden;
}

/* Footer compatibility on detail page */
.summit-detail-page .site-footer {
  margin-top: 0;
}

.summit-detail-page .site-footer .footer-logo {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1200px) {
  :root { --summit-container: min(100% - 48px, 1040px); }

  .summit-hero {
    min-height: 850px;
  }

  .summit-hero-content {
    padding-bottom: 300px;
  }

  .summit-hero-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .summit-gallery-tile-wide {
    display: none;
  }

  .summit-overview-layout {
    grid-template-columns: 1fr;
  }

  .summit-detail-card {
    padding: 32px;
  }
}

@media (max-width: 900px) {
  :root { --summit-container: min(100% - 34px, 760px); }

  .summit-hero {
    min-height: auto;
  }

  .summit-hero-picture,
  .summit-hero-shade,
  .summit-hero-grid {
    height: 690px;
    bottom: auto;
  }

  .summit-hero-picture img {
    object-position: 62% center;
  }

  .summit-hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 5, 7, 0.94), rgba(2, 5, 7, 0.64) 64%, rgba(2, 5, 7, 0.28)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.88));
  }

  .summit-hero-content {
    min-height: 690px;
    padding-top: 42px;
    padding-bottom: 82px;
  }

  .summit-title-block {
    width: min(520px, 100%);
  }

  .summit-hero-bottom {
    position: relative;
    bottom: auto;
    padding: 0 0 18px;
    background: #060606;
  }

  .summit-stat-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summit-stat:nth-child(2) {
    border-right: 0;
  }

  .summit-stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .summit-hero-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 110px;
  }

  .summit-hero-gallery .summit-gallery-tile:nth-child(4) {
    display: none;
  }

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

  .summit-fact:nth-child(2) {
    border-right: 0;
  }

  .summit-fact:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .summit-capability-grid {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }

  .summit-capability-grid article {
    min-height: 150px;
  }

  .summit-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
  }

  .summit-gallery-card,
  .summit-gallery-card-main,
  .summit-gallery-card-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .summit-gallery-card-main {
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .summit-next-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .summit-next-actions {
    width: 100%;
    min-width: 0;
    flex-direction: row;
  }

  .summit-next-actions a {
    flex: 1;
  }
}

@media (max-width: 640px) {
  :root { --summit-container: calc(100% - 28px); }

  .summit-hero-picture,
  .summit-hero-shade,
  .summit-hero-grid,
  .summit-hero-content {
    height: 650px;
    min-height: 650px;
  }

  .summit-hero-picture img {
    object-position: 65% center;
  }

  .summit-hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 5, 7, 0.92), rgba(2, 5, 7, 0.54)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.9));
  }

  .summit-breadcrumb {
    margin-bottom: 72px;
    font-size: 10px;
  }

  .summit-kicker {
    font-size: 11px;
  }

  .summit-title-block h1 {
    font-size: clamp(68px, 23vw, 96px);
  }

  .summit-title-line {
    margin: 24px 0 18px;
  }

  .summit-intro {
    font-size: 14px;
    line-height: 1.65;
  }

  .summit-primary-btn,
  .summit-ghost-btn {
    min-width: 0;
    flex: 1;
    padding: 0 14px;
    font-size: 10px;
  }

  .summit-stat {
    min-height: 78px;
    padding: 14px 12px;
  }

  .summit-stat strong {
    font-size: 24px;
  }

  .summit-stat-icon {
    font-size: 19px;
  }

  .summit-hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 105px;
    height: auto;
  }

  .summit-hero-gallery .summit-gallery-tile:nth-child(3),
  .summit-hero-gallery .summit-gallery-tile:nth-child(4) {
    display: none;
  }

  .summit-gallery-more {
    padding: 14px;
  }

  .summit-facts-grid {
    grid-template-columns: 1fr;
  }

  .summit-fact,
  .summit-fact:nth-child(2) {
    min-height: 66px;
    padding: 14px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .summit-fact:last-child {
    border-bottom: 0;
  }

  .summit-overview-section,
  .summit-gallery-section {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .summit-section-heading h2,
  .summit-gallery-head h2,
  .summit-execution-copy h2 {
    font-size: 44px;
  }

  .summit-info-card,
  .summit-detail-card {
    padding: 24px 20px;
  }

  .summit-check-list,
  .summit-detail-list {
    grid-template-columns: 1fr;
  }

  .summit-detail-list > div,
  .summit-detail-list > div:nth-child(2n),
  .summit-detail-list > div:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .summit-detail-list > div:last-child {
    border-bottom: 0;
  }

  .summit-execution-section {
    min-height: 760px;
  }

  .summit-execution-overlay {
    background: linear-gradient(180deg, rgba(4, 4, 4, 0.74), rgba(4, 4, 4, 0.96));
  }

  .summit-execution-content {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .summit-gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .summit-gallery-head > button {
    width: 100%;
  }

  .summit-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .summit-gallery-card-main {
    grid-column: auto;
    min-height: 340px;
  }

  .summit-next-section {
    padding-bottom: 72px;
  }

  .summit-next-card {
    min-height: auto;
    padding: 32px 24px;
  }

  .summit-next-card h2 {
    font-size: 42px;
  }

  .summit-next-actions {
    flex-direction: column;
  }

  .summit-lightbox {
    padding: 12px;
  }

  .summit-lightbox-dialog {
    height: calc(100svh - 24px);
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .summit-lightbox-arrow {
    width: 38px;
    height: 58px;
    font-size: 30px;
  }

  .summit-lightbox-close {
    top: 5px;
    right: 47px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }

  .summit-hero-picture img,
  [data-hero-reveal] {
    animation: none !important;
  }

  [data-hero-reveal],
  [data-detail-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Requested hero + gallery correction
   Keeps the existing page design, header, content and footer.
   ========================================================= */

/* Show the main project image while preserving readable text on the left. */
.summit-hero-shade {
  background:
    linear-gradient(90deg,
      rgba(2, 5, 7, 0.91) 0%,
      rgba(2, 5, 7, 0.80) 28%,
      rgba(2, 5, 7, 0.48) 50%,
      rgba(2, 5, 7, 0.12) 76%,
      rgba(2, 5, 7, 0.18) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.16) 58%,
      rgba(0, 0, 0, 0.88) 100%);
}

/* Five equal image tiles plus one equal-height gallery button. */
.summit-hero-gallery {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  height: 150px;
}

.summit-hero-gallery .summit-gallery-tile,
.summit-hero-gallery .summit-gallery-more {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.summit-hero-gallery .summit-gallery-more {
  display: flex;
}

.summit-hero-gallery .summit-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1200px) {
  .summit-hero-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    height: 138px;
  }

  .summit-hero-gallery .summit-gallery-tile,
  .summit-hero-gallery .summit-gallery-more,
  .summit-gallery-tile-wide {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .summit-hero-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 128px;
    height: auto;
  }

  .summit-hero-gallery .summit-gallery-tile:nth-child(n),
  .summit-hero-gallery .summit-gallery-more {
    display: flex !important;
    height: 128px;
  }
}

@media (max-width: 640px) {
  .summit-hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 112px;
  }

  .summit-hero-gallery .summit-gallery-tile:nth-child(n),
  .summit-hero-gallery .summit-gallery-more {
    display: flex !important;
    height: 112px;
  }
}


/* ===== Project detail page: homepage-style sticky responsive menu ===== */
.project-detail-menu-page {
  --sticky-navbar-height: 92px;
}

.project-detail-menu-page .project-detail-profile-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11000;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px max(28px, calc((100vw - var(--container)) / 2));
  overflow: visible;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(140, 32, 32, 0.12);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.project-detail-menu-page .project-detail-profile-navbar.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.11);
}

.project-detail-menu-page main {
  padding-top: var(--sticky-navbar-height);
}

.project-detail-menu-page .project-detail-profile-navbar .nav-menu,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu {
  overflow: visible;
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease;
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-toggle > span {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--summit-red);
  transition: width 0.25s ease;
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown:hover .nav-dropdown-toggle,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown.open .nav-dropdown-toggle,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-toggle:focus-visible {
  color: var(--summit-red);
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown:hover .nav-dropdown-toggle::after,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown.open .nav-dropdown-toggle::after,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-toggle:focus-visible::after {
  width: 100%;
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown:hover .nav-dropdown-toggle > span,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown.open .nav-dropdown-toggle > span {
  transform: rotate(180deg);
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 24px);
  left: -20px;
  z-index: 11020;
  min-width: 250px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(140, 32, 32, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown:hover .nav-dropdown-menu,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown:focus-within .nav-dropdown-menu,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu a,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu a:link,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu a:visited {
  display: block;
  width: 100%;
  padding: 14px 15px;
  color: #111111;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  border-left: 3px solid transparent;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu a::after {
  display: none;
  content: none;
}

.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu a:hover,
.project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu a.active {
  color: var(--summit-red);
  background: rgba(140, 32, 32, 0.07);
  border-left-color: var(--summit-red);
}

@media (max-width: 1024px) {
  .project-detail-menu-page .project-detail-profile-navbar,
  .project-detail-menu-page .project-detail-profile-navbar.is-scrolled {
    padding: 14px 24px;
  }

  .project-detail-menu-page .project-detail-profile-navbar .nav-menu {
    position: fixed;
    top: var(--sticky-navbar-height);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - var(--sticky-navbar-height));
    margin: 0;
    padding: 22px 24px 30px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.99);
    border: 0;
    border-top: 1px solid rgba(140, 32, 32, 0.12);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.15);
  }

  .project-detail-menu-page .project-detail-profile-navbar .nav-dropdown {
    display: block;
    width: 100%;
  }

  .project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
    text-align: left;
  }

  .project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-toggle::after {
    bottom: 4px;
  }

  .project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 4px 0 8px;
    padding: 4px 0 4px 14px;
    background: rgba(140, 32, 32, 0.035);
    border: 0;
    border-left: 2px solid rgba(140, 32, 32, 0.22);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .project-detail-menu-page .project-detail-profile-navbar .nav-dropdown.open .nav-dropdown-menu {
    display: block;
    animation: projectDetailMobileSubmenu 0.25s ease both;
  }

  .project-detail-menu-page .project-detail-profile-navbar .nav-dropdown-menu a {
    padding: 12px 13px;
  }
}

@media (max-width: 640px) {
  .project-detail-menu-page {
    --sticky-navbar-height: 72px;
  }

  .project-detail-menu-page .project-detail-profile-navbar,
  .project-detail-menu-page .project-detail-profile-navbar.is-scrolled {
    padding: 12px 16px;
  }

  .project-detail-menu-page .project-detail-profile-navbar .nav-menu {
    padding: 18px 20px 28px;
  }
}

@keyframes projectDetailMobileSubmenu {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
