.project-page {
  font-size: 16px;
  line-height: 1.7;
}

.project-header .header-inner {
  gap: 24px;
}

.project-global-nav {
  margin-left: auto;
}

.project-header .header-contact {
  margin-left: 28px;
}

.project-container {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  min-height: min(760px, calc(100vh - var(--header-height)));
  background: var(--white);
}

.project-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 8vw, 128px) clamp(40px, 7vw, 120px);
}

.project-hero h1 {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--navy);
  font-size: clamp(42px, 4.4vw, 70px);
  line-height: 1.23;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.project-hero h1 > .heading-line,
#visual-title > .heading-line {
  display: block;
}

.heading-phrase {
  display: inline-block;
  white-space: nowrap;
}

.mobile-heading-phrase {
  display: inline;
}

.project-hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--steel);
  font-size: 17px;
  line-height: 1.9;
}

.project-hero-media {
  min-height: 620px;
}

.project-hero-photo {
  object-position: 52% center;
}

.project-image-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 10px 16px;
  color: var(--white);
  background: rgb(7 21 34 / 84%);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.project-notice {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--white);
  background: var(--navy);
}

.project-notice div {
  display: flex;
  min-height: 112px;
  padding: 28px clamp(20px, 3vw, 48px);
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgb(255 255 255 / 14%);
}

.project-notice div:last-child {
  border-right: 0;
}

.project-notice strong {
  font-size: 18px;
  line-height: 1.4;
}

.project-notice span {
  margin-top: 7px;
  color: rgb(255 255 255 / 72%);
  font-size: 13px;
}

.project-section {
  padding: clamp(84px, 8.7vw, 136px) 0;
}

.project-heading {
  max-width: 620px;
}

.project-heading-wide {
  max-width: 760px;
}

.project-heading h2 {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.28;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

#purpose-title {
  font-size: clamp(36px, 4vw, 56px);
}

#strategy-title {
  font-size: clamp(36px, 3.5vw, 50px);
}

.project-heading > p:not(.section-label) {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.8;
}

.project-heading-light h2,
.project-heading-light > p:not(.section-label) {
  color: var(--white);
}

.project-heading-light > p:not(.section-label) {
  color: rgb(255 255 255 / 76%);
}

.project-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(64px, 9vw, 130px);
  align-items: start;
}

.project-summary {
  margin: 0;
  border-top: 1px solid var(--navy);
}

.project-summary div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.project-summary dt {
  color: var(--steel);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-summary dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

.project-purpose {
  background: var(--mist);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-item {
  padding: clamp(32px, 5vw, 60px);
  background: var(--white);
}

.audience-item > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.audience-item h3 {
  margin: 20px 0 0;
  color: var(--navy);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.45;
}

.audience-item p {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--steel);
}

.project-strategy {
  color: var(--white);
  background: var(--navy);
}

.project-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(255 255 255 / 22%);
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.project-flow li {
  position: relative;
  min-height: 220px;
  padding: 28px 22px;
  border-right: 1px solid rgb(255 255 255 / 16%);
}

.project-flow li:last-child {
  border-right: 0;
}

.project-flow li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -9px;
  width: 18px;
  height: 18px;
  color: var(--navy);
  background: var(--cyan);
  border-radius: 50%;
  content: "→";
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  transform: translateY(-50%);
}

.project-flow span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

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

.project-flow strong {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.45;
}

.project-flow small {
  margin-top: 15px;
  color: rgb(255 255 255 / 66%);
  font-size: 13px;
  line-height: 1.7;
}

.strategy-note {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  margin-top: 42px;
  padding: 28px 0;
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}

.strategy-note strong {
  color: var(--cyan);
}

.strategy-note p {
  max-width: 720px;
  margin: 0;
  color: rgb(255 255 255 / 74%);
}

.project-visual-grid {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

#visual-title {
  font-size: clamp(36px, 3.4vw, 46px);
  line-height: 1.34;
}

.project-visual-photo {
  margin: 0;
}

.project-visual-photo .site-image {
  min-height: 560px;
}

