/* Category sections restored from the existing DOA home. */
        .doa-cat-grid { display: flex; flex-direction: column; gap: 2px; background: #000; }
        .doa-cat-card { position: relative; width: 100%; height: 50vh; min-height: 300px; overflow: hidden; background: #0a0a0a; display: block; text-decoration: none; }
        .doa-cat-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0%) brightness(0.85); transition: filter 1.2s cubic-bezier(0.4,0,0.2,1), transform 1.5s cubic-bezier(0.4,0,0.2,1); }
        .doa-cat-card:hover img { filter: grayscale(100%) brightness(0.5); transform: scale(1.05); }
        .doa-cat-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; padding: 60px; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; pointer-events: none; }
        .doa-cat-kicker { font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 400; color: #8c6144; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 10px; opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s; }
        .doa-cat-title { font-family: 'Six Caps', sans-serif; font-weight: 400; font-size: clamp(48px, 5.5vw, 80px); color: #f0ece6; text-transform: uppercase; line-height: 1; margin: 0 0 18px 0; letter-spacing: .04em; transform: translateY(6px); transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1); }
        .doa-cat-sub { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: .25em; opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s; }
        .doa-cat-card:hover .doa-cat-kicker { opacity: 1; transform: translateY(0); }
        .doa-cat-card:hover .doa-cat-title { transform: translateY(-4px); }
        .doa-cat-card:hover .doa-cat-sub { opacity: 1; transform: translateY(0); }
        @media (max-width: 768px) { .doa-cat-card { height: 40vh; } .doa-cat-overlay { padding: 30px; } }
    
.doa-cat-kicker, .doa-cat-sub { opacity: 1; transform: none; }
.doa-cat-card:focus-visible img { filter: brightness(.65); }
@media (max-width: 767px) { .doa-cat-card { min-height: 320px; } }

/* Full-screen Content Slider from Montoya multimedia.html. */
#hero.doa-photo-hero { background: #171717; }
#hero.doa-photo-hero #hero-caption { display: block; padding: 0; margin: 0; min-height: 0; height: auto; }
#hero.doa-photo-hero #hero-caption .inner { display: block; width: 100%; }
#hero .doa-hero-carousel { height: 100svh; min-height: 480px; border-radius: 0; overflow: hidden; }
#hero .clapat-slider, #hero .clapat-slider-viewport, #hero .clapat-slide, #hero .slide-img { height: 100%; }
#hero .clapat-slider-viewport { max-width: none; width: 100%; }
#hero .clapat-slide { width: 100%; padding: 0; position: absolute; top: 0; }
#hero .slide-img { overflow: hidden; }
#hero .slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.doa-hero-carousel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .12), transparent 18%, transparent 82%, rgb(0 0 0 / .24)); pointer-events: none; z-index: 2; }
.doa-carousel-bottom { position: absolute; z-index: 5; inset: auto 60px 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; color: #fff; }
.doa-carousel-project { display: flex; flex-direction: column; gap: 4px; color: #fff; font-size: 16px; line-height: 1.5; }
.doa-carousel-category { font-family: Poppins, sans-serif; font-size: 10px; color: #f0f0f0; letter-spacing: .02em; }
.doa-carousel-name { font-size: 28px; font-weight: 400; line-height: 1; }
#hero .clapat-controls { position: static; display: flex; align-items: center; gap: 4px; transform: none; width: auto; height: auto; margin: 0; }
#hero .clapat-controls button { appearance: none; position: static; inset: auto; width: auto; height: auto; margin: 0; padding: 8px; border: 0; border-radius: 0; background: transparent; color: #fff; font-family: Poppins, sans-serif; font-size: 11px; line-height: 1.5; cursor: pointer; opacity: .85; }
#hero .clapat-controls button:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
#hero .clapat-pagination { display: none; }
#hero .clapat-controls button i { display: none; }
.doa-carousel-count { font-family: Poppins, sans-serif; font-size: 10px; opacity: .75; font-variant-numeric: tabular-nums; white-space: nowrap; }
#hero .clapat-controls .doa-carousel-pause { border: 0; padding-left: 8px; }



.doa-about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; text-align: left; }
.doa-about-heading p { color: #bdbdbd; }
.doa-about-heading h2 { font-family: 'Six Caps', sans-serif; font-weight: 400; font-size: clamp(60px, 7vw, 110px); line-height: 1; }
.doa-about-copy p { font-size: 16px; line-height: 1.9; color: #bdbdbd; margin: 0 0 28px; text-transform: none; }
.runtime-fallback #hero .clapat-slider-viewport { display: flex; overflow: auto; scroll-snap-type: x mandatory; }
.runtime-fallback #hero .clapat-slide { position: relative; left: auto !important; flex: 0 0 100%; scroll-snap-align: start; }
@media (max-width: 1024px) {
  .doa-carousel-bottom { left: 30px; right: 30px; }

  .doa-about { gap: 40px; }
}
@media (max-width: 767px) {


  .doa-carousel-bottom { left: 24px; right: 24px; bottom: 24px; flex-direction: row; align-items: end; gap: 12px; }
  #hero .clapat-controls { justify-content: flex-end; gap: 0; }
  .doa-carousel-name { font-size: 24px; }
  .doa-about { grid-template-columns: 1fr; gap: 24px; }
  .doa-about-copy p { font-size: 15px; }
}

/* Preserve DOA's original logo and Poppins / Six Caps font pairing. */
#hero .clapat-controls svg { width: 14px; height: 14px; display: block; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
#hero .clapat-controls button { min-width: 32px; min-height: 32px; display: grid; place-items: center; }
body:has(.doa-carousel-bottom:hover) #magic-cursor { opacity: 0 !important; }
body:has(.doa-photo-hero:hover) #magic-cursor { display: none !important; }
#hero .clapat-slider { cursor: grab; }
#hero .doa-carousel-project, #hero .clapat-controls button { cursor: pointer; }
.doa-carousel-project { text-shadow: 0 1px 8px rgb(0 0 0 / .3); }
@media (max-width: 767px) {
 .doa-carousel-bottom { left: 24px; right: 20px; bottom: 22px; }
 .doa-carousel-category { max-width: 190px; font-size: 9px; line-height: 1.5; }
 #hero .clapat-controls { flex-shrink: 0; }
}

/* Keep drawings and object photography legible without cropping the project. */
#hero .clapat-slide[data-framing="contain"] .slide-img { background: #151515; }
#hero .clapat-slide[data-framing="contain"] img { object-fit: contain; }

/* Keep Montoya's native scroll effect in narrow desktop previews and on touch. */
@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  body:not(.runtime-fallback) .list-rotator-pin { height: 100svh; }
  .list-rotator-title { top: 92px; max-width: 85%; font-size: 11px; line-height: 1.5; }
}
.list-rotator li a:hover, .list-rotator li a:focus-visible { color: #fff; }
@media (prefers-reduced-motion: reduce) {
 .list-rotator-pin { height: auto; mask-image: none; -webkit-mask-image: none; }
 .list-rotator-title { position: relative; top: auto; opacity: 1; }
}

/* Bring the native project showcase directly after the capabilities text. */
.doa-capabilities .list-rotator-wrapper { margin-bottom: 0; }
.doa-capabilities .list-rotator-pin { height: 80svh !important; }
.doa-capabilities .list-rotator { padding-top: 14svh; padding-bottom: 4svh; }
.home-showcase.content-row { padding-top: clamp(24px, 3vw, 56px); padding-bottom: 24px; }
.home-showcase > hr { height: 32px; margin-block: 0; }
.doa-about.content-row { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(48px, 6vw, 96px); }
@media (prefers-reduced-motion: reduce) {
 .doa-capabilities .list-rotator-pin { height: auto !important; }
}
.runtime-fallback .doa-capabilities .list-rotator-pin { height: auto !important; }

/* Give the first capability time to settle before the list begins to move. */
.doa-capabilities.content-row { padding-top: clamp(64px, 9svh, 112px); }
.doa-capabilities [data-paced-rotator] .list-rotator { padding-top: 20svh; padding-bottom: 5svh; }
@media (prefers-reduced-motion: reduce) {
 .doa-capabilities [data-paced-rotator] .list-rotator-title { opacity: 1; }
}
