.ace-feature {
  --feature-min: clamp(510px, 41.5vw, 680px);
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #100f0c;
  color: #f9f4e9;
  border-bottom: 1px solid #77644970;
}
.feature-back, .feature-plate, .feature-shade, .feature-veil, .feature-poster, .feature-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.feature-back { z-index: -1; overflow: hidden; }
.feature-plate { opacity: 0; transition: opacity .9s ease; }
.feature-plate[data-active="true"] { opacity: 1; }
.feature-plate img { width: 100%; height: 100%; object-fit: cover; }
.plate-trust img {
  object-position: center 60%;
  filter: saturate(.14) sepia(.65) contrast(1.1) brightness(.72);
  animation: ace-city-drift 26s ease-in-out infinite alternate;
}
.plate-ties img {
  width: 74%; margin-left: auto; object-position: center 44%;
  filter: saturate(.53) sepia(.20) brightness(.68);
  mask-image: linear-gradient(to right,transparent,#000 28%);
  animation: ace-city-drift 23s ease-in-out infinite alternate-reverse;
}
.plate-together img {
  filter: saturate(.27) sepia(.50) brightness(.61); object-position: 62% 44%;
}
.feature-shade {
  background: linear-gradient(90deg,#0b0c0bea 0%,#0c0d0bef 20%,#10100edb 40%,#19170f66 68%,#14151029),
    linear-gradient(to top,#0f100f 0%,#100f0c55 26%,#100f0c19 55%,#17161069 100%);
}
.ace-feature[data-scene="ties"] .feature-shade {
  background: linear-gradient(90deg,#0b0e0c 0%,#10110ef5 21%,#0b0d0ce0 38%,#17150f43 67%,#0c0d0c37),
    linear-gradient(0deg,#10110ffe 0%,#10110f24 34%,#15130d2b 70%,#17140e5e);
}
.ace-feature[data-scene="together"] .feature-shade {
  background: radial-gradient(ellipse at 49% 42%,#11100df0 0%,#11100dda 20%,#14110cb5 48%,#100f0c48 85%),
    linear-gradient(0deg,#100f0cfa,transparent 44%);
}
.feature-shade::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 79% 41%,#b6935122,transparent 35%);
}
.feature-veil {
  background: linear-gradient(90deg,#0c0d0b35,transparent 60%),
    linear-gradient(0deg,#0d0e0cf2 0%,#10100d4a 10%,transparent 28%);
}
.feature-poster { transition: opacity .48s; }
.ace-feature[data-renderer="three"] .feature-poster { opacity: 0; }
.feature-canvas { display: block; }
.poster-mark {
  position: absolute; width: min(43%,530px); height: 83%; left: 76%; top: 46%;
  transform: translate(-50%,-50%);
  background: url('/media/ace-sculpture.webp') center / contain no-repeat;
  opacity: .77;
  animation: ace-poster-drift 10s ease-in-out infinite alternate;
}
.ace-feature[data-scene="ties"] .poster-mark { left: 79%; opacity: .48; }
.ace-feature[data-scene="together"] .poster-mark { left: 74%; opacity: .46; }
.poster-orbit {
  position: absolute; top: 49%; left: 56%; width: 43%; height: 28%; border: 1px solid #d5b77659;
  border-radius: 50%; transform: rotate(-16deg);
}
.poster-orbit i {
  position: absolute; inset: -4% -3%; border-radius: 50%;
  border: 1px solid transparent; border-top-color: #e9c27b8a; border-right-color: #caae653d;
  transform: rotate(-3deg); animation: ace-orbit-glint 7s ease-in-out infinite alternate;
}
.poster-orbit i + i { inset: 5% -1%; border-top-color: #aa855600; border-bottom-color: #d9ae6673; animation-delay: -4s; }
.ace-feature[data-scene="ties"] .poster-orbit { transform: rotate(15deg); }
.ace-feature[data-scene="together"] .poster-orbit { transform: rotate(-7deg); }
@keyframes ace-orbit-glint {
  from { transform: rotate(-5deg) scale(.94,.9); opacity: .25; }
  to { transform: rotate(4deg) scale(1.035,1.09); opacity: .95; }
}
.feature-inner { min-height: var(--feature-min); display: flex; flex-direction: column; }
.feature-main {
  display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(55px,5.4vw,83px) 0 clamp(34px,3.1vw,52px);
}
.feature-copy { animation: ace-copy-in .66s cubic-bezier(.18,.76,.24,1) both; }
.feature-kicker {
  display: flex; align-items: center; gap: 13px; color: #e4c58e;
  font-size: 14px; font-weight: 650; letter-spacing: .105em; line-height: 1.7; margin: 0 0 22px;
}
.feature-kicker i { width: 33px; height: 1px; background: #e1bd7c; }
.feature-copy h1, .feature-motto {
  font-family: 'Yu Mincho','Hiragino Mincho ProN','Noto Serif CJK JP',serif;
}
.feature-copy h1 {
  font-size: clamp(43px,4.35vw,76px);
  line-height: 1.46; letter-spacing: .022em; font-weight: 650; color: #fbf7ef;
  margin: 0; text-shadow: 0 2px 24px #0a090880;
}
.feature-copy h1 span, .feature-copy h1 em { display: block; }
.feature-copy h1 em { font-style: normal; color: #ebce91; }
.feature-intro { margin-top: 19px; color: #e4dfd4; font-size: clamp(16px,1.12vw,19px); line-height: 1.95; letter-spacing: .035em; }
.feature-intro span { display: block; word-break: auto-phrase; text-wrap: pretty; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 27px; }
.feature-actions .btn-bright { background: linear-gradient(115deg,#efd7a2 0%,#d6b576 100%); border-color: #e8cb95; }
.feature-actions .btn-glass { background: #201f1896; border-color: #d6c7ac88; }
.feature-actions .btn-glass:hover { background: #413c2dc4; }
.feature-actions .btn { min-height: 46px; padding-inline: 23px; }
.ace-feature[data-scene="ties"] h1 { font-size: clamp(51px,5.1vw,86px); line-height: 1.29; }
.ace-feature[data-scene="together"] .feature-main { align-items: center; text-align: center; }
.ace-feature[data-scene="together"] .feature-kicker { justify-content: center; }
.ace-feature[data-scene="together"] h1 { font-size: clamp(40px,3.6vw,66px); }
.feature-motto { font-size: clamp(19px,1.6vw,28px); color: #f4d799; letter-spacing: .11em; margin-top: 11px; }
.ace-feature[data-scene="together"] .feature-intro { margin-top: 12px; }
.feature-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-top: 1px solid #d5bd8559; min-height: 63px;
}
.scene-choices { display: flex; align-items: stretch; gap: clamp(14px,2.4vw,36px); align-self: stretch; }
.scene-choices a {
  position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 46px;
  font-size: 14px; font-weight: 650; color: #c8c2b4; letter-spacing: .05em;
}
.scene-choices a::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: #f2d39b; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.scene-choices a:hover, .scene-choices a[aria-current] { color: #f2d39b; }
.scene-choices a[aria-current]::before { transform: scaleX(1); }
.scene-index { color: #c2b9a7; font: 500 12px/1.5 'Helvetica Neue',Arial,sans-serif; letter-spacing: .075em; }
.scene-choices a[aria-current] .scene-index { color: #e5c68d; }
.motion-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  background: #13141083; border: 1px solid #a9956f8f; border-radius: 50%; color: #f3ddb2;
}
.motion-toggle:hover { border-color: #eed6a8; }
.motion-toggle svg { width: 15px; height: 15px; stroke-width: 1.8; }
.ace-feature[data-running="false"] .feature-plate img,
.ace-feature[data-running="false"] .poster-orbit i,
.ace-feature[data-running="false"] .poster-mark { animation-play-state: paused; }
@keyframes ace-copy-in { from { opacity: .15; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ace-city-drift { from { transform: scale(1.015); } to { transform: scale(1.065) translateX(-.5%); } }
@keyframes ace-poster-drift { from { transform: translate(-50%,-50%) perspective(750px) rotateY(-6deg); } to { transform: translate(-50%,-52%) perspective(750px) rotateY(9deg); } }
@media (max-width: 980px) { .feature-copy h1 { font-size: clamp(38px,4.7vw,51px); } }
@media (max-width: 759px) {
  .ace-feature { --feature-min: 505px; }
  .feature-inner { width: calc(100% - 40px); }
  .feature-main { padding: 109px 0 27px; }
  .feature-kicker { font-size: 12px; letter-spacing: .07em; gap: 8px; margin-bottom: 17px; }
  .feature-kicker i { width: 23px; }
  .feature-copy h1 { font-size: clamp(24px,6.65vw,45px); letter-spacing: .01em; line-height: 1.55; }
  .feature-intro { margin-top: 15px; font-size: 15px; line-height: 1.85; letter-spacing: .01em; max-width: 28em; }
  .feature-actions { margin-top: 22px; gap: 10px; }
  .feature-actions .btn { min-height: 44px; padding-inline: 16px; }
  .feature-controls { min-height: 56px; gap: 8px; }
  .scene-choices { gap: clamp(10px,3.8vw,24px); }
  .scene-choices a { gap: 5px; }
  .feature-veil { background: linear-gradient(90deg,#0c0d0b54 10%,transparent 83%),linear-gradient(0deg,#0b0d0cf2 0%,#0c0c0bd9 23%,#100f0c70 56%,transparent 76%); }
  .feature-shade { background: linear-gradient(90deg,#0d100dd9,#10100e59 73%), linear-gradient(0deg,#11100d88,transparent 80%); }
  .plate-trust img { object-position: 68% center; }
  .plate-ties img { width: 100%; object-position: 56% 35%; mask-image: linear-gradient(0deg,transparent,#000 55%); }
  .ace-feature[data-scene="ties"] .feature-shade { background: linear-gradient(90deg,#0c0d0ef2 0%,#19170d51 67%),linear-gradient(0deg,#10100cdd 15%,transparent 70%); }
  .ace-feature[data-scene="ties"] h1 { font-size: clamp(38px,9.7vw,62px); }
  .ace-feature[data-scene="together"] .feature-main { padding-top: 100px; align-items: flex-start; text-align: left; }
  .ace-feature[data-scene="together"] .feature-kicker { justify-content: flex-start; }
  .ace-feature[data-scene="together"] h1 { font-size: clamp(24px,6.3vw,42px); }
  .feature-motto { font-size: 19px; margin-top: 7px; }
  .poster-mark { width: 70%; height: 54%; left: 83%; top: 29%; }
  .poster-orbit { width: 85%; height: 16%; left: 44%; top: 32%; }
}
@media (min-width: 530px) and (max-width: 759px) { .feature-main { padding-top: 72px; } }
@media (prefers-reduced-motion: reduce) {
  .ace-feature *, .ace-feature *::before { animation: none !important; transition: none !important; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .services .photo img { animation: service-focus 1s linear both; animation-timeline: view(); animation-range: entry 0% cover 39%; }
    @keyframes service-focus { from { transform: scale(1.075); } to { transform: scale(1); } }
  }
}