.project-facilities-photo {
  object-position: center;
}

.project-visual-photo figcaption,
.photo-direction-item figcaption {
  padding: 18px 0;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.project-palette {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 70px;
  background: var(--line);
  border: 1px solid var(--line);
}

.project-palette > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 26px;
  background: var(--white);
  align-items: center;
}

.palette-swatch {
  grid-row: 1 / 3;
  width: 28px;
  height: 52px;
  border: 1px solid var(--line);
}

.palette-navy {
  background: var(--navy);
}

.palette-white {
  background: var(--white);
}

.palette-teal {
  background: var(--teal);
}

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

.project-palette strong {
  color: var(--navy);
}

.project-palette small {
  margin-top: 4px;
  color: var(--steel);
  font-size: 12px;
}

.project-photography {
  background: var(--mist);
}

.photo-direction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 32px;
  margin-top: 64px;
}

.photo-direction-item {
  margin: 0;
}

.photo-direction-main {
  grid-row: 1 / 3;
}

.photo-direction-main .site-image {
  min-height: 620px;
}

.photo-direction-item:not(.photo-direction-main) .site-image {
  min-height: 260px;
}

.photo-direction-item figcaption strong,
.photo-direction-item figcaption span {
  display: block;
}

.photo-direction-item figcaption strong {
  color: var(--navy);
}

.photo-direction-item figcaption span {
  margin-top: 6px;
}

.ai-visual-note {
  max-width: 820px;
  margin: 54px 0 0;
  padding-left: 22px;
  color: var(--steel);
  border-left: 3px solid var(--teal);
}

.project-screens {
  overflow: hidden;
}

.screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(190px, 0.7fr));
  gap: 28px;
  margin-top: 64px;
  align-items: end;
}

.screen-item {
  min-width: 0;
  margin: 0;
}

.screen-window {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--mist);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.screen-window-tablet {
  height: 500px;
}

.screen-window-mobile {
  width: min(100%, 260px);
  height: 460px;
  margin: 0 auto;
}

.screen-window-bar {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 22px;
  background: var(--navy);
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.screen-window-bar::before {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 12px 0 0 rgb(255 255 255 / 38%), 24px 0 0 rgb(255 255 255 / 22%);
  content: "";
}

.screen-window img {
  display: block;
  width: 100%;
  height: auto;
  padding-top: 22px;
}

.screen-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.screen-item figcaption strong {
  color: var(--navy);
  font-size: 15px;
}

.implementation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: var(--line);
  border: 1px solid var(--line);
}

.implementation-block {
  padding: clamp(32px, 5vw, 58px);
  background: var(--white);
}

.implementation-block h3,
.accessibility-block h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.4;
}

.implementation-block ul,
.accessibility-block ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.implementation-block li,
.accessibility-block li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid var(--line);
}

.implementation-block li::before,
.accessibility-block li::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--teal);
  content: "";
}

.technology-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.accessibility-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 8vw, 100px);
  margin-top: 64px;
  padding: clamp(36px, 6vw, 72px);
  background: var(--mist);
}

.accessibility-block h3 {
  margin-top: 14px;
}

.accessibility-block p:not(.section-label) {
  max-width: 420px;
  margin: 22px 0 0;
  color: var(--steel);
}

.accessibility-block ul {
  margin-top: 0;
}

.project-cta {
  padding: clamp(84px, 9.5vw, 140px) 0;
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.project-cta h2 {
  margin: 18px 0 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.3;
}

.project-cta p:not(.section-label) {
  max-width: 650px;
  margin: 26px auto 0;
  color: rgb(255 255 255 / 74%);
}

.project-cta-actions {
  justify-content: center;
}

.project-footer-inner {
  display: flex;
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 72px 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.project-footer-inner p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 72%);
}

.project-footer-inner small {
  display: block;
  max-width: 680px;
  margin-top: 10px;
  color: rgb(255 255 255 / 74%);
  font-size: 12px;
  line-height: 1.6;
}

