/* Reserve the menu, caption/pager and scroll clearance inside a short viewport. */
.aw-site {
  --aw-detail-gutter: clamp(16px, 4.5vw, 96px);
  --aw-media-room: max(280px, calc(100vh - 160px));
}
@supports (height: 100svh) {
  .aw-site { --aw-media-room: max(280px, calc(100svh - 160px)); }
}
.aw-site #work .aw-nike-gallery {
  width: min(100%, 302px, calc(var(--aw-media-room) * 9 / 19.4));
  scroll-margin-block-start: 88px;
}
.aw-site #films .aw-reels {
  --aw-reel-half: min(38%, clamp(110px, 17.5vw, 190px), calc(var(--aw-media-room) * 9 / 32));
  --aw-reel-gap: clamp(12px, 2vw, 30px);
  gap: var(--aw-reel-gap);
  scroll-margin-block-start: 88px;
}
.aw-site #films .aw-reel { flex-basis: calc(var(--aw-reel-half) * 2); min-width: 0; }
.aw-site #films .aw-reels::before,
.aw-site #films .aw-reels::after {
  flex-basis: max(0px, calc(50% - var(--aw-reel-half) - var(--aw-reel-gap)));
}
@media (max-width: 600px) {
  .aw-site #work .aw-nike-gallery {
    width: min(83%, 295px, calc(var(--aw-media-room) * 9 / 19.4));
  }
}
.aw-site :is(.aw-studio-more,.aw-process-details) > summary .aw-round-arrow {
  background: linear-gradient(165deg, #a8edf1 0%, #81dce5 53%, #67c2cb 100%);
  box-shadow: inset 0 1px 0 #e5ffffc9, inset 0 -2px 1px #347f87a8, 0 2px 1px #102f3680;
}
.aw-site .aw-process-details > summary .aw-round-arrow { margin-block-start: 14px; }
.aw-site :is(.aw-studio-more,.aw-process-details) > summary:focus-visible {
  outline: 2px solid var(--aw-sky);
  outline-offset: 4px;
}
@keyframes aw-disclosure-cue {
  50% { box-shadow: inset 0 1px 0 #e5ffffc9, inset 0 -2px 1px #347f87a8, 0 2px 1px #102f3680, 0 0 9px 2px #81dce546; }
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="paused"]) .aw-site .aw-disclosure-seen .aw-round-arrow {
    animation: aw-disclosure-cue 600ms ease-out 1;
  }
  html:not([data-motion="paused"]) .aw-site :is(.aw-studio-more,.aw-process-details) > summary .aw-round-arrow {
    transition: translate 150ms ease-out;
  }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html:not([data-motion="paused"]) .aw-site :is(.aw-studio-more,.aw-process-details) > summary:hover .aw-round-arrow { translate: 0 -1px; }
  html:not([data-motion="paused"]) .aw-site :is(.aw-studio-more,.aw-process-details) > summary:active .aw-round-arrow { translate: 0 1px; }
}

.aw-site .aw-footer { padding-block: clamp(40px, 4vw, 56px) 18px; }
.aw-site .aw-footer > .aw-container {
  max-width: none;
  width: calc(100% - var(--aw-detail-gutter) * 2);
  padding: 0;
  margin-inline: auto;
}
.aw-site .aw-footer .aw-footer__identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: 18px clamp(20px, 4vw, 52px);
  padding: 0;
  border-block-start: 0;
  margin: 0;
  text-align: center;
}
.aw-site .aw-footer .aw-footer__profile {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
}
.aw-site .aw-footer .aw-footer__resources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px clamp(18px, 4vw, 52px);
}
.aw-site .aw-footer .aw-footer__brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--aw-text);
  text-decoration: none;
}
.aw-site .aw-footer .aw-footer__brand img { width: 38px; height: 38px; object-fit: contain; filter:url(#aw-logo-remove-black-matte); }
.aw-site .aw-footer .aw-footer__name { font: 620 clamp(25px, 2.3vw, 32px)/1.35 var(--font-display); }
.aw-site .aw-footer .aw-footer__profile > p { margin: 6px 0; }
.aw-site .aw-footer .aw-socials { justify-content: center; margin: 4px auto 0; }
.aw-site .aw-footer .aw-footer__sections {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-items: center;
  column-gap: clamp(10px, 2vw, 28px);
}
.aw-site .aw-footer__sections a, .aw-site .aw-footer .aw-resume-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  color: var(--aw-text);
}
.aw-site .aw-footer__sections a:is(:hover,:focus-visible),
.aw-site .aw-footer .aw-resume-links a:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.aw-site .aw-footer .aw-resume-links { justify-items: center; justify-self: center; align-self: center; gap: 0; }
.aw-site .aw-footer .aw-resume-links > div { gap: 4px; }
.aw-site .aw-footer .aw-resume-links > div a { font-weight: 600; }
.aw-site .aw-footer .aw-resume-links a[hreflang="en"]:not(.aw-footer__resume) { color: var(--aw-sky); }
.aw-site .aw-footer .aw-footer__resume {
  padding-inline: 15px;
  border: 1px solid var(--aw-glass-rim);
  border-radius: 11px;
  background: var(--aw-glass-background);
  box-shadow: var(--aw-glass-shadow);
}
.aw-site .aw-footer .aw-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 14px 0;
}
@media (max-width: 720px) {
  .aw-site .aw-footer { padding-block: 26px 20px; }
  .aw-site .aw-footer .aw-footer__identity { row-gap: 14px; }
  .aw-site .aw-footer .aw-footer__inner { padding-inline: 40px; gap: 8px; }
}
@media (forced-colors:active) {
  .aw-site :is(.aw-studio-more,.aw-process-details) > summary .aw-round-arrow { border: 1px solid ButtonText; }
  .aw-site .aw-footer .aw-footer__brand img { filter:none; }
}
