.project-gallery { padding-top: clamp(.7rem,1.2vw,1.2rem); padding-bottom: clamp(3.75rem,7vw,8rem); scroll-margin-top: .7rem; }
.gallery-heading { display: grid; justify-items: center; gap: clamp(1.6rem,2.4vw,2.4rem); padding-bottom: clamp(1.8rem,2.6vw,2.6rem); border-bottom: 1px solid var(--line); margin-bottom: clamp(3.3rem,5vw,5.2rem); }
.gallery-heading h2 { width: 100%; padding-block: .35rem; color: var(--muted); text-align: center; font-weight: 450; font-size: clamp(1rem,1.3vw,1.25rem); line-height: 1.35; letter-spacing: .015em; }
.gallery-heading h2:focus { outline: none; }
.project-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem; }
.project-options a { display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem; padding: .4rem clamp(.85rem,1.15vw,1.3rem); color: var(--ink); border: 1px solid #858789; border-radius: 999px; font-size: 1rem; line-height: 1.2; font-weight: 610; white-space: nowrap; transition: background-color .18s, color .18s, border-color .18s; }
@media (hover: hover) {
  .project-options a:hover { background: #343638; border-color: var(--ink); }
}
.project-options a[aria-current] { background: var(--ink); color: var(--coal); border-color: var(--ink); }
.project-options a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.project-options a:active { background: #c4c5c3; color: var(--coal); }
.project-panel { scroll-margin-top: 7rem; }
.project-panel + .project-panel { margin-top: 5rem; }
.project-gallery[data-enhanced] .project-panel { margin-top: 0; }
.editorial-layout { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); grid-template-areas: "intro art" "story art" "action art"; column-gap: clamp(2.5rem,6.8vw,7.6rem); align-content: center; }
.project-intro { grid-area: intro; align-self: end; }
.project-intro h3 { margin: clamp(1.15rem,1.7vw,1.85rem) 0 clamp(1.5rem,2.25vw,2.4rem) -.035em; font-size: clamp(3rem,5.15vw,6.2rem); line-height: .98; letter-spacing: -.066em; font-weight: 650; text-wrap: balance; }
.project-question { font-size: clamp(1.28rem,1.85vw,1.95rem); font-weight: 530; line-height: 1.24; letter-spacing: -.034em; max-width: 36ch; text-wrap: pretty; }
.project-story { grid-area: story; align-self: center; padding-top: 1.35rem; }
.project-story p { max-width: 59ch; margin: 0; font-size: clamp(1rem,1.17vw,1.18rem); line-height: 1.54; color: #c8c9c7; text-wrap: pretty; }
.project-story p + p { margin-top: .95em; }
.project-action { grid-area: action; display: flex; flex-wrap: wrap; align-items: center; align-self: start; gap: .65rem 1.35rem; padding-top: 1.85rem; }
.action-note, .project-panel figcaption { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.project-action .text-link { font-size: .95rem; }
.project-action .button.primary { background: var(--accent-gradient); color: #141414; }
.project-action .button.primary:hover { background: var(--accent); }
.bakery-panel .editorial-layout { grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr); }
.bakery-gallery { grid-area: art; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-self: center; justify-self: center; width: min(100%,18rem); gap: 1rem; }
.bakery-print { margin: 0; min-width: 0; align-self: start; }
.bakery-print:nth-child(2) { padding-top: 1.5rem; }
.bakery-print a { cursor: zoom-in; display: block; }
.bakery-print img { display: block; width: 100%; height: auto; border-radius: .2rem; }
.bakery-print figcaption { margin-top: .8rem; }
.insurance-panel .editorial-layout { grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr); }
.insurance-panel .project-intro h3 { max-width: 13ch; }
.chat-art { grid-area: art; justify-self: center; align-self: center; width: clamp(15rem,21vw,21.4rem); text-align: center; }
.chat-art img { width: 100%; height: auto; }
.chat-art figcaption { margin-top: 1rem; }
.award-panel .editorial-layout { grid-template-columns: minmax(0,1.45fr) minmax(0,.55fr); }
.award-panel .project-intro h3 { font-size: clamp(2.6rem,4.25vw,5rem); }
.award-art { grid-area: art; align-self: center; justify-self: center; width: clamp(7rem,11vw,10rem); }
.award-art img { display: block; width: 100%; height: auto; }
.seon-panel .editorial-layout { grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); }
.seon-panel .project-intro h3 { max-width: 18ch; font-size: clamp(2.9rem,4.45vw,5.15rem); line-height: 1.02; }
.seon-scope { max-width: 43ch; font-size: clamp(1.08rem,1.5vw,1.5rem); line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.seon-scope strong { color: var(--ink); font-weight: 650; }
.seon-art { grid-area: art; align-self: center; width: min(100%,38rem); justify-self: center; }
.virtual-lab { position: relative; isolation: isolate; overflow: hidden; background: var(--coal); }
.virtual-lab img { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
.virtual-lab::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 17%;
  width: 66%;
  height: 18%;
  background: linear-gradient(180deg,transparent,rgb(93 145 255 / 7%) 91%,rgb(161 182 255 / 38%) 98%,transparent);
  clip-path: polygon(16% 0,100% 0,84% 100%,0 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
}
.seon-art figcaption { margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.seon-art figcaption span { max-width: 24ch; font-size: 1rem; }
.seon-art figcaption img { flex: none; width: clamp(7rem,10vw,9rem); height: auto; padding: .45rem .55rem; background: white; border-radius: .4rem; }
.reserved-project { background: #242527; border-top: 1px solid #454649; }
.reserved-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.9rem,5.8vw,6.7rem); }
.reserved-status { display: flex; align-items: center; gap: .65rem; }
.reserved-status .lock { color: #ff605e; }
.reserved-project h2 { margin: .85rem 0 .5rem -.035em; font-weight: 580; font-size: clamp(2.25rem,4.1vw,4.7rem); line-height: 1.04; letter-spacing: -.058em; }
.reserved-sector { color: #c6c7c5; font-size: clamp(1.05rem,1.45vw,1.45rem); line-height: 1.35; }
.reserved-contact { flex: none; border: 1px solid #848587; }
.reserved-contact:hover { background: var(--ink); color: var(--coal); border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .virtual-lab img { animation: lab-float 7s ease-in-out infinite; }
  .virtual-lab::after { animation: lab-scan 5.8s ease-in-out infinite; }
  @keyframes lab-float { 50% { transform: translateY(-1.2%); } }
  @keyframes lab-scan {
    0%,100% { opacity: 0; }
    15%,75% { opacity: 1; }
    0% { transform: translateY(0); }
    85%,100% { transform: translateY(245%); }
  }
  .project-panel.is-entering .project-intro { animation: lift-in .48s var(--ease) both; }
  .project-panel.is-entering .project-story { animation: lift-in .45s .035s var(--ease) both; }
  .project-panel.is-entering .bakery-print, .project-panel.is-entering .chat-art, .project-panel.is-entering .award-art, .project-panel.is-entering .seon-art { animation: print-arrives .65s var(--ease) both; }
  .project-panel.is-entering .bakery-print:nth-child(2) { animation-delay: .08s; }
  @keyframes print-arrives { from { opacity: .25; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 58rem) {
  .editorial-layout, .insurance-panel .editorial-layout, .award-panel .editorial-layout, .seon-panel .editorial-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 2rem; }
  .bakery-gallery { padding-inline: 0; gap: .85rem; }
  .chat-art { width: min(100%,16.5rem); }
}
@media (max-width: 46rem) {
  .project-gallery { padding-bottom: 3.7rem; scroll-margin-top: .25rem; }
  .editorial-layout, .bakery-panel .editorial-layout, .insurance-panel .editorial-layout, .award-panel .editorial-layout, .seon-panel .editorial-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "intro" "action" "art" "story"; row-gap: 0; }
  .bakery-panel .editorial-layout, .award-panel .editorial-layout { grid-template-areas: "intro" "story" "action" "art"; }
  .project-intro h3, .award-panel .project-intro h3 { font-size: clamp(2.9rem,9.7vw,4.4rem); margin-block: 1.25rem 1.5rem; }
  .project-question { font-size: 1.24rem; max-width: 37ch; }
  .project-action { padding-top: 1.15rem; gap: .55rem .9rem; }
  .project-story { padding-top: 1.65rem; }
  .bakery-gallery { width: min(100%,13rem); gap: 1rem; margin-top: 2rem; }
  .bakery-print:nth-child(2) { padding-top: 1rem; }
  .bakery-print figcaption { margin-top: .6rem; }
  .chat-art { margin-top: 1.8rem; width: min(68%,15.8rem); }
  .award-art { width: 6rem; margin-top: 2rem; }
  .seon-art { width: min(100%,29rem); margin-top: .9rem; }
  .seon-art figcaption { margin-inline: 0; }
  .reserved-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 32rem) {
  .project-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,25rem); }
}
@media (max-width: 23rem) {
  .seon-panel .project-intro h3 { font-size: clamp(2.5rem,12vw,2.8rem); }
}
