@font-face {
  font-family: Portfolio Nimbus;
  src: url('/fonts/NimbusSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Portfolio Nimbus;
  src: url('/fonts/NimbusSans-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
.ap-page, .ap-home {
  --ap-gold: #e6c683;
  --ap-text: #f2ede2;
  --ap-muted: #bdb5a7;
  --ap-surface: #151413;
  --ap-line: #ffffff26;
  color: var(--ap-text);
}
.ap-page { margin: 0; background: #10100f; font: 400 16px/1.55 'Portfolio Nimbus', Arial, sans-serif; }
.ap-page .header, .ap-page .footer, .ap-mobile-dialog { font-family: "Aurevix Sans", Arial, sans-serif; }
.ap-page .header a[aria-current] { color: var(--gold); }
.ap-main { padding-top: var(--ap-header-height, 96px); }
.ap-page .ap-skip:focus { z-index: 60; }
.ap-mobile-dialog { position: fixed; inset: 0; margin: auto; max-height: 90vh; overflow-y: auto; width: min(460px, calc(100% - 28px)); border-radius: 12px; }
.ap-mobile-dialog::backdrop { background: #000b; backdrop-filter: blur(9px); }
.ap-mobile-dialog form { position: absolute; top: 10px; right: 14px; }
.ap-mobile-dialog form button { font-size: 1.65rem; padding: 0 6px; color: var(--gold); }
.ap-mobile-dialog h2 { font-size: 1.5rem; padding-right: 28px; }
.ap-mobile-dialog p { color: var(--ap-muted); margin-top: 10px; }
@media (max-width: 980px) { .ap-main { padding-top: var(--ap-header-height, 78px); } }
@media (max-width: 650px) { .ap-main { padding-top: var(--ap-header-height, 76px); } }
.ap-page *, .ap-page *::before, .ap-page *::after { box-sizing: border-box; }
.ap-page [hidden] { display: none !important; }
.ap-page a, .ap-home a { color: inherit; text-decoration: none; }
.ap-page :focus-visible, .ap-home :focus-visible { outline: 2px solid var(--ap-gold); outline-offset: 4px; }
.ap-page h1, .ap-page h2, .ap-page h3, .ap-page p, .ap-page figure { margin: 0; }
.ap-page h1, .ap-page h2, .ap-home h2 { font-weight: 400; letter-spacing: -.052em; line-height: 1.02; }
.ap-page img, .ap-home img { display: block; max-width: 100%; }
.ap-wrap { width: min(100% - 11vw, 1320px); margin-inline: auto; }
.ap-skip { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 18px; background: #26221b; transform: translateY(-200%); }
.ap-skip:focus { transform: none; }
.ap-header { border-bottom: 1px solid var(--ap-line); }
.ap-header .ap-wrap, .ap-footer .ap-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 17px; }
.ap-brand { display: inline-flex; flex: none; width: 136px; }
.ap-brand img { width: 100%; height: auto; }
.ap-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 2vw, 28px); font-size: .9rem; }
.ap-nav a[aria-current], .ap-nav a:hover, .ap-back:hover { color: var(--ap-gold); }
.ap-hero { background: radial-gradient(ellipse at 95% 0%, #4c39202e, transparent 58%), #12110f; border-bottom: 1px solid var(--ap-line); }
.ap-lead { padding-block: clamp(56px, 8vw, 110px); }
.ap-lead h1 { font-size: clamp(57px, 8.4vw, 124px); max-width: 13ch; }
.ap-lead p { max-width: 45ch; margin-top: 22px; color: var(--ap-muted); font-size: clamp(17px, 2vw, 23px); }
.ap-kicker { display: block; color: var(--ap-gold); text-transform: uppercase; letter-spacing: .11em; font-size: .82rem; margin-bottom: 14px; }
.ap-title-grid { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: clamp(25px, 6vw, 90px); align-items: center; }
.ap-lead-media { position: relative; display: block; padding: clamp(12px, 2vw, 26px); border: 1px solid var(--ap-line); background: #1c1915; }
.ap-lead-media img { width: 100%; aspect-ratio: 1.59; object-fit: cover; object-position: top; }
.ap-lead-media span { display: flex; justify-content: space-between; gap: 14px; padding-top: 12px; color: var(--ap-gold); }
.ap-catalogue, .ap-section { padding-block: clamp(48px, 6vw, 84px); }
.ap-section + .ap-section { border-top: 1px solid var(--ap-line); }
.ap-page .ap-section h2 { font-size: clamp(32px, 5vw, 63px); }
.ap-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin: 20px 0 22px; }
.ap-tools label { display: grid; gap: 5px; min-width: min(100%, 210px); color: var(--ap-muted); }
.ap-tools label:first-child { flex: 1; max-width: 380px; }
.ap-tools input, .ap-tools select { min-height: 46px; border: 1px solid var(--ap-line); border-radius: 3px; padding: 9px 12px; background: #191815; color: var(--ap-text); font: inherit; }
.ap-tools select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23e6c683' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.ap-count { min-height: 24px; color: var(--ap-muted); margin-bottom: 17px; }
.ap-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.ap-card { display: flex; flex-direction: column; min-width: 0; height: 100%; border: 1px solid var(--ap-line); background: var(--ap-surface); transition: border-color .18s; }
.ap-card:hover { border-color: #bd9c61; }
.ap-card-media { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #26201a; color: var(--ap-gold); }
.ap-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .25s; }
.ap-card:hover img { transform: scale(1.025); }
.ap-card-body { flex: 1; display: grid; gap: 8px; padding: clamp(15px, 2vw, 23px); }
.ap-card-body .ap-kicker { margin: 0; }
.ap-card h3, .ap-home .ap-card h3 { margin: 0; font-size: clamp(21px, 2.3vw, 31px); line-height: 1.05; letter-spacing: -.035em; font-weight: 400; }
.ap-card p { margin: 0; color: var(--ap-muted); font-size: .96rem; }
.ap-card-go { align-self: end; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--ap-gold); margin-top: 8px; font-size: .9rem; }
.ap-card-services { display: flex; flex-wrap: wrap; align-items: start; gap: 5px 10px; color: var(--ap-gold); font-size: .88rem; line-height: 1.4; }
.ap-card-services span + span { padding-left: 10px; border-left: 1px solid var(--ap-line); }
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid #b89a60; background: #221c13; padding: 11px 18px; border-radius: 3px; min-height: 46px; color: var(--ap-gold) !important; }
.ap-btn:hover { border-color: #f3d6a0; background: #2c251a; }
.ap-home .ap-home-top { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 32px; }
.ap-home .ap-home-top h2 { margin: 0; }
.ap-home .ap-card { height: auto; }
.ap-home .ap-card-media img { min-width: 100%; }
.ap-home .ap-home-list { margin-top: 20px; }
.ap-back { display: inline-block; margin-bottom: 17px; font-size: .92rem; color: var(--ap-muted) !important; }
.ap-case-lead { padding-block: clamp(34px, 4.2vw, 59px); }
.ap-case-lead h1 { font-size: clamp(52px, 7.4vw, 102px); overflow-wrap: anywhere; }
.ap-case-lead .ap-summary { font-size: clamp(19px, 2.6vw, 27px); margin-block: 17px 21px; max-width: 43ch; color: var(--ap-muted); }
.ap-case-lead .ap-notice { max-width: 65ch; color: var(--ap-muted); margin-top: 17px; }
.ap-device-gallery { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(13px, 2.5vw, 35px); align-items: end; margin-top: 24px; }
.ap-device { grid-column: span 3; min-width: 0; }
.ap-device[data-device='desktop'] { grid-column: span 6; }
.ap-device-gallery[data-single='true'] .ap-device { grid-column: span 9; }
.ap-device img { width: 100%; height: auto; border-radius: 3px; }
.ap-frame { display: block; padding: 7px; border: 1px solid #8f784d; background: #221e17; border-radius: 14px; box-shadow: 0 14px 35px #0005; }
.ap-device[data-device='mobile'] .ap-frame { max-width: 190px; }
.ap-device figcaption, .ap-feature figcaption { margin-top: 10px; color: var(--ap-muted); font-size: .95rem; }
.ap-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 6vw, 78px); }
.ap-two h2 { margin-bottom: 12px; }
.ap-two p, .ap-features { color: var(--ap-muted); font-size: clamp(16px, 1.6vw, 20px); }
.ap-features { margin: 14px 0 0; padding-left: 21px; }
.ap-features li + li { margin-top: 6px; }
.ap-feature { margin-top: 24px !important; max-width: 950px; }
.ap-feature img { border: 1px solid var(--ap-line); width: 100%; height: auto; }
.ap-related { padding-block: 32px; border-top: 1px solid var(--ap-line); }
.ap-related .ap-btn { margin-right: 10px; margin-bottom: 8px; }
.ap-footer { border-top: 1px solid var(--ap-line); color: var(--ap-muted); font-size: .86rem; }
.ap-portfolio-intro { padding-block: clamp(26px, 3vw, 44px); }
.ap-portfolio-intro > h1 { font-size: clamp(52px, 6vw, 86px); }
.ap-portfolio-intro > p { margin-top: 14px; color: var(--ap-muted); font-size: clamp(17px, 1.5vw, 21px); max-width: 72ch; }
.ap-showcase { margin-top: 25px; border: 1px solid var(--ap-line); border-radius: 8px; overflow: hidden; background: #1a1713; }
.ap-showcase-stage { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 95% 0%, #624f2e40, transparent 75%), #171513; }
.ap-showcase-slide { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(18px, 3vw, 44px); align-items: center; min-height: 318px; padding: clamp(20px, 2.5vw, 34px); }
.ap-showcase-exiting { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.ap-showcase-copy { min-width: 0; }
.ap-showcase-copy h2 { font-size: clamp(35px, 4.3vw, 60px); }
.ap-showcase-copy p { margin-block: 14px 20px; max-width: 35ch; color: var(--ap-muted); font-size: clamp(16px, 1.4vw, 19px); }
.ap-showcase-screen { display: grid; align-items: center; justify-items: center; min-width: 0; padding: 9px; border: 1px solid #b8985d66; border-radius: 6px; background: #0d0d0c; }
.ap-showcase-screen img { width: 100%; height: auto; max-height: 300px; object-fit: contain; border-radius: 2px; }
.ap-showcase-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--ap-line); }
.ap-showcase-select, .ap-showcase-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.ap-showcase-controls button, .ap-filter-tabs button { cursor: pointer; font: inherit; font-size: .9rem; border: 1px solid transparent; border-radius: 4px; padding: 8px 11px; background: transparent; color: var(--ap-muted); min-height: 40px; }
.ap-showcase-controls button:hover, .ap-filter-tabs button:hover { color: var(--ap-text); background: #ffffff09; }
.ap-showcase-controls button[aria-pressed='true'] { color: var(--ap-gold); border-color: #b8985d66; background: #b8985d13; }
.ap-showcase-actions button { padding-inline: 8px; }
.ap-filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--ap-line); }
.ap-filter-tabs button { border-color: var(--ap-line); padding: 10px 16px; }
.ap-filter-tabs button[aria-pressed='true'] { color: #181510; background: var(--ap-gold); border-color: var(--ap-gold); }
.ap-services { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 22px; padding: 0; }
.ap-services a { display: block; color: var(--ap-gold); border: 1px solid #b8985d55; border-radius: 4px; padding: 6px 12px; font-size: .9rem; }
.ap-services a:hover { background: #b8985d15; }
.ap-story-intro p, .ap-design p { max-width: 66ch; margin-top: 19px; color: var(--ap-muted); font-size: clamp(17px, 1.7vw, 22px); }
.ap-challenges { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 65px); margin-top: 28px; }
.ap-challenges article { border-top: 1px solid #b8985d66; padding-top: 19px; }
.ap-challenges h3 { font-size: clamp(22px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -.025em; font-weight: 400; margin-bottom: 13px; }
.ap-challenges p, .ap-platforms p, .ap-social-copy p { color: var(--ap-muted); font-size: clamp(16px, 1.5vw, 19px); }
.ap-platforms { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 32px; }
.ap-social-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 22px; }
.ap-social-gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.ap-social-gallery img { width: 100%; height: auto; border: 1px solid var(--ap-line); }
.ap-social-gallery figcaption { margin-top: 8px; color: var(--ap-muted); font-size: .9rem; }
@media(max-width: 980px) { .ap-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } .ap-title-grid { gap: 24px; } }
@media(max-width: 680px) {
  .ap-wrap { width: calc(100% - 34px); }
  .ap-title-grid, .ap-two { grid-template-columns: 1fr; }
  .ap-showcase-slide { grid-template-columns: 1fr; padding: 21px 16px; gap: 22px; min-height: 0; }
  .ap-showcase-copy h2 { font-size: 40px; }
  .ap-showcase-screen img { max-height: none; }
  .ap-showcase-controls { padding: 12px; }
  .ap-showcase-select { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .ap-showcase-actions { justify-content: space-between; width: 100%; }
  .ap-challenges, .ap-platforms, .ap-social-copy { grid-template-columns: 1fr; }
  .ap-social-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .ap-filter-tabs { gap: 7px; }
  .ap-filter-tabs button { padding: 9px 12px; }
  .ap-cards, .ap-home .ap-cards { grid-template-columns: 1fr; }
  .ap-home .ap-home-top { display: grid; align-items: start; }
  .ap-header .ap-wrap { display: grid; gap: 11px; }
  .ap-brand { width: 116px; }
  .ap-device-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ap-device { grid-column: span 1; }
  .ap-device[data-device='desktop'], .ap-device-gallery[data-single='true'] .ap-device { grid-column: span 2; }
  .ap-footer .ap-wrap { align-items: start; flex-direction: column; gap: 7px; }
}
@media(prefers-reduced-motion: reduce) { .ap-card, .ap-card-media img { transition: none; } }

/* Long captures share the same viewport on cards, the carousel and case studies. */
.ap-scroll-mask {
  --ap-visible-height: 62.5cqw;
  display: block;
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #211c16;
}
.ap-media-full { display: block; }
.ap-scroll-mask > :is(img, .ap-scroll-track) {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: initial;
  transform: none;
}
.ap-card:hover .ap-scroll-mask img { transform: none; }
.ap-scroll-mask > .ap-scroll-track { display: grid; gap: 7px; background: #211c16; }
.ap-scroll-track img { display: block; width: 100%; height: auto; border-radius: 0; }
.ap-preview-label { display: block; padding: .5rem .75rem; color: var(--ap-gold); font-size: .78rem; }
.ap-preview-devices { display: flex; align-items: start; gap: 7px; padding: 0 7px 7px; }
.ap-preview-device { display: grid; gap: 5px; width: 58%; color: var(--ap-muted); font-size: .75rem; }
.ap-preview-device + .ap-preview-device { width: 32%; }
.ap-peek-note {
  display: none;
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 9px;
  padding: 5px 9px;
  border: 1px solid #d0a95b5c;
  border-radius: 4px;
  background: #15120ffd;
  color: #f5e3b8;
  font-size: .82rem;
  pointer-events: none;
}
.ap-feature-full { max-width: 1080px; }
.ap-feature-full > a { display: block; border: 1px solid #ae8b4f70; border-radius: 10px; overflow: hidden; }
.ap-feature-full .ap-scroll-mask { --ap-visible-height: min(62.5cqw, 530px); max-height: 530px; }
.ap-frame .ap-scroll-mask { border-radius: 7px; }
@keyframes ap-page-scroll {
  0%, 6% { transform: translateY(0); }
  94%, 100% { transform: translateY(min(0px, calc(var(--ap-visible-height) - 100%))); }
}
@media (prefers-reduced-motion: no-preference) {
  :is(.ap-card, .ap-frame, .ap-showcase-screen, .ap-feature-full > a):focus-visible .ap-scroll-mask > :is(img, .ap-scroll-track) {
    animation: ap-page-scroll var(--ap-scroll-time, 12s) linear infinite alternate;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ap-peek-note { display: block; }
  :is(.ap-card, .ap-frame, .ap-showcase-screen, .ap-feature-full > a):hover .ap-scroll-mask > :is(img, .ap-scroll-track) {
    animation: ap-page-scroll var(--ap-scroll-time, 12s) linear infinite alternate;
  }
  :is(.ap-card, .ap-frame, .ap-showcase-screen, .ap-feature-full > a):hover .ap-peek-note { opacity: 0; }
}

.ap-workflow-jump { margin-inline-start: 8px; }
.ap-page .ap-app-intro { color: var(--ap-muted); max-width: 66ch; margin-top: 14px; }
.ap-app-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 14px; }
.ap-app-tabs button { cursor: pointer; border: 1px solid var(--ap-line); border-radius: 6px; background: #1b1813; color: var(--ap-muted); padding: 9px 14px; font: inherit; }
.ap-app-tabs button[aria-pressed="true"] { background: #e7c67f; border-color: #e7c67f; color: #17120b; }
.ap-app-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(16px, 4vw, 56px); align-items: center; margin-top: 12px; padding: clamp(17px, 3vw, 36px); border: 1px solid #a88a4a5c; border-radius: 12px; background: radial-gradient(ellipse at 100% 0%, #372c1b, #181613 70%); }
.ap-page .ap-app-explain h3 { margin-top: 9px; font-size: clamp(24px, 3vw, 42px); }
.ap-page .ap-app-explain p { margin-top: 10px; color: var(--ap-muted); }
.ap-app-screen { min-width: 0; border-radius: 8px; background: #10100f; border: 1px solid #b694555e; overflow: hidden; }
.ap-app-screen-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; background: #272116; padding: 10px 14px; font-size: .8rem; }
.ap-app-screen-top span { color: var(--ap-muted); }
.ap-app-screen h4 { margin: 12px 14px 0; font-size: 1rem; }
.ap-app-screen dl { margin: 10px 14px 15px; }
.ap-app-screen dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 4px 10px; padding: 7px 0; border-top: 1px solid var(--ap-line); font-size: .85rem; overflow-wrap: anywhere; }
.ap-app-screen dt, .ap-app-note, .ap-app-capture figcaption { color: var(--ap-muted); }
.ap-app-screen dd { margin: 0; }
.ap-page .ap-app-note { margin: 11px 0 17px; font-size: .87rem; }
.ap-page .ap-app-capture { max-width: 760px; margin: 0 0 16px; }
.ap-app-capture img { border-radius: 8px; width: 100%; height: auto; }
@media (max-width: 660px) {
  .ap-app-panel { grid-template-columns: minmax(0, 1fr); }
  .ap-workflow-jump { margin: 8px 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .ap-app-tabs:not([hidden]) ~ .ap-app-panel:not([hidden]) { animation: ap-app-enter .3s ease-out both; }
  @keyframes ap-app-enter { from { opacity: .25; transform: translateY(6px); } }
}

.ap-portfolio-hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 75% 24%, #493718 0%, #1a1510 34%, #11100f 71%);
}
.ap-portfolio-intro { padding-block: clamp(26px, 4.5vw, 64px) clamp(28px, 4vw, 58px); }
.ap-portfolio-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(14px, 4vw, 50px);
  align-items: center;
  padding-bottom: clamp(25px, 4vw, 54px);
}
.ap-portfolio-heading-copy { position: relative; z-index: 1; }
.ap-portfolio-heading h1 {
  font-size: clamp(65px, 10.3vw, 150px);
  line-height: .82;
  letter-spacing: -.074em;
}
.ap-portfolio-heading h1 > :is(span, em) { display: block; padding-block: .07em .1em; }
.ap-portfolio-heading h1 em { color: #f0cf8b; font-style: normal; }
.ap-portfolio-heading p { max-width: 39ch; margin-top: 21px; color: #d1c5b5; font-size: clamp(17px, 1.5vw, 22px); }
.ap-directory-jump { margin-top: 20px; }
.ap-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: clip;
  min-width: 0;
  min-height: clamp(230px, 30vw, 430px);
}
.ap-hero-art::before, .ap-hero-art::after, .ap-hero-orbit {
  content: '';
  position: absolute;
  width: min(94%, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}
.ap-hero-art::before { border: 1px solid #e2b75b3e; transform: rotateX(67deg) rotateZ(-24deg) scale(1.06); }
.ap-hero-art::after { border: 1px solid #e2b75b25; transform: rotateX(69deg) rotateZ(27deg) scale(.86); }
.ap-hero-orbit { background: radial-gradient(ellipse closest-side, #e8ac3f28, transparent 92%); }
.ap-hero-trace { position: absolute; inset: 18% 4%; display: grid; place-items: center; transform: rotate(-18deg) scaleY(.45); }
.ap-hero-trace i { width: 100%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 50deg, transparent 0 72%, #ba8d3540 78%, #f9d992 83%, transparent 88%); mask-image: radial-gradient(farthest-side, transparent calc(100% - 2px), black calc(100% - 1.5px), black calc(100% - .5px), transparent); }
.ap-hero-art img { position: relative; width: clamp(150px, 25vw, 330px); height: auto; filter: drop-shadow(0 25px 36px #0008); z-index: 1; }
.ap-showcase { margin-top: 0; border-color: #d5a75954; border-radius: 12px; background: #201a13; box-shadow: 0 18px 45px #0004; }
.ap-showcase-stage { background: radial-gradient(ellipse at 88% 17%, #74512656, transparent 55%), linear-gradient(124deg, #1b1712, #262017 80%); }
.ap-showcase-slide { grid-template-columns: minmax(0,.73fr) minmax(0,1.27fr); padding: clamp(22px, 3.4vw, 50px); }
.ap-showcase-copy h2 { font-size: clamp(38px, 5.15vw, 74px); }
.ap-showcase-screen {
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 9px;
  border-color: #d6ad6482;
  box-shadow: 0 18px 44px #0008;
}
.ap-showcase-screen > img { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ap-screen-chrome {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid #dbc18d40;
  background: #241d14;
  color: #e4cfaa;
  font-size: .85rem;
}
.ap-screen-chrome::before { content: ''; width: 5px; height: 5px; margin-right: 11px; border-radius: 50%; background: #d9b366; box-shadow: 8px 0 #a98950, 16px 0 #79633c; }
.ap-screen-chrome span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-showcase-screen .ap-scroll-mask > img { max-height: none; }
.ap-case .ap-hero { background: radial-gradient(ellipse at 90% 0%, #4c371b66, transparent 58%), #12110f; }
.ap-case .ap-section { scroll-margin-top: 16px; }
@keyframes ap-section-enter {
  from { opacity: .54; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ap-brand-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); filter: drop-shadow(0 25px 36px #0008); }
  50% { transform: translateY(-12px) rotate(0deg); filter: drop-shadow(0 25px 42px #ad783c51); }
}
@keyframes ap-mark-arrive {
  from { opacity: 0; scale: .84; translate: 0 19px; }
  to { opacity: 1; scale: 1; translate: 0; }
}
@keyframes ap-title-arrive {
  from { opacity: 0; transform: translateY(.16em); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}
@keyframes ap-trace-orbit {
  from { transform: rotate(-40deg); }
  to { transform: rotate(320deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .ap-case-revealed { animation: ap-section-enter .65s cubic-bezier(.22, 1, .36, 1) both; }
  .ap-portfolio-heading h1 > span { animation: ap-title-arrive .72s .08s cubic-bezier(.22, 1, .36, 1) both; }
  .ap-portfolio-heading h1 > em { animation: ap-title-arrive .88s .23s cubic-bezier(.22, 1, .36, 1) both; }
  .ap-portfolio-heading p, .ap-portfolio-heading .ap-directory-jump { animation: ap-section-enter .8s .36s cubic-bezier(.22, 1, .36, 1) both; }
  .ap-hero-art img { animation: ap-mark-arrive 1.2s .08s cubic-bezier(.22, 1, .36, 1) both, ap-brand-float 8s 1.3s ease-in-out infinite; }
  .ap-hero-trace i { animation: ap-trace-orbit 14s linear infinite; }
}
@media (max-width: 680px) {
  .ap-portfolio-heading { grid-template-columns: minmax(0, 1fr) minmax(0, .42fr); gap: 4px; position: relative; }
  .ap-portfolio-heading h1 { font-size: clamp(56px, 11.4vw, 75px); }
  .ap-portfolio-heading p { font-size: 16px; }
  .ap-hero-art { min-height: 0; align-self: start; margin-top: 45px; }
  .ap-hero-art img { width: 100%; }
  .ap-showcase-slide { grid-template-columns: minmax(0, 1fr); padding: 20px 14px; }
  .ap-showcase-copy h2 { font-size: 41px; }
  .ap-showcase-select { display: flex; }
}
