.project-section {background: #f5f8fa}
#projects .section-head {margin-bottom: 18px}
#projects .switches {margin-bottom: 24px}
.plant-grid {display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 20px}
.plant-case {min-width: 0; display: flex; flex-direction: column; background: white; border: 1px solid #cfdce5; border-radius: 9px; overflow: hidden}
.plant-feature {grid-column: span 3}
.plant-compact {grid-column: span 2}
.plant-image {display: flex; overflow: hidden; position: relative; align-items: stretch; background: #172f43; aspect-ratio: 16 / 8.8}
.plant-image img {display: block; width: 100%; height: 100%; object-fit: cover}
.case-bottles .plant-image img {object-position: center 73%}
.case-packing .plant-image img {object-position: 50% 42%}
.case-milk .plant-image img {object-position: 45% 60%}
.case-mould .plant-image {display: grid; grid-template-columns: 38% 1fr; gap: 2px}
.case-mould .plant-image img:first-child {object-fit: contain; background: #172e42}
.case-mould .companion-photo {object-position: 65% 55%}
.case-opening .plant-image {display: block; background: #183e5b}
.case-opening .plant-image img {position: absolute; top: 0; right: 0; width: 50%; height: 100%; object-fit: contain; object-position: right center}
.case-opening .opening-label {position: absolute; inset: 0 45% 0 0}
.opening-label {display: flex; flex-flow: column; justify-content: center; gap: 6px; padding: 9px clamp(10px, 1.8vw, 25px); color: #dcebf5; font-size: .8rem}
.opening-label strong {color: white; font-size: clamp(1.55rem, 3vw, 2.8rem); line-height: 1; letter-spacing:.014em}
.photo-count {position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 3px 10px; border-radius: 5px; color: #fff; background: #0a1e30df; font-size: .78rem; font-weight:800}
.photo-count b {font: 400 1.14rem/1 Manrope,system-ui,sans-serif}
.plant-image:focus-visible {outline: 3px solid #93d3f6; outline-offset: -4px}
.plant-image:hover .photo-count {background: #225681}
.plant-copy {flex: 1; display: flex; flex-flow: column; align-items: start; padding: 20px clamp(16px, 1.8vw, 26px) 21px}
.plant-place {color: #46617a; font-size: .78rem}
.plant-copy h3 {font-size: clamp(1.32rem, 2.05vw, 1.95rem); line-height: 1.14; letter-spacing:.014em; margin: 6px 0 12px}
.plant-feature .plant-copy h3 {font-size: clamp(1.65rem, 2.9vw, 2.95rem)}
.case-bottles .plant-copy {background: #102c43; color: #f5faff}
.case-bottles .plant-copy .plant-place, .case-bottles .plant-copy .plant-work {color: #cee0eb}
.case-bottles .plant-copy .plant-metric {color: #a0d7f3}
.case-bottles .plant-copy .text-link {color: #f1f8ff}
.plant-metric {color: #15517b; font-size: 1.06rem; font-weight:800; line-height: 1.3}
.plant-work {margin: 5px 0 10px; max-width: 55ch; color: #445e73; font-size: .92rem}
.plant-copy .text-link {margin-top: auto; padding-top: 5px}
.plant-case:only-child {grid-column: span 3}
.plant-grid:has(.plant-case[hidden]) .plant-case:not([hidden]) {grid-column: span 3}
@media (min-width: 681px) {
  .plant-grid:not(:has(.plant-case:not([hidden]) ~ .plant-case:not([hidden]))) .plant-case:not([hidden]) {grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr)}
  .plant-grid:not(:has(.plant-case:not([hidden]) ~ .plant-case:not([hidden]))) .plant-copy {align-self: center}
}
.plant-dialog {width: min(920px, calc(100% - 24px)); max-height: calc(100dvh - 30px); box-sizing: border-box; margin: auto; padding: 0; color: #f3f8fc; background: #10283d; border: 1px solid #456078; border-radius: 10px}
.plant-dialog::backdrop {background: #061522de}
body:has(.plant-dialog[open]) {overflow: hidden}
.gallery-bar, .gallery-foot {display: flex; align-items: center; justify-content: space-between; gap: 8px 18px; padding: 9px 17px}
.gallery-bar h3 {margin: 0; font-size: 1.15rem; letter-spacing:.014em}
.plant-dialog button {min-width: 44px; height: 44px; border: 1px solid #648198; color: white; background: transparent; border-radius: 6px; cursor: pointer; font-size: 1.25rem}
.plant-dialog figure {margin: 0}
.plant-dialog figure img {display: block; width: 100%; height: min(56dvh, 560px); object-fit: contain; background: #061522}
.plant-dialog figcaption {padding: 11px 18px 2px; font-size: .94rem; color: #dae7ef}
.gallery-foot .button {min-height: 44px; margin-left: auto}
#gallery-nav {display: inline-flex; align-items: center; gap: 9px; white-space: nowrap}
#gallery-number {font-size: .88rem}
.team-lead {grid-template-columns: minmax(0, .73fr) minmax(0, 1.27fr); min-height: 315px; background: white; border-radius: 10px}
.team-portrait {position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 38%, #426781, #1c3c55 65%, #132e44)}
.team-portrait img {position: absolute; height: calc(100% - 18px); width: auto; max-width: none; bottom: -1px; left: 50%; transform: translateX(-56.5%)}
.team-copy {align-self: center; padding: clamp(23px, 3.6vw, 54px)}
.team-copy h2 {margin: 7px 0 12px; font-size: clamp(2.15rem, 4.3vw, 4.1rem); line-height: 1.12}
.team-copy > p:not(.eyebrow) {max-width: 49ch; color: #405a70; line-height: 1.56}
.team-copy .director-links {margin-top: 18px}
.plan-example {margin-top: 24px; border-top: 1px solid #c6d5e0; display: flex; align-items: center; justify-content: space-between; gap: 10px 22px; padding: 19px 0 0}
.plan-example h3 {margin: 0 0 4px; font-size: 1.2rem; letter-spacing:.014em}
.plan-example p {color: #465f74; font-size: .94rem}
.plan-example a {flex: none}
@media(max-width:850px) {
  .plant-grid {gap: 16px 12px}
  .plant-copy {padding: 15px}
  .plant-compact .plant-image {aspect-ratio: 1.5}
  .opening-label {padding: 6px 8px; font-size: .67rem}
  .opening-label strong {font-size: 1.55rem}
}
@media(max-width:680px) {
  .plant-grid {grid-template-columns: minmax(0,1fr); gap: 17px}
  .plant-grid .plant-case, .plant-grid:has(.plant-case[hidden]) .plant-case:not([hidden]) {grid-column: 1}
  .plant-image, .plant-compact .plant-image {aspect-ratio: 1.85}
  .plant-copy h3 {font-size: 1.52rem}
  .plant-feature .plant-copy h3 {font-size: 1.75rem}
  .opening-label {font-size: .88rem; padding: 16px 20px}
  .opening-label strong {font-size: 2.5rem}
  .team-lead {grid-template-columns: 1fr; min-height: 0}
  .team-portrait {height: clamp(225px, 68vw, 321px)}
  .team-copy {padding: 23px 20px 27px}
  .gallery-bar, .gallery-foot {padding: 8px 11px}
  .gallery-foot {flex-wrap: wrap}
  .gallery-foot .button {padding: 8px 12px; font-size: .81rem}
  .plant-dialog figcaption {padding: 10px 12px 1px}
  .plan-example {align-items: start; flex-direction: column}
}
