.page-scroll-track { position: absolute; inset: auto 0 0; height: 3px; background: #ffffff21; pointer-events: none; }
.page-scroll-track span { display: block; height: 100%; background: #ff535e; transform: scaleX(0); transform-origin: left; }
.gallery-timing { display: flex; justify-content: flex-end; margin-top: 8px; }
#gallery-playback { min-height: 44px; padding: 5px 15px; border: 1px solid #ffffff50; border-radius: 999px; background: #1a1a1a; color: #fff; font-size: 14px; }
#gallery-playback:hover { background: #303030; }
.gallery-selector button { position: relative; }
.gallery-selector .slide-timer { position: absolute; inset: auto 0 0; height: 4px; background: #ff535e; transform: scaleX(0); transform-origin: left; pointer-events: none; }
.gallery-selector button[aria-pressed="true"]::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: #fff3; pointer-events: none; }

.home-blog-grid { display: grid; gap: 14px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-shop-categories h3,.home-blog-grid h3 { font-size: clamp(19px,2.1vw,29px); margin: 0; line-height: 1.15; }
.home-blog-grid a { display: flex; flex-direction: column; border: 1px solid #ffffff30; border-radius: 15px; overflow: hidden; }
.home-blog-grid img { aspect-ratio: 1.9; }
.home-blog-grid a > div { padding: 17px; }
.home-blog-grid h3 { margin: 6px 0 12px; }
.home-blog-grid a:hover { border-color: #ff535e; }
.home-article { max-width: 820px; }
.home-article h1 { font-size: clamp(36px,7vw,83px); }
.home-article p { margin-block: 18px; }
.home-article > a:first-child { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 730px) {
  .home-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 460px) {
  .home-blog-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: no-preference) {
}

.home-store-intro .store-visual { border-radius: 18px; }
.home-store-intro .store-cta { border-radius: 999px; }
.home-store-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.home-store-category-grid .store-card img { aspect-ratio: 1.65; }
.home-store-category-grid .store-card-copy { padding: 14px 42px 15px 13px; }
.category-arrow { position: absolute; right: 12px; bottom: 15px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #9c9c95; border-radius: 50%; }
.home-store-category-grid a:hover .category-arrow { color: #fff; background: #161715; }
@media (max-width: 950px) { .home-store-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) {
  .home-store-category-grid .store-card-copy { padding: 10px; }
  .home-store-category-grid .store-card p { font-size: 13px; line-height: 1.35; }
  .category-arrow { position: static; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .home-store-category-grid .store-card { transition: none; transform: none; } }

.platform-gallery .gallery-selector { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .platform-gallery .gallery-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-block-start: clamp(18px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.metrics > div, .metrics > div:first-child {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto minmax(1.4rem, auto);
  min-width: 0;
  padding: clamp(20px, 3vw, 40px) clamp(12px, 2.2vw, 28px);
  border: 0;
  background: #181918;
  text-align: center;
}
[dir="rtl"] .metrics > div { text-align: right; }
.metrics strong {
  font-size: clamp(31px, 5.2vw, 82px);
  line-height: 1;
  letter-spacing: -.055em;
  direction: ltr;
  unicode-bidi: isolate;
}
.metrics > div > span { margin-top: 9px; }
.metrics .metric-value { unicode-bidi: isolate; }
.gallery-info .button {
  max-width: 100%;
}
@media (max-width: 700px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .header-contact.button { display: none; }
}
@media (min-width: 701px) {
  .platform-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 20px;
  }
  .gallery-stage {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr);
    align-items: stretch;
    min-height: clamp(340px, 36vw, 490px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
  }
  .platform-gallery .gallery-stage::after { display: none; }
  .gallery-visual {
    position: relative;
    inset: auto;
    grid-column: 1;
    transform: none;
    z-index: auto;
  }
  .gallery-visual img { object-position: center; }
  .gallery-info {
    width: 100%;
    padding: clamp(24px, 3.4vw, 48px);
    justify-content: center;
    align-items: flex-start;
    text-align: start;
  }
  .gallery-info .platform-detail h3 {
    font-size: clamp(40px, 5vw, 78px);
    overflow-wrap: normal;
  }
  .gallery-credit {
    inset: auto auto 12px 12px;
    z-index: 1;
  }
  [dir="rtl"] .gallery-credit { left: auto; right: 12px; }
  .gallery-arrows { margin-top: 4px; }
  .gallery-selector {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }
  .gallery-selector button {
    text-align: start;
    min-height: clamp(84px, 9vw, 124px);
    border-radius: 14px;
  }
  .gallery-timing {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    margin: 0;
  }
  [dir="rtl"] .gallery-selector .slide-timer { transform-origin: right; }
}

.team-cover-sequence { isolation: isolate; }
.team-cover {
  position: relative;
  min-height: 100svh;
  margin: 0;
  background: var(--bg);
}
.team-cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-cover-following {
  position: relative;
  z-index: 1;
  display: flow-root;
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  .team-cover { position: sticky; inset-block-start: 0; }
}

.field-gallery { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.field-panel {
  position: relative;
  isolation: isolate;
  min-height: clamp(300px, min(60svh, 42vw), 570px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 16px;
  background: #202120;
}
.field-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.field-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #101110 0%, #101110db 24%, transparent 75%);
}
.field-panel-copy { padding: clamp(16px, 4vw, 45px); }
.field-panel h3 { margin: 0; color: #fff; font-size: clamp(25px, 3.2vw, 44px); line-height: 1.16; }
.field-panel p { color: #fff; max-width: 36ch; margin-block: 8px 0; line-height: 1.4; }
.field-panel small { display: block; margin-top: 8px; color: #dedbd5; font-size: .75rem; }
@media (max-width: 700px) {
  .field-panel { min-height: clamp(260px, 56svh, 410px); }
}

.field-panel[data-scene="define"] img { object-position: 58% center; }
.field-panel[data-scene="review"] img { object-position: 64% center; }
.field-panel[data-scene="fly"] img { object-position: 55% center; }

#inquiry #interest {
  appearance: none;
  min-block-size: 52px;
  padding-inline: 14px 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23f4f2eb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
[dir="rtl"] #inquiry #interest { background-position: left 14px center; }
#contact .contact-person a:hover, #contact .contact-person a:focus-visible { text-decoration: underline; }

.field-section-action .button { margin-block-start: 14px; }
.service-entry-button.button { background: #f2f1ec; color: #161615; }
.service-entry-button.button:hover { background: #fff; }

.development-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.service-entry-button .arrow-mark { flex: none; color: inherit; }
@media (max-width: 700px) {
  .development-actions { display: grid; }
  .development-actions > .button, .field-section-action .button { display: flex; width: 100%; min-height: 48px; gap: 12px; }
}

.metrics .open-jobs-link { text-decoration: underline; text-underline-offset: .22em; }
