/* Project index: a featured case, followed by existing photographic evidence. */
.project-index { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr); gap: clamp(40px, 5vw, 76px); margin-bottom: clamp(96px, 12vw, 170px); }
.project-feature { display: block; min-width: 0; }
.project-feature > img { width: 100%; max-height: 72svh; aspect-ratio: 16 / 10; object-fit: cover; }
.project-feature-copy { display: grid; grid-template-columns: minmax(0, .8fr) minmax(240px, 1fr); gap: 16px 40px; align-items: start; padding-top: 28px; }
.project-eyebrow { display: block; color: var(--cyan-soft); font-size: .65rem; font-weight: 700; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; }
.project-feature h3 { grid-row: 1 / span 3; margin: 0; font: 400 clamp(3.4rem, 5vw, 5rem)/.94 var(--display); }
.project-feature p { max-width: 52ch; margin: 0; color: #b9c2ca; font-size: .9rem; line-height: 1.75; }
.project-feature .project-feature-meta { color: var(--cyan-soft); font-size: .62rem; font-weight: 700; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; }
.project-index-action, .project-case-link { display: inline-flex; align-items: center; min-height: 44px; gap: 24px; color: var(--cyan-soft); font-size: .75rem; }
.project-case-link { margin-top: 18px; }
.project-case-link[hidden] { display: none; }
.project-index-others > h3 { margin: 0 0 24px; font: 400 clamp(2.4rem, 3vw, 3.4rem)/1 var(--display); }
.project-index-others > a, .project-index-others > article { display: grid; grid-template-columns: 90px minmax(0, 1fr) 18px; gap: 18px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.project-index-others > article { grid-template-columns: 90px minmax(0, 1fr); }
.project-index-others img { width: 90px; height: 108px; object-fit: cover; }
.project-index-others strong { display: block; font: 400 clamp(1.7rem, 2.4vw, 2.5rem)/1.05 var(--display); }
.project-index-others small { display: block; margin-top: 12px; color: #b9c2ca; font-size: .68rem; line-height: 1.65; }
.project-index-note { margin: 24px 0 0; color: rgba(255,255,255,.52); font-size: .7rem; line-height: 1.7; }
.project-index a:hover .project-index-action, .project-index-others a:hover strong, .project-case-link:hover { text-decoration: underline; text-underline-offset: 6px; }
#mega-case { scroll-margin-top: 28px; }

/* Structural containment: allow grid children and long headings to wrap. */
.about-grid > *, .services-intro > *, .projects-heading > *, .contact-layout > *, .service-row > *, .case-sequence > * { min-width: 0; }
.chromatic-copy, .case-divider-copy.chromatic-copy { max-width: 100%; overflow-wrap: anywhere; }
.project-description h3, .mega-case-copy h3, .service-row h3, .method-points h3 { overflow-wrap: anywhere; }
.service-row { overflow: clip; }
.contact { overflow: clip; }
@media (max-width: 700px) {
  .project-index { grid-template-columns: minmax(0, 1fr); gap: 44px; margin-bottom: 76px; }
  .project-feature-copy { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .project-feature h3 { grid-row: auto; }
  .project-feature .project-feature-meta { margin-top: 4px; }
  .project-index-others > a { grid-template-columns: 80px minmax(0, 1fr) 18px; }
  .project-index-others > article { grid-template-columns: 80px minmax(0, 1fr); }
  .project-index-others img { width: 80px; height: 90px; }
  .project-feature-copy { padding-top: 22px; }
}
@media (max-width: 640px) {
  .about-grid, .services-intro, .projects-heading, .mega-case-copy, .contact-layout, .case-sequence { grid-template-columns: minmax(0, 1fr); }
  .service-row { grid-template-columns: 28px minmax(0, 1fr); }
  .chromatic-copy { font-size: clamp(2.8rem, 12vw, 4.2rem); line-height: .98; }
  .case-divider-copy.chromatic-copy { font-size: clamp(2.4rem, 10vw, 3.4rem); line-height: 1; }
  .method-points h3 { font-size: clamp(2rem, 8.6vw, 3rem); overflow-wrap: anywhere; line-height: 1; }
}

/* Photographic cases share the approved Olympo layout. */
.mega-meta { margin-top: 22px !important; }
.archive-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.archive-pair img { max-height: 72svh; object-fit: contain; }
@media (max-width: 700px) { .archive-pair { grid-template-columns: minmax(0, 1fr); } }
.mega-process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.mega-process .olympo-photo { height: 100%; display: flex; align-items: center; }
.mega-process figure { display: grid; grid-template-rows: 1fr auto; }
.mega-process figcaption { flex-direction: column; gap: 4px; }
.mega-process figcaption strong { font-size: .85rem; color: var(--ink); }
.mega-details { margin: 28px 0 0; }
.mega-details > div { padding: 18px 0; border-top: 1px solid var(--line-light); }
.mega-details dt { color: var(--ink); font-weight: 700; font-size: .85rem; }
.mega-details dd { margin: 8px 0 0; color: var(--muted-dark); font-size: .8rem; line-height: 1.75; }
@media (max-width: 700px) {
  .mega-process { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mega-page .olympo-opening figcaption { flex-wrap: wrap; }
}
.olympo-page { background: var(--paper); }
.case-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px max(24px, calc((100vw - 1440px) / 2)); color: var(--white); background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.case-header img { width: 210px; height: auto; filter: brightness(0) invert(1); }
.case-header > a { display: inline-flex; min-height: 44px; align-items: center; font-size: .75rem; }
.olympo-intro { padding: 72px 0 64px; color: var(--white); background: var(--ink); }
.olympo-title { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 64px; margin-bottom: 42px; }
.olympo-title h1 { margin: 12px 0 0; font: 400 clamp(4.2rem, 8vw, 8rem)/.95 var(--display); }
.olympo-title p { max-width: 49ch; margin: 0; color: #b9c2ca; font-size: .95rem; line-height: 1.8; }
.olympo-page figure { margin: 0; min-width: 0; }
.olympo-photo { display: block; background: var(--ink); }
.olympo-photo img { display: block; width: 100%; height: auto; }
.olympo-opening img { max-height: 76svh; object-fit: contain; }
.olympo-page figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; color: var(--muted-dark); font-size: .7rem; line-height: 1.65; }
.olympo-intro figcaption, .olympo-detail-dark figcaption { color: #b9c2ca; }
.olympo-page figcaption a { flex-shrink: 0; text-decoration: underline; text-underline-offset: 4px; }
.olympo-chapter { padding: 90px 0; }
.olympo-chapter-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; margin-bottom: 38px; align-items: end; }
.olympo-chapter-heading h2 { margin: 8px 0 0; font: 400 clamp(2.8rem, 4vw, 4.5rem)/1 var(--display); }
.olympo-chapter-heading p { margin: 0; max-width: 50ch; color: var(--muted-dark); font-size: .88rem; line-height: 1.8; }
.olympo-chapter .project-eyebrow { color: var(--brand-blue); }
.olympo-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.olympo-three img { aspect-ratio: 3 / 4; object-fit: cover; }
.olympo-detail-dark { background: var(--ink); color: var(--white); }
.olympo-detail-dark .project-eyebrow { color: var(--cyan-soft); }
.olympo-detail-dark .olympo-chapter-heading p { color: #b9c2ca; }
.olympo-ceiling { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.olympo-ceiling .olympo-chapter-heading { display: block; }
.olympo-ceiling h2 { margin-bottom: 24px; }
.olympo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 60px; }
.olympo-pair img { aspect-ratio: 4 / 3; object-fit: cover; }
.olympo-dining img { max-height: 76svh; object-fit: contain; }
.olympo-close { padding: 54px 0; background: var(--ink); color: var(--white); }
.olympo-close .section-shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.olympo-close a { min-height: 44px; display: inline-flex; align-items: center; color: var(--cyan-soft); font-size: .85rem; }
@media (prefers-reduced-motion: reduce) {
  .motion-ready .case-sequence figcaption, .motion-ready .case-sequence figure:nth-child(even) figcaption { opacity: 1; transform: none; clip-path: none; animation: none; }
}
@media (max-width: 700px) {
  .case-header { padding: 14px 18px; gap: 14px; }
  .case-header img { width: 150px; }
  .case-header > a { font-size: .65rem; }
  .olympo-intro { padding: 44px 0 30px; }
  .olympo-title, .olympo-chapter-heading, .olympo-ceiling { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .olympo-title h1 { font-size: clamp(3.5rem, 15vw, 5.5rem); }
  .olympo-title p { font-size: .85rem; }
  .olympo-chapter { padding: 60px 0; }
  .olympo-three, .olympo-pair { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .olympo-three img { aspect-ratio: auto; max-height: 78svh; object-fit: contain; }
  .olympo-page figcaption { font-size: .65rem; }
  .olympo-pair { margin-top: 40px; }
}
