.project-page { background: #fff; }
.project-container { width: min(100%,1440px); margin: 0 auto; padding-right: 24px; padding-left: 24px; }
.project-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--color-primary); font-size: 13px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.project-kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.project-hero { position: relative; display: flex; min-height: 500px; align-items: flex-end; overflow: hidden; background: #071222; padding-top: 118px; }
.project-hero__media,.project-hero__overlay { position: absolute; inset: 0; }
.project-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.project-hero__overlay { background: linear-gradient(90deg,rgba(6,17,32,.94),rgba(6,17,32,.72) 53%,rgba(6,17,32,.26)),linear-gradient(180deg,rgba(6,17,32,.08),rgba(6,17,32,.64)); }
.project-hero__content { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 64px; }
.project-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; color: rgba(255,255,255,.62); font-size: 13px; }
.project-breadcrumb a { color: inherit; }
.project-breadcrumb a:hover { color: #fff; }
.project-breadcrumb .material-symbols-outlined { font-size: 16px; }
.project-hero .project-kicker { color: #ff8a52; }
.project-hero h1 { max-width: 760px; margin-top: 18px; color: #fff; font-family: "Hanken Grotesk",sans-serif; font-size: 54px; font-weight: 800; line-height: 1.08; }
.project-hero__content > .project-container > p { max-width: 720px; margin-top: 20px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.7; }

.project-list { position: relative; overflow: hidden; padding: 104px 0; background: linear-gradient(145deg,#fff,#f5f8fc 58%,#fff); }
.project-list::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 207px; background: url("../images/xx.png") center bottom / cover no-repeat; opacity: .2; pointer-events: none; }
.project-list .project-container { position: relative; z-index: 1; }
.project-list .project-grid { margin-top: 0; }
.project-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.55fr); gap: 70px; align-items: end; }
.project-heading h2,.project-featured h2,.project-detail-content h2,.project-related h2 { color: var(--color-navy); font-family: "Hanken Grotesk",sans-serif; font-size: 40px; font-weight: 800; line-height: 1.15; }
.project-heading h2 { margin-top: 18px; }
.project-heading > p { color: #64748b; font-size: 16px; line-height: 1.7; }
.project-featured { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(380px,.85fr); min-height: 470px; margin-top: 52px; overflow: hidden; border: 1px solid #d5dee8; border-radius: var(--radius-md); background: #fff; }
.project-featured__media { overflow: hidden; }
.project-featured__media img,.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.project-featured:hover .project-featured__media img,.project-card:hover .project-card__media img { transform: scale(1.035); }
.project-featured__content { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; color: var(--color-primary); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.project-meta span + span { position: relative; color: #64748b; }
.project-meta span + span::before { content: ""; position: absolute; top: 50%; left: -10px; width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; transform: translateY(-50%); }
.project-featured h2 { margin-top: 18px; font-size: 34px; }
.project-featured__content > p { margin-top: 18px; color: #64748b; font-size: 16px; line-height: 1.72; }
.project-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--color-primary); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.project-link .material-symbols-outlined { font-size: 17px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 58px; border-bottom: 1px solid #d5dee8; padding-bottom: 14px; }
.project-filters button { border: 0; border-radius: var(--radius-md); background: transparent; padding: 10px 16px; color: #64748b; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.project-filters button:hover,.project-filters button.is-active { background: var(--color-primary); color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px 24px; margin-top: 34px; }
.project-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #d7e0e9; border-radius: var(--radius-md); background: #fff; }
.project-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #eef2f7; }
.project-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.project-card h3 { margin-top: 14px; color: var(--color-navy); font-family: "Hanken Grotesk",sans-serif; font-size: 22px; font-weight: 800; line-height: 1.25; transition: color .2s ease; }
.project-card:hover h3 { color: var(--color-primary); }
.project-card__body > p { margin-top: 12px; color: #64748b; font-size: 14px; line-height: 1.65; }
.project-card .project-link { margin-top: auto; padding-top: 22px; }

.project-detail-hero { position: relative; min-height: 620px; overflow: hidden; background: #071222; padding-top: 118px; }
.project-detail-hero__media,.project-detail-hero__overlay { position: absolute; inset: 0; }
.project-detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.project-detail-hero__overlay { background: linear-gradient(90deg,rgba(6,17,32,.94),rgba(6,17,32,.72) 55%,rgba(6,17,32,.34)),linear-gradient(180deg,rgba(6,17,32,.08),rgba(6,17,32,.76)); }
.project-detail-hero__content { position: relative; z-index: 1; padding-top: 92px; padding-bottom: 72px; }
.project-detail-hero h1 { max-width: 900px; margin-top: 18px; color: #fff; font-family: "Hanken Grotesk",sans-serif; font-size: 52px; font-weight: 800; line-height: 1.1; }
.project-detail-hero__lead { max-width: 760px; margin-top: 22px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.72; }
.project-detail-hero .project-meta { margin-top: 24px; color: #ff8a52; }
.project-detail-hero .project-meta span + span { color: rgba(255,255,255,.66); }

.project-detail-main { padding: 96px 0; background: #fff; }
.project-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 80px; align-items: start; }
.project-detail-content > p { color: #475569; font-size: 17px; line-height: 1.82; }
.project-detail-content h2 { margin-top: 42px; font-size: 30px; }
.project-detail-content h2 + p { margin-top: 16px; }
.project-detail-content p + p { margin-top: 18px; }
.project-detail-content h3 { margin-top: 34px; color: var(--color-navy); font-family: "Hanken Grotesk",sans-serif; font-size: 23px; font-weight: 800; line-height: 1.25; }
.project-detail-content h3 + p { margin-top: 14px; }
.project-detail-content ul,.project-detail-content ol { display: grid; gap: 10px; margin-top: 18px; padding-left: 22px; color: #475569; font-size: 16px; line-height: 1.75; }
.project-detail-content ul { list-style: disc; }
.project-detail-content ol { list-style: decimal; }
.project-detail-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.project-detail-content figure { margin-top: 32px; overflow: hidden; border-radius: var(--radius-md); }
.project-detail-content figure img { display: block; width: 100%; height: auto; }
.project-facts { border-top: 2px solid var(--color-primary); }
.project-facts > div { display: grid; gap: 5px; border-bottom: 1px solid #d7e0e9; padding: 22px 0; }
.project-facts strong { color: var(--color-navy); font-family: "Hanken Grotesk",sans-serif; font-size: 24px; font-weight: 800; }
.project-facts span { color: #64748b; font-size: 12px; }
.project-contact-link { display: inline-flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; border-radius: var(--radius-md); background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.project-contact-link:hover { background: var(--color-primary-dark); }
.project-contact-link .material-symbols-outlined { font-size: 17px; }
.project-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 52px; }
.project-gallery__item { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 0; border-radius: var(--radius-md); background: #eef2f7; padding: 0; cursor: zoom-in; }
.project-gallery__item,.project-gallery__item:hover,.project-gallery__item:active { box-shadow: none; transform: none; }
.project-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.22,1,.36,1); user-select: none; }
.project-gallery__item:hover img { transform: scale(1.035); }
.project-gallery__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(7,18,34,.78); color: #fff; font-size: 20px; opacity: 0; transition: opacity .2s ease; }
.project-gallery__item:hover .project-gallery__zoom,.project-gallery__item:focus-visible .project-gallery__zoom { opacity: 1; }

.project-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; border: 0; background: rgba(3,11,24,.92); padding: 24px; color: #fff; }
.project-lightbox[open] { display: grid; place-items: center; }
.project-lightbox::backdrop { background: transparent; }
.project-lightbox-open { overflow: hidden; }
.project-lightbox__panel { position: relative; display: flex; width: min(1240px,100%); max-height: calc(100vh - 48px); flex-direction: column; overflow: hidden; border-radius: var(--radius-md); background: #08162b; box-shadow: 0 30px 80px rgba(0,0,0,.42); }
.project-lightbox__stage { position: relative; display: grid; min-height: 0; flex: 1; place-items: center; }
.project-lightbox__stage > img { display: block; width: 100%; max-width: 100%; height: min(72vh,820px); object-fit: contain; user-select: none; }
.project-lightbox__close,.project-lightbox__arrow { position: absolute; z-index: 3; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); background: rgba(5,17,34,.76); color: #fff; cursor: pointer; }
.project-lightbox__close,.project-lightbox__close:hover,.project-lightbox__close:active,.project-lightbox__arrow,.project-lightbox__arrow:hover,.project-lightbox__arrow:active { box-shadow: none; transform: none; }
.project-lightbox__close:hover,.project-lightbox__arrow:hover { border-color: var(--color-primary); background: var(--color-primary); }
.project-lightbox__close { top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; }
.project-lightbox__arrow { top: 50%; width: 46px; height: 56px; border-radius: var(--radius-sm); transform: translateY(-50%); }
button.project-lightbox__arrow,
button.project-lightbox__arrow:hover,
button.project-lightbox__arrow:active,
button.project-lightbox__arrow:focus-visible { box-shadow: none; transform: translateY(-50%); }
button.project-lightbox__arrow .material-symbols-outlined,
button.project-lightbox__arrow:hover .material-symbols-outlined,
button.project-lightbox__arrow:active .material-symbols-outlined,
button.project-lightbox__arrow:focus-visible .material-symbols-outlined { transform: none; }
.project-lightbox__arrow--prev { left: 18px; }
.project-lightbox__arrow--next { right: 18px; }
.project-lightbox__counter { position: absolute; right: 22px; bottom: 16px; z-index: 2; font-size: 12px; font-weight: 700; }
.project-lightbox__counter i { margin: 0 5px; color: rgba(255,255,255,.45); font-style: normal; }
.project-lightbox__thumbs { display: flex; min-height: 92px; gap: 9px; overflow-x: auto; padding: 12px 18px 16px; }
.project-lightbox__thumbs button { width: 86px; aspect-ratio: 4 / 3; flex: 0 0 auto; overflow: hidden; border: 2px solid transparent; border-radius: var(--radius-sm); background: #17253a; padding: 0; opacity: .52; cursor: pointer; }
.project-lightbox__thumbs button,.project-lightbox__thumbs button:hover,.project-lightbox__thumbs button:active { box-shadow: none; transform: none; }
.project-lightbox__thumbs button.is-active { border-color: var(--color-primary); opacity: 1; }
.project-lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.project-back { display: inline-flex; align-items: center; gap: 7px; margin-top: 44px; color: var(--color-primary); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.project-back .material-symbols-outlined { font-size: 17px; }
.project-related { padding: 92px 0 104px; background: linear-gradient(145deg,#f6f9fd,#fff); }
.project-related__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.project-related h2 { margin-top: 16px; font-size: 34px; }
.project-related .project-grid { margin-top: 38px; }

.project-cta { position: relative; overflow: hidden; background: var(--color-navy); }
.project-cta::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: url("../images/xx.png") center bottom / cover no-repeat; opacity: .08; pointer-events: none; }
.project-cta .project-container { position: relative; z-index: 1; display: flex; min-height: 300px; align-items: center; justify-content: space-between; gap: 56px; padding-top: 64px; padding-bottom: 64px; }
.project-cta .project-kicker { color: #ff8a52; }
.project-cta h2 { max-width: 820px; margin-top: 18px; color: #fff; font-family: "Hanken Grotesk",sans-serif; font-size: 36px; font-weight: 800; line-height: 1.18; }
.project-button { display: inline-flex; flex: 0 0 auto; min-height: 54px; align-items: center; justify-content: center; gap: 10px; border-radius: var(--radius-md); background: var(--color-primary); padding: 0 26px; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; transition: background-color .25s ease; }
.project-button:hover { background: var(--color-primary-dark); }
.project-button .material-symbols-outlined { font-size: 18px; }

@media (max-width: 1024px) {
  .project-featured { grid-template-columns: 1fr 1fr; }
  .project-featured__content { padding: 34px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-detail-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 48px; }
  .project-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .project-hero { min-height: 470px; padding-top: 88px; }
  .project-hero__content { padding-top: 62px; padding-bottom: 52px; }
  .project-hero h1,.project-detail-hero h1 { font-size: 40px; }
  .project-list,.project-detail-main,.project-related { padding-top: 72px; padding-bottom: 72px; }
  .project-heading,.project-featured,.project-detail-layout { grid-template-columns: 1fr; }
  .project-heading { gap: 20px; }
  .project-featured__media { aspect-ratio: 4 / 3; }
  .project-featured__content { padding: 28px 24px 32px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-detail-hero { min-height: 560px; padding-top: 88px; }
  .project-detail-hero__content { padding-top: 74px; padding-bottom: 58px; }
  .project-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-lightbox { padding: 12px; }
  .project-lightbox__panel { max-height: calc(100vh - 24px); }
  .project-lightbox__stage > img { height: min(70vh,680px); }
  .project-lightbox__arrow { width: 40px; height: 48px; }
  .project-lightbox__arrow--prev { left: 10px; }
  .project-lightbox__arrow--next { right: 10px; }
  .project-lightbox__close { top: 10px; right: 10px; }
  .project-cta .project-container { min-height: 0; flex-direction: column; align-items: flex-start; gap: 30px; padding-top: 58px; padding-bottom: 58px; }
  .project-cta h2 { font-size: 30px; }
}

@media (max-width: 480px) {
  .project-container { padding-right: 18px; padding-left: 18px; }
  .project-hero h1,.project-detail-hero h1 { font-size: 34px; }
  .project-heading h2,.project-featured h2,.project-detail-content h2,.project-related h2 { font-size: 30px; }
  .project-filters { flex-wrap: nowrap; overflow-x: auto; }
  .project-filters button { flex: 0 0 auto; }
  .project-facts { grid-template-columns: 1fr; }
  .project-button { width: 100%; }
}
