/* Home refinement: real project media, combined capabilities, light drift wall. */
.hero-project-video { object-position: 63% 50% !important; }
.hero-source { position: absolute; z-index: 3; right: var(--gutter); bottom: 24px; padding: 7px 0; border: 0; background: transparent; color: rgba(240,242,233,.72); font-size: 10px; cursor: pointer; }
.hero-source span { color: var(--acid); margin-left: 12px; }
.hero-source:hover { color: var(--text); }
.hero-index { bottom: 68px; }
.ip-project-note { display: flex; height: 100%; min-height: 230px; flex-direction: column; justify-content: center; align-items: flex-start; padding: 32px; background: radial-gradient(ellipse at 85% 15%, rgba(106,230,213,.16), transparent 55%), #0c1c18; }
.ip-project-note > span { font-size: 9px; color: var(--cyan); letter-spacing: .16em; }
.ip-project-note strong { margin: 22px 0; font-size: clamp(25px,3vw,42px); line-height: 1.25; font-weight: 400; text-align: left; }
.ip-project-note small { color: var(--muted); font-size: 10px; }
.production-section { padding-top: 100px; padding-bottom: 100px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 80% 10%, rgba(47,76,58,.22), transparent 55%); }
.section-anchor { position: absolute; top: 0; }
.section-number-wide { width: auto; min-width: 68px; padding: 0 12px; border-radius: 24px; }
.production-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 50px; margin-bottom: 52px; }
.production-heading h2 { margin: 0 0 20px; font-size: clamp(28px,4.5vw,66px); line-height: 1.12; font-weight: 500; letter-spacing: -.055em; }
.production-heading h2 span { display: block; }
.production-heading p:last-child { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 0; }
.production-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.production-cards li { display: flex; flex-direction: column; min-width: 0; padding: 28px 26px 30px; border-right: 1px solid var(--line); }
.production-cards li:first-child { padding-left: 0; }
.production-cards li:last-child { padding-right: 0; border-right: 0; }
.production-step { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 35px; }
.production-step > span { color: var(--acid); font-size: 12px; }
.production-step small { color: #818f85; font-size: 8px; letter-spacing: .1em; }
.production-cards h3 { margin-bottom: 17px; font-size: clamp(22px,2vw,30px); line-height: 1.25; font-weight: 400; letter-spacing: -.035em; }
.production-cards p { margin: 0 0 28px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.production-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.production-tools span { padding: 6px 9px; border: 1px solid rgba(240,242,233,.22); border-radius: 20px; color: #d7dfd4; font-size: 9px; white-space: nowrap; }
.production-evidence { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 26px; }
.production-evidence > p { margin: 0; color: #819184; font-size: 11px; line-height: 1.7; }
.production-evidence > div { display: flex; gap: 24px; flex-wrap: wrap; }
.production-evidence button { padding: 6px 0; border: 0; background: transparent; color: var(--text); cursor: pointer; font-size: 11px; }
.production-evidence button span { color: var(--acid); margin-left: 12px; }
.production-evidence button:hover { color: var(--acid); }
.about-section {
  --about-enter: clamp(150px,14vw,220px);
  --about-exit: clamp(260px,26vw,380px);
  background:
    linear-gradient(180deg, #07100f 0%, #344338 24%, #bbc4b3 62%, rgba(237,240,231,0) 100%) top / 100% var(--about-enter) no-repeat,
    linear-gradient(180deg, rgba(237,240,231,0) 0%, #dcebc2 46%, #a9df31 100%) bottom / 100% var(--about-exit) no-repeat,
    #edf0e7;
  padding-top: calc(var(--about-enter) + 24px);
  padding-bottom: clamp(140px,14vw,210px);
}
.about-scene { display: grid; grid-template-columns: minmax(205px,.58fr) minmax(0,1.62fr); gap: clamp(28px,3.4vw,52px); align-items: center; }
.about-lead h2 { font-size: clamp(34px,3.5vw,56px); line-height: 1.15; margin: 0; letter-spacing: -.055em; }
.about-lead h2 span { display: block; white-space: nowrap; }
.about-wall-intro { max-width: 340px; margin: 26px 0 0; color: #5e6a60; font-size: 13px; line-height: 1.9; }
.about-wall { min-width: 0; }
.wall-toolbar { position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 0 3px; }
.wall-toolbar > span { font-size: 8px; letter-spacing: .12em; color: #758072; }
.wall-toolbar b { color: #22372a; font-weight: 400; }
.wall-pause { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid #bdc8b8; border-radius: 30px; background: rgba(255,255,255,.45); color: #314732; cursor: pointer; font-size: 9px; }
.wall-pause:hover:not(:disabled) { background: #22372a; color: #edf0e7; }
.wall-pause:disabled { cursor: default; color: #71816e; }
.drift-wall {
  --wall-tile-width: 220px;
  --wall-tile-height: 145px;
  --wall-feather: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0%, #000 40%, rgba(0,0,0,.96) 52%, rgba(0,0,0,.75) 68%, rgba(0,0,0,.38) 84%, rgba(0,0,0,.09) 95%, transparent 100%);
  position: relative;
  height: clamp(600px,76svh,800px);
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  /* Fade the entire image surface, including its borders and shadows, into the
     live section background. The toolbar and project links stay outside this mask. */
  -webkit-mask-image: var(--wall-feather);
  mask-image: var(--wall-feather);
  mask-repeat: no-repeat;
  /* Fully transparent corners must not remain invisible video click targets. */
  clip-path: ellipse(50% 50% at 50% 50%);
}
.drift-plane { position: absolute; top: 50%; left: 50%; display: flex; height: calc(100% + 260px); transform-style: preserve-3d; transform-origin: 50% 50%; will-change: transform; }
.drift-column { flex: none; width: calc(var(--wall-tile-width) + 14px); height: 100%; transform-style: preserve-3d; }
.drift-track { display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform; }
.drift-tile { position: relative; display: block; flex: none; width: 100%; height: calc(var(--wall-tile-height) + 14px); padding: 7px; border: 0; background: transparent; cursor: pointer; transform-style: preserve-3d; }
.drift-tile-inner { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border: 3px solid rgba(255,255,255,.86); border-radius: 9px; background: #b8c4b3; box-shadow: 0 10px 18px -13px rgba(25,48,29,.5); opacity: .84; transform: translateZ(0); transition: transform 420ms cubic-bezier(.22,1,.36,1), opacity 300ms ease, box-shadow 300ms ease; }
.drift-tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) saturate(.92); pointer-events: none; user-select: none; }
.drift-tile:hover .drift-tile-inner { opacity: 1; transform: translateZ(32px) scale(1.035); box-shadow: 0 25px 35px -12px rgba(25,48,29,.35); }
.drift-tile:hover img { filter: none; }
.drift-tile-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 9px 9px; background: linear-gradient(transparent,rgba(2,14,8,.82)); color: #f2f5ed; font-size: 9px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity 250ms ease, transform 350ms ease; }
.drift-tile:hover .drift-tile-label { opacity: 1; transform: translateY(0); }
.drift-plane, .drift-column, .drift-track { pointer-events: none; }
.drift-tile { pointer-events: auto; }
.drift-tile-inner { pointer-events: none; }
.wall-project-links { position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; padding-top: 2px; }
.wall-project-links button { padding: 6px 9px; border: 1px solid #bec8b8; border-radius: 22px; background: transparent; color: #45583d; cursor: pointer; font-size: 9px; }
.wall-project-links button:hover { background: #22372a; border-color: #22372a; color: #edf0e7; }
.wall-footnote { margin: 14px 0 0; text-align: center; font-size: 9px; color: #7b8775; }
.about-grid { gap: 7vw; padding-top: 66px; margin-top: 50px; border-top: 1px solid #c7cebe; }
.about-copy > p { font-size: 13px; }
.production-section button:focus-visible, .hero-source:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
.about-section button:focus-visible { outline: 2px solid #243e28; outline-offset: 4px; }
@media (max-width:1100px) {
  .production-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .production-cards li { padding: 26px; }
  .production-cards li:nth-child(2) { border-right: 0; }
  .production-cards li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .production-cards li:nth-child(3) { padding-left: 0; }
  .production-cards li:nth-child(2), .production-cards li:nth-child(4) { padding-right: 0; }
}
@media (max-width:1000px) {
  .about-scene { grid-template-columns: minmax(190px,.58fr) minmax(0,1.62fr); gap: 26px; }
  .about-lead h2 { font-size: clamp(30px,3.5vw,38px); }
  .drift-wall { height: clamp(540px,76svh,680px); }
  .about-wall-intro { font-size: 11px; max-width: 280px; }
  .production-heading { grid-template-columns: .5fr 1.5fr; gap: 24px; }
}
@media (max-width:700px) {
  .hero h1 { font-size: clamp(40px,11vw,70px); }
  .hero-source { left: 20px; right: 20px; bottom: 18px; text-align: center; font-size: 9px; }
  .hero { padding-bottom: 80px; }
  .hero-card { margin-bottom: 32px; }
  .hero-index { display: none; }
  .production-section { padding-top: 70px; padding-bottom: 70px; }
  .production-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 34px; }
  .production-heading .section-number { margin-bottom: 12px; }
  .production-heading .kicker { font-size: 9px; }
  .production-heading h2 { font-size: clamp(28px,6.7vw,44px); }
  .production-heading p:last-child { font-size: 12px; }
  .production-evidence { flex-direction: column; align-items: flex-start; gap: 14px; }
  .about-section { --about-enter: 130px; --about-exit: 270px; padding-top: 154px; padding-bottom: 130px; }
  .about-scene { grid-template-columns: 1fr; gap: 34px; }
  .about-lead h2 { font-size: clamp(35px,9.4vw,56px); }
  .about-wall-intro { max-width: 360px; font-size: 12px; }
  .about-wall { margin-inline: -10px; }
  .wall-toolbar { padding-inline: 10px; }
  .drift-wall { height: clamp(480px,66svh,620px); }
  .about-grid { padding-top: 36px; margin-top: 42px; gap: 36px; }
  .about-copy .profile-statement { min-height: 170px; }
  .wall-project-links { gap: 6px; padding-inline: 10px; }
}
@media (max-width:440px) {
  .production-cards { grid-template-columns: 1fr; }
  .production-cards li, .production-cards li:first-child, .production-cards li:nth-child(3) { padding: 23px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .production-cards li:last-child { border-bottom: 0; }
  .production-step { margin-bottom: 21px; }
  .production-cards h3 { margin-bottom: 12px; }
  .production-cards p { margin-bottom: 19px; }
  .wall-toolbar > span { font-size: 7px; }
}
@media (prefers-reduced-motion:reduce) {
  .drift-plane, .drift-track { will-change: auto; }
  .drift-tile:hover .drift-tile-inner { transform: none; }
}
.quick-facts dd { line-height: 1.7; }
.contact-details a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration-thickness: 2px; }
.contact-details a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.project-meta p { line-height: 1.8; }
@media (min-width:701px) {
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-featured { grid-row: auto; grid-column: auto; }
  .project-featured .project-image { aspect-ratio: 1.62; }
}
@media print {
  .hero-source, .about-wall, .production-evidence { display: none; }
  .production-section { background: white; }
  .production-heading, .production-cards { display: block; }
  .production-cards li { break-inside: avoid; }
  .about-scene { display: block; }
  .about-section { background: white; padding: 35px 28px; }
}
