/* Portfolio motion, image collection and service folios. */
.reading-progress { --progress: 0; position: fixed; z-index: 48; inset: 0 0 auto; height: 3px; background: #72e9b9; transform: scaleX(var(--progress)); transform-origin: left; pointer-events: none; }
.hero, .interior-intro, .detail-intro { position: relative; isolation: isolate; overflow: clip; }
.hero > .shell, .interior-intro > .shell, .detail-intro > .shell { position: relative; z-index: 1; }
.flow-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.flow-field::before, .flow-field::after { content: ""; position: absolute; width: 82%; height: 125%; right: -13%; top: -42%; border-radius: 50%; background: radial-gradient(ellipse at center, #3b9a784f 0, #1d554a30 33%, transparent 65%); transform: rotate(-28deg); }
.flow-field::after { right: 32%; top: 48%; width: 62%; height: 62%; background: radial-gradient(ellipse, #39917b31, transparent 68%); }
.flow-field canvas { display: block; width: 100%; height: 100%; mask-image: linear-gradient(90deg, #0007, #0005 29%, #000 72%); }
.hero-image { translate: var(--look-x, 0px) calc(var(--look-y, 0px) + var(--scroll-rise, 0px)); transition: translate .22s ease-out; }
.hero-foot { position: relative; }
.hero-utility { display: flex; align-items: center; gap: clamp(10px, 2.1vw, 38px); }
.hero-foot .motion-control { display: inline-flex; align-items: center; gap: 7px; border: 0; color: #cbe1d6; background: transparent; font-size: 12px; min-height: 44px; padding: 2px 5px; }
.motion-control::before { content: ""; width: 9px; height: 10px; border-inline: 3px solid var(--mint); }
.motion-control[aria-pressed=true]::before { height: 0; width: 0; border: 5px solid transparent; border-inline-start: 8px solid var(--mint); }
.drop-service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.drop-service-grid a:last-child { border: 0; }
.service-menu { width: min(465px, 90vw); max-height: min(74vh, 620px); overflow-y: auto; }
.service-menu .menu-all { color: var(--mint); font-weight: 650; }
@media (max-width: 780px) {
  .main-nav.is-open { max-height: calc(100dvh - 64px); overflow-y: auto; }
  .nav-services .service-menu { max-height: none; }
  .drop-service-grid a { font-size: 14px; }
}
@media (max-width: 480px) {
  .hero-foot { flex-wrap: wrap; }
  .hero-foot .local-clock { display: none; }
  .hero-utility { gap: 6px; }
  .hero-foot .motion-control, .hero-foot a { font-size: 11px; }
}
.reel { background: #101f1d; color: #edf6ef; padding: clamp(21px,3vw,44px) 0 clamp(23px,3.4vw,47px); overflow: hidden; }
.reel-layout { display: grid; align-items: center; grid-template-columns: minmax(132px, .48fr) minmax(0, 3fr); gap: clamp(18px,3vw,58px); }
.reel h2 { font-size: clamp(27px,2.8vw,44px); }
.reel-tools { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 13px; }
.reel-tools button, .archive-pagination button { min-height: 44px; min-width: 44px; border: 1px solid #476157; background: transparent; color: #e6f3e9; border-radius: 50%; line-height: 1; }
.reel-tools button:hover { background: #263d34; }
.reel-tools [data-reel-play] { padding: 0 4px; font-size: 12px; border: 0; border-radius: 3px; }
.reel-track { display: grid; grid-auto-flow: column; grid-auto-columns: max(23%, 148px); gap: clamp(12px,1.35vw,22px); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.reel-track::-webkit-scrollbar { display: none; }
.reel-card { min-width: 0; scroll-snap-align: start; padding: 3px; }
.reel-card a { display: block; }
.reel-stage { height: clamp(89px,8.8vw,149px); display: grid; place-items: center; overflow: hidden; background: var(--surface,#e7e9e1); border-radius: 4px; }
.reel-stage img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.reel-card figcaption { display: flex; justify-content: space-between; font-size: 12px; font-weight: 570; line-height: 1.3; padding: 7px 1px 1px; color: #d3e4d9; }
.reel-card figcaption span { color: var(--mint); }
.interior-intro::before, .detail-intro::before { content: ""; pointer-events: none; position: absolute; inset: -45% -4% -70% 28%; background: radial-gradient(ellipse closest-side, #36876439, transparent 75%); }
.interior-intro::after { content: ""; pointer-events: none; position: absolute; z-index: 0; width: min(65vw,1000px); height: min(65vw,1000px); top: 55%; right: -14%; border-radius: 49% 51% 42% 58%; border: 1px solid #83bfa136; box-shadow: 0 0 0 12px #80bd9f08,0 0 0 13px #80bd9f1b,0 0 0 32px #80bd9f08,0 0 0 33px #80bd9f1b,0 0 0 62px #80bd9f08,0 0 0 63px #80bd9f1b,0 0 0 112px #80bd9f08,0 0 0 113px #80bd9f1b; }
.service-intro { padding-block: clamp(45px,5.4vw,82px); }
.folio-mast { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(220px,.74fr); align-items: center; gap: clamp(26px,6vw,105px); }
.folio-mast h1 { font-size: clamp(48px,5.9vw,90px); max-width: 15ch; }
.folio-mast .lead-text { max-width: 48ch; }
.jump-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 23px; margin-top: 23px; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid #759186; color: #dff3e7; font-size: 15px; font-weight: 620; }
.jump-links a:hover { color: var(--mint); border-color: var(--mint); }
.folio-plate { justify-self: end; width: min(100%, 480px); margin: 0; }
.folio-plate a { display: grid; position: relative; aspect-ratio: 1.62; align-items: center; justify-items: center; isolation: isolate; padding: 11px; border-radius: 9px; background: linear-gradient(140deg,#30483d,#192a26 58%,#345748); box-shadow: 0 18px 55px #06110d70; transform: rotate(-2deg); }
.folio-plate a::before { content: ""; position: absolute; inset: 6px; border: 1px solid #c3e5d642; border-radius: 5px; pointer-events: none; }
.folio-plate img { width: 100%; height: 100%; object-fit: contain; min-height: 0; max-height: clamp(165px,20vw,290px); }
.folio-plate figcaption { display: flex; align-items: center; justify-content: space-between; color: #bfd5c8; margin: 14px 1px 0; font-size: 12px; }
.folio-plate figcaption span { color: #98baab; }
.work-head, .art-index-head, .scope-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px,3.5vw,48px); }
.work-head h2, .art-index-head h2, .scope-head h2 { max-width: 16ch; }
.work-head .inline-link { white-space: nowrap; }
.work-wall { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2.3vw,35px); }
.work-wall.single-work { grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); align-items: start; }
.work-tile { min-width: 0; margin: 0; }
.work-image, .index-image { position: relative; display: grid; place-items: center; aspect-ratio: 1.24; min-width: 0; border-radius: 6px; background: var(--surface,#dce5dc); overflow: hidden; isolation: isolate; }
.work-image { padding: clamp(7px,1.2vw,18px); }
.work-image img, .index-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform .36s cubic-bezier(.2,.72,.22,1); }
.work-image img.long-art, .index-image img.long-art { object-fit: cover; object-position: top; }
.enlarge-mark { position: absolute; display: grid; place-items: center; right: 10px; bottom: 10px; width: 32px; height: 32px; background: #11251bea; color: #fff; border-radius: 50%; font-size: 17px; border: 1px solid #cee6d64d; }
.work-tile figcaption { padding: 16px 1px 1px; }
.work-tile figcaption > span, .index-tile figcaption > span, .scope-kind, .sample-label, .viewer-count { display: block; color: var(--deep); font-size: 11px; font-weight: 680; letter-spacing: .09em; text-transform: uppercase; }
.work-tile h3 { font-size: clamp(24px,2.3vw,36px); margin-top: 8px; }
.work-tile figcaption p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 47ch; }
.work-tile .inline-link { margin-top: 3px; font-size: 14px; }

/* Individual service portfolios: notes beside the three artwork plates in each series. */
.service-studies {
  background: #14241f;
  color: #f0f5ec;
}
.service-studies .kicker { color: #a5e8c7; }
.studies-heading { margin-bottom: clamp(26px, 4.2vw, 64px); }
.studies-heading h2 { max-width: 20ch; }
.study-series {
  display: grid;
  grid-template-columns: minmax(175px, .79fr) minmax(0, 2.9fr);
  align-items: start;
  gap: 20px clamp(22px, 3.2vw, 56px);
  border-top: 1px solid #52695d;
  padding-block: clamp(24px, 3vw, 45px);
}
.study-series:last-child { padding-bottom: 0; }
.study-series-copy h3 { max-width: 17ch; font-size: clamp(26px, 2.4vw, 39px); }
.study-series-copy p { color: #c1d1c6; margin: 13px 0 0; max-width: 46ch; font-size: 15px; }
.study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.35vw, 23px);
}
.study-image {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.3;
  border-radius: 5px;
  background: var(--surface, #e6e9e4);
}
.study-image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.study-image--screen img { object-position: center top; }
.study-image--mount img {
  width: min(100%, var(--native-width));
  object-fit: contain;
}
.study-image .enlarge-mark { right: 8px; bottom: 8px; width: 29px; height: 29px; }
.study-print figcaption { padding-top: 13px; }
.study-print figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(17px, 1.4vw, 23px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.study-print figcaption p { color: #bdcfc3; font-size: 14px; line-height: 1.47; margin-top: 6px; }
.study-project { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; color: var(--mint); font-size: 14px; font-weight: 650; }
.study-project:hover { color: #fff; }
.service-studies :focus-visible { outline: 3px solid #a6ffd2; outline-offset: 3px; }
.study-specimen {
  grid-column: 2;
  color: #edf5ec;
  background: #20372d;
  border: 1px solid #456153;
  border-radius: 5px;
}
.study-specimen summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 9px 16px;
  font-weight: 630;
  cursor: pointer;
}
.study-specimen summary::-webkit-details-marker { display: none; }
.study-specimen summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 2px;
  border: solid var(--mint);
  border-width: 0 1.6px 1.6px 0;
  transform: translateY(-2px) rotate(45deg);
}
.study-specimen[open] summary::after { transform: translateY(2px) rotate(225deg); }
.study-specimen dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 14px 22px;
  margin: 0;
  border-top: 1px solid #456153;
  padding: 15px 16px 19px;
}
.study-specimen dt { color: #a3e9c7; font-size: 13px; font-weight: 650; }
.study-specimen dd { margin: 3px 0 0; font-size: 15px; line-height: 1.46; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html[data-motion=full] .study-image img { transition: transform .35s ease; }
  html[data-motion=full] .study-image:hover img { transform: scale(1.035); }
}
@media (max-width: 990px) {
  .study-series { grid-template-columns: minmax(0, 1fr); }
  .study-series-copy { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: start; gap: 25px; }
  .study-series-copy p { margin: 0; }
  .study-specimen { grid-column: 1; }
}
@media (max-width: 600px) {
  .study-series-copy { display: block; }
  .study-series-copy p { margin-top: 9px; }
  .study-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .study-print:first-child { grid-column: 1 / -1; }
  .study-print:first-child .study-image { aspect-ratio: 1.75; }
  .study-print:not(:first-child) .study-image { aspect-ratio: 1.12; }
}
@media (max-width: 340px) {
  .study-grid { grid-template-columns: minmax(0, 1fr); }
}
.switch-controls { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 17px; }
.switch-controls button { color: #234536; background: transparent; border: 1px solid #a2b8a9; border-radius: 100px; font-weight: 600; min-height: 44px; padding: 8px 17px; font-size: 14px; }
.switch-controls button[aria-pressed=true] { background: #193f32; border-color: #193f32; color: #f1fbf4; }
.example-desk { background: #e5f0e6; border: 1px solid #b9d1c1; border-radius: 8px; padding: clamp(22px,3.3vw,45px); }
.work-wall + .example-desk { margin-top: 32px; }
.example-desk h3 { margin: 9px 0 17px; font-size: clamp(26px,3vw,42px); }
.example-desk .switch-controls button { font-size: 13px; padding-inline: 12px; }
.sample-view { border-top: 1px solid #a8c4b2; padding-top: 17px; }
.sample-view h4 { color: #143f2d; font: 650 clamp(20px,2vw,29px)/1.14 var(--display); letter-spacing: -.03em; margin-bottom: 9px; }
.sample-view p { color: #2d4b3c; max-width: 65ch; }
.sample-view small { display: block; color: #475e52; margin-top: 12px; }
.service-scopes { background: #e4ede4; }
.scope-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; align-items: start; }
.scope-card { background: #fbfcf6; border: 1px solid #b8caba; border-radius: 8px; padding: clamp(20px,2vw,30px); }
.scope-card h4 { font: 620 clamp(22px,2.35vw,34px)/1.07 var(--display); letter-spacing: -.04em; }
.scope-kind { margin-bottom: 12px; }
.scope-card .pkg-price { margin: 14px 0 17px; font-size: clamp(29px,3.1vw,45px); }
.scope-card details { margin-top: 15px; }
.scope-card .scope-summary { font-size: 15px; color: #415448; min-height: 2.7em; }
.plan-family > h3 { margin-bottom: 17px; }
[data-switcher] [data-panel] + [data-panel]:not([hidden]) { margin-top: 15px; }
.art-index { background: #e9eee7; }
.art-index-head { align-items: center; }
.art-index-head > p { margin-bottom: 2px; max-width: 33ch; color: #445749; }
.art-index-head h2:focus { outline: none; }
.archive-controls { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }
.archive-fields { display: flex; gap: 12px; flex-wrap: wrap; }
.archive-fields label { display: grid; gap: 3px; color: #335040; font-size: 13px; font-weight: 650; }
.archive-fields select, .archive-fields input { max-width: 100%; width: 232px; min-height: 45px; border: 1px solid #a8bcb0; border-radius: 4px; color: #14251b; background: #fafcf7; padding: 7px 11px; font-size: 15px; font-weight: 450; }
.archive-range { font-size: 13px; color: #405848; font-variant-numeric: tabular-nums; }
.collection-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(20px,2.6vw,38px) clamp(12px,1.65vw,26px); }
.index-image { padding: 6px; border: 1px solid #b9c9bb; background: #dfe5dc; aspect-ratio: 1.3; }
.index-tile figcaption { padding: 9px 1px 0; }
.index-tile figcaption strong { display: block; margin-top: 4px; font: 620 clamp(17px,1.45vw,23px)/1.15 var(--display); overflow-wrap: anywhere; letter-spacing: -.02em; }
.index-tile figcaption > span { font-size: 10px; }
.archive-pagination { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.archive-pagination button { padding: 0 18px; border-color: #799685; border-radius: 40px; color: #193a29; font-size: 14px; }
.archive-pagination button:hover:enabled { background: #cddcce; }
.archive-pagination button:disabled { opacity: .45; }
.archive-empty { padding: 35px 0; }
.archive-empty button { border: 0; color: var(--deep); background: transparent; text-decoration: underline; min-height: 44px; }
.archive-fallback { margin-top: 16px; }
.archive-fallback a { text-decoration: underline; }
.studio-viewer { width: min(970px,calc(100vw - 34px)); max-height: calc(100dvh - 30px); overflow: auto; margin: auto; border: 1px solid #4b6456; border-radius: 10px; background: #14221e; color: #f0f5ef; padding: 0; box-shadow: 0 32px 95px #03090785; }
.studio-viewer::backdrop { background: #05120ee6; }
body:has(.studio-viewer[open]) { overflow: hidden; }
.viewer-toolbar, .viewer-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px clamp(15px,2vw,29px); }
.viewer-count { color: #acceba; font-variant-numeric: tabular-nums; }
.viewer-action, .viewer-arrow, .viewer-original { display: inline-flex; align-items: center; justify-content: center; color: #ecf6ee; background: transparent; padding: 6px 12px; border: 1px solid #648372; border-radius: 40px; min-height: 44px; font-size: 14px; font-weight: 570; }
.viewer-arrow { min-width: 44px; }
.viewer-action:hover, .viewer-arrow:hover, .viewer-original:hover { color: #b9ffdc; background: #26392d; }
.viewer-frame { display: grid; place-items: center; background: #0b1713; height: min(58dvh,625px); padding: 10px; }
.viewer-frame img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.viewer-caption { justify-content: flex-start; padding-block: 14px; }
.viewer-caption > div:first-child { flex: 1; }
.viewer-caption h2 { font-size: clamp(21px,3.2vw,39px); letter-spacing: -.035em; }
.viewer-note { color: #bdd2c2; font-size: 14px; margin-top: 4px; }
.viewer-nav { display: flex; gap: 5px; }
@media (hover: hover) and (pointer: fine) {
  html[data-motion=full] :is(.work-image,.index-image,.reel-stage):hover img { transform: scale(1.035); }
  html[data-motion=full] .folio-plate a:hover { rotate: 2deg; }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion=full] .flow-field::before { animation: field-drift 12s ease-in-out infinite alternate; }
  html[data-motion=full] .flow-field::after { animation: field-drift 16s -7s ease-in-out infinite alternate-reverse; }
  html[data-motion=full] .hero-image { animation: sculpture-float 6.7s ease-in-out infinite; }
  html[data-motion=full] .hero-copy > * { animation: copy-arrive .63s cubic-bezier(.16,.74,.25,1) both; }
  html[data-motion=full] .hero-copy > h1 { animation-delay: 40ms; }
  html[data-motion=full] .hero-copy > p:not(.kicker) { animation-delay: 85ms; }
  html[data-motion=full] .hero-copy > .hero-actions { animation-delay: 125ms; }
  html[data-motion=full] .hero-foot a svg { animation: down-cue 2.9s ease-in-out infinite; }
  html[data-motion=full] .interior-intro::after { animation: contour 17s ease-in-out infinite alternate; }
  html[data-motion=full] .folio-plate a { animation: plate-float 7.5s ease-in-out infinite; transition: rotate .25s; }
  html[data-motion=full] .enter-item { transition: opacity .52s ease var(--enter-delay, 0s), transform .57s cubic-bezier(.2,.75,.24,1) var(--enter-delay,0s); }
  html[data-motion=full] .enter-pending:not(:focus-within) { opacity: 0; transform: translateY(20px); }
  html[data-motion=full] :is(.collection-grid .index-tile,.studio-viewer[open],.viewer-change,.sample-view:not([hidden]),.plan-family:not([hidden])) { animation: image-arrive .32s ease-out both; }
}
@keyframes field-drift { from { transform: translate(-3%,-5%) rotate(-24deg); } to { transform: translate(10%,7%) rotate(-11deg) scale(1.14); } }
@keyframes sculpture-float { 0%,100% { transform: translateY(3px) rotate(-.6deg) scale(.988); } 50% { transform: translateY(-9px) rotate(.65deg) scale(1.012); } }
@keyframes copy-arrive { from { opacity: .25; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes down-cue { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes contour { to { transform: translate(-3%, -4%) rotate(15deg); } }
@keyframes plate-float { 0%,100% { transform: translateY(1px) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(-.6deg); } }
@keyframes image-arrive { from { opacity: .4; } to { opacity: 1; } }
html[data-motion=reduced] .hero-image { translate: none; }
html[data-motion=reduced] .reading-progress { display: none; }
@media (max-width: 950px) {
  .scope-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .collection-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .folio-mast { grid-template-columns: minmax(0,1.18fr) minmax(190px,.72fr); gap: 24px; }
}
@media (max-width: 700px) {
  .reel-layout { grid-template-columns: 1fr; gap: 10px; }
  .reel-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .reel-tools { margin: 0; }
  .reel-track { grid-auto-columns: max(36%,145px); gap: 10px; }
  .work-head, .art-index-head, .scope-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .work-wall { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-wall.single-work { grid-template-columns: 1fr; }
  .work-wall.single-work .work-image { aspect-ratio: 1.65; }
  .work-image { aspect-ratio: 1.1; }
  .archive-controls { flex-wrap: wrap; }
  .archive-fields { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .archive-fields label { min-width: 0; }
  .archive-fields input, .archive-fields select { width: 100%; min-width: 0; }
  .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .viewer-caption { flex-wrap: wrap; gap: 8px; }
  .viewer-caption > div:first-child { flex: 0 0 100%; }
}
@media (max-width: 580px) {
  .folio-mast { grid-template-columns: 1fr; }
  .folio-plate { width: min(100%, 350px); justify-self: center; }
  .folio-plate a { aspect-ratio: 1.82; }
  .folio-mast h1 { font-size: clamp(43px,10.8vw,61px); }
  .folio-plate img { max-height: 165px; }
  .scope-grid { grid-template-columns: minmax(0,1fr); }
  .work-wall { grid-template-columns: 1fr; }
  .work-image { aspect-ratio: 1.5; }
  .jump-links { gap: 6px 15px; }
  .reel-stage { height: 87px; }
  .archive-pagination { justify-content: flex-start; }
  .index-image .enlarge-mark { width: 25px; height: 25px; right: 5px; bottom: 5px; font-size: 14px; }
}
@media print {
  .enter-pending { opacity: 1 !important; transform: none !important; }
  .reading-progress,.flow-field,.reel-tools { display: none; }
}
.index-image { background: var(--surface,#dfe5dc); }
.reel-stage { background: var(--surface,#dfe5dc); }
.index-stack { display: flex; align-items: center; justify-content: center; position: relative; isolation: isolate; min-height: clamp(135px,19vw,300px); }
.index-stack > div { position: absolute; width: 43%; aspect-ratio: .85; border: 4px solid #c3d8c8; border-radius: 4px; overflow: hidden; background: #d3e2d5; box-shadow: 2px 10px 25px #0818108c; }
.index-stack img { width: 100%; height: 100%; object-fit: cover; }
.index-stack > :first-child { transform: translateX(-65%) rotate(-12deg) scale(.87); }
.index-stack > :nth-child(2) { transform: translateX(65%) rotate(11deg) scale(.92); }
.index-stack > :last-child { transform: rotate(-3deg); }
.featured-projects-title { margin-bottom: 25px; }
.service-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 9px 17px; border: 1px solid #41624e; border-radius: 8px; background: #14251ecc; gap: 0 17px; }
.service-directory a { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 46px; color: #e5f2e6; border-bottom: 1px solid #3a5142; font-size: 14px; line-height: 1.28; }
.service-directory a span { color: var(--mint); }
.service-directory a:hover { color: var(--mint); }
.service-directory a:nth-last-of-type(-n+2) { border-bottom: 0; }
.example-seo .sample-view { background: #f5f9f5; border: 1px solid #c4d6c9; border-radius: 8px; padding: 18px; }
.example-seo .sample-view h4 { color: #25568b; }
.example-creative .sample-view small { display: inline-block; border-radius: 4px; padding: 6px 12px; background: #1d4734; color: #f2f8ed; }
.example-ai-solutions .sample-view p { background: #f6faf3; padding: 13px 17px; border-radius: 0 13px 13px 13px; border: 1px solid #b4cbb6; }
@media (prefers-reduced-motion: no-preference) {
  html[data-motion=full] .index-stack > :last-child { animation: plate-float 7.5s ease-in-out infinite; }
}
@media (max-width: 800px) {
  .service-index { grid-template-columns: 1fr; }
  .service-directory { width: 100%; }
}
@media (max-width: 580px) {
  .index-stack { min-height: 157px; }
  .index-stack > div { width: 110px; }
}
.folio-icon { display: inline-block; width: 15px; height: 15px; flex: none; vertical-align: -.13em; }
.jump-links .folio-icon, .service-menu .folio-icon { margin-left: 5px; }
.reel-card figcaption .folio-icon, .service-directory .folio-icon { color: var(--mint); }
.scope-card details[open] .folio-icon { transform: rotate(180deg); }
.enlarge-mark:empty::before { content: ""; position: absolute; width: 10px; height: 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.enlarge-mark:empty::after { content: ""; position: absolute; width: 13px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) {
  html[data-motion=full] { scroll-behavior: smooth; }
}

/* The viewport stays still. One translated row repeats at the exact width of its originals. */
.reel-viewport {
  position: relative;
  min-width: 0;
}
.is-looping .reel-viewport {
  overflow: clip;
  touch-action: pan-y pinch-zoom;
}
.is-looping .reel-track {
  position: relative;
  display: flex;
  width: max-content;
  gap: clamp(12px,1.35vw,22px);
  overflow: visible;
  scroll-snap-type: none;
}
.is-looping .reel-card {
  width: clamp(155px,17vw,258px);
  flex: none;
}
.is-looping .reel-viewport a,
.is-looping .reel-viewport img {
  user-select: none;
  -webkit-user-drag: none;
}
.is-looping .reel-link:focus-visible { outline-offset: -3px; }
.reel-viewport.is-dragging, .reel-viewport.is-dragging a { cursor: grabbing; }
.homepage .reel h2 { white-space: nowrap; font-size: clamp(24px,2.45vw,40px); }
.homepage .reel-layout { grid-template-columns: minmax(154px,.63fr) minmax(0,3fr); }

.scroll-section { position: relative; }
.scroll-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: max(var(--pad), calc((100% - 1380px) / 2));
  width: min(calc(100% - 2 * var(--pad)), 1380px);
  height: 2px;
  background: linear-gradient(to right, #4b906f, #a8d8bb 61%, transparent);
  transform-origin: left;
  pointer-events: none;
}
.scroll-section.dark::before { background: linear-gradient(to right, #91efbf, #346f56 69%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  html[data-motion=full] .scroll-section::before { transform: scaleX(var(--section-sweep,1)); }
  html[data-motion=full] .scroll-section :is(.section-head,.section-title,.work-head,.art-index-head,.scope-head) h2,
  html[data-motion=full] .scroll-section.contact-band h2 { translate: var(--heading-offset,0px) 0; }
  html[data-motion=full] .enter-pending:not(:focus-within) {
    opacity: 0;
    transform: translateY(var(--enter-from,28px));
  }
  html[data-motion=full] [data-scroll-photo] > img {
    transform: translateY(var(--photo-shift,0%)) scale(1.095);
  }
}

.home-work-grid .project-stage { grid-template: minmax(0,1fr) / minmax(0,1fr); }
.home-work-grid .art-mount { min-width: 0; min-height: 0; }
.homepage .home-work-grid {
  gap: clamp(24px,3.3vw,50px) clamp(14px,2.1vw,32px);
}
@media (min-width: 901px) {
  .home-work-grid { grid-template-columns: repeat(12,minmax(0,1fr)); }
  .home-work-grid > .project-card { grid-column: span 4; min-width: 0; }
  [data-active-filter="all"] .home-work-grid > :is(:nth-child(1),:nth-child(7)) { grid-column: span 7; }
  [data-active-filter="all"] .home-work-grid > :is(:nth-child(2),:nth-child(6)) { grid-column: span 5; }
  .home-work-grid .project-stage { height: clamp(189px,17.5vw,277px); aspect-ratio: auto; }
  [data-active-filter="all"] .home-work-grid > :is(:nth-child(1),:nth-child(2),:nth-child(6),:nth-child(7)) .project-stage {
    height: clamp(257px,24vw,378px);
  }
}
.services-images {
  position: relative;
  width: min(100%,450px);
  aspect-ratio: 1.42;
  margin-top: clamp(18px,3.2vw,48px);
  isolation: isolate;
}
.services-shot {
  position: absolute;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #71917d;
  background: #1b3027;
  box-shadow: 0 12px 27px #09171066;
  color: #def0e4;
}
.services-shot [data-scroll-photo] { display: block; overflow: hidden; min-height: 0; border-radius: 2px; }
.services-shot img { width: 100%; height: 100%; object-fit: cover; }
.services-shot .shot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 7px 5px 3px;
  font-size: 12px;
  line-height: 1.2;
  color: #e2f2e7;
}
.workshop-shot {
  left: 1%;
  top: 0;
  width: 53%;
  height: 89%;
  rotate: -3deg;
}
.workshop-shot img { object-position: 52% 44%; }
.screen-shot {
  right: 1%;
  bottom: 0;
  width: 53%;
  height: 62%;
  rotate: 4deg;
  background: #d9e5df;
  border-color: #99b5a4;
}
.screen-shot img { object-fit: contain; }
.screen-shot .shot-caption { color: #173d2a; }
.services-shot:is(:hover,:focus-visible) { z-index: 2; }

.studio-process { background: #eaf0e7; }
.story-book { --chapter-line: #afc7b7; margin-top: clamp(18px,3vw,48px); }
.studio-chapters { display: grid; gap: 24px; }
.studio-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(20px,4vw,65px);
}
.chapter-figure {
  margin: 0;
  padding: clamp(9px,1.2vw,18px);
  border: 1px solid #b4cab8;
  border-radius: 7px;
  background: #f9fbf5;
  box-shadow: 0 12px 26px #1e372518;
}
.chapter-photo { aspect-ratio: 1.35; overflow: hidden; background: #d4dfd3; }
.chapter-photo img { height: 100%; width: 100%; object-fit: cover; object-position: var(--crop,center); }
.chapter-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 3px 1px;
  color: #355641;
  font-size: 13px;
  font-weight: 600;
}
.chapter-figure figcaption > :last-child { color: #57705e; font-variant-numeric: tabular-nums; }
.chapter-copy { padding-block: 12px; }
.chapter-copy h3 { font-size: clamp(28px,3vw,51px); max-width: 17ch; }
.chapter-copy > p { max-width: 44ch; margin-top: 15px; color: #405548; }
.chapter-copy .chapter-output { border-top: 1px solid var(--chapter-line); padding-top: 13px; margin-top: 23px; font-weight: 630; font-size: 15px; color: #1c4430; }
.chapter-output > span { display: block; color: #526d59; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.is-staged.story-book {
  display: grid;
  grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr);
  align-items: start;
  gap: clamp(48px,8vw,135px);
}
.is-staged .chapter-stage {
  position: sticky;
  top: clamp(28px,12vh,115px);
  width: 100%;
  height: clamp(300px, min(34vw,65vh),540px);
}
.chapter-stage .chapter-figure {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.chapter-stage .chapter-figure.is-current {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.chapter-stage .chapter-photo { min-height: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.is-staged .studio-chapters { display: flex; flex-direction: column; gap: 0; }
.is-staged .studio-chapter {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(250px,41vh,425px);
  border-top: 1px solid var(--chapter-line);
}
.is-staged .studio-chapter:last-child { border-bottom: 1px solid var(--chapter-line); }
.is-staged .studio-chapter::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #327c52;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .44s;
}
.is-staged .studio-chapter.is-current::before { transform: scaleX(1); }

@media (max-width: 900px) {
  .homepage .home-work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .services-images { max-width: 325px; }
}
@media (max-width: 700px) {
  .homepage .reel-layout { grid-template-columns: minmax(0,1fr); }
  .is-looping .reel-card { width: clamp(145px,40vw,205px); }
  .services-images { width: min(96%,390px); margin: 16px auto 8px; }
  .studio-chapter { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .studio-chapters { gap: 32px; }
  .chapter-photo { aspect-ratio: 1.65; }
  .chapter-copy .chapter-output { margin-top: 13px; }
}
@media (max-width: 580px) {
  .homepage .home-work-grid { grid-template-columns: minmax(0,1fr); }
}
@media print {
  .reel-card[data-reel-copy],.chapter-stage { display: none !important; }
  .is-staged.story-book { display: block; }
  .is-staged .studio-chapter { min-height: 0; break-inside: avoid; }
  .studio-chapter .chapter-copy { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion=full] [data-work-parallax] .art-mount {
    translate: 0 var(--photo-shift,0%);
  }
}