.project-footer .footer-bottom {
  color: rgb(255 255 255 / 72%);
  font-size: 12px;
  line-height: 1.5;
}

.project-footer-link {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  flex: 0 0 auto;
  align-items: center;
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 42%);
  text-decoration: none;
}

.project-footer-link:hover {
  color: var(--navy);
  background: var(--white);
}

@media (max-width: 1180px) {
  .project-header .header-contact {
    margin-left: auto;
  }

  .project-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-flow li:nth-child(3) {
    border-right: 0;
  }

  .project-flow li:nth-child(-n + 3) {
    border-bottom: 1px solid rgb(255 255 255 / 16%);
  }

  .project-flow li:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .project-container {
    width: min(100% - 40px, var(--max-width));
  }

  .project-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-hero-copy {
    padding: 72px 20px 64px;
  }

  .project-hero h1 {
    font-size: clamp(38px, 8.5vw, 58px);
  }

  .project-hero-media {
    min-height: 500px;
  }

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

  .project-notice div:nth-child(2) {
    border-right: 0;
  }

  .project-notice div:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 14%);
  }

  .project-overview-grid,
  .project-visual-grid,
  .accessibility-block {
    grid-template-columns: 1fr;
  }

  .project-overview-grid,
  .project-visual-grid {
    gap: 56px;
  }

  .project-visual-photo .site-image {
    min-height: 500px;
  }

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

  .photo-direction-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .photo-direction-main .site-image {
    min-height: 520px;
  }

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

  .screen-desktop {
    grid-column: 1 / -1;
  }

  .screen-window {
    height: 480px;
  }

  .screen-window-tablet,
  .screen-window-mobile {
    height: 440px;
  }

  .implementation-grid {
    grid-template-columns: 1fr;
  }

  .accessibility-block {
    gap: 40px;
  }

  .project-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .mobile-heading-phrase {
    display: inline-block;
    white-space: nowrap;
  }

  .project-hero-copy {
    padding-top: 58px;
  }

  .project-hero-media {
    min-height: 400px;
  }

  .project-hero-photo {
    object-position: 45% center;
  }

  .project-image-note {
    right: auto;
    left: 0;
    max-width: 100%;
    font-size: 10px;
  }

  .project-notice {
    grid-template-columns: 1fr;
  }

  .project-notice div,
  .project-notice div:nth-child(2) {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 14%);
  }

  .project-notice div:last-child {
    border-bottom: 0;
  }

  .project-section {
    padding: 76px 0;
  }

  .project-heading h2 {
    font-size: 36px;
  }

  #visual-title {
    font-size: 29px;
    line-height: 1.4;
  }

  .project-summary div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .audience-grid,
  .project-palette,
  .photo-direction-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .audience-item {
    padding: 32px 24px;
  }

  .project-flow {
    grid-template-columns: 1fr;
  }

  .project-flow li,
  .project-flow li:nth-child(3) {
    min-height: 0;
    padding: 26px 0 30px 54px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
  }

  .project-flow li:last-child {
    border-bottom: 0;
  }

  .project-flow li:not(:last-child)::after,
  .project-flow li:nth-child(3)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -9px;
    left: 9px;
    content: "↓";
    transform: none;
  }

  .project-flow strong {
    margin-top: 10px;
  }

  .strategy-note {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-visual-photo .site-image,
  .photo-direction-main .site-image {
    min-height: 390px;
  }

  .photo-direction-item:not(.photo-direction-main) .site-image {
    min-height: 300px;
  }

  .project-palette > div {
    padding: 22px;
  }

  .screen-desktop {
    grid-column: auto;
  }

  .screen-window,
  .screen-window-tablet,
  .screen-window-mobile {
    width: 100%;
    height: 440px;
  }

  .technology-list {
    grid-template-columns: 1fr;
  }

  .implementation-block,
  .accessibility-block {
    padding: 32px 24px;
  }

  .project-footer-inner {
    width: min(100% - 40px, var(--max-width));
    padding: 56px 0;
  }

  .project-footer-link {
    width: 100%;
    justify-content: center;
  }
}

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