/* intro v24 — Arctic scandinavian: orbit animation, blur-in reveal, colour-invert hover */

/* Orbit circle animation */
.intro-arc__orbit {
    width: 20rem;
    height: 20rem;
    animation: intro-arc-orbit 20s linear infinite;
}
.intro-arc__dot { width: 1rem; height: 1rem; margin-left: -0.5rem; }
@keyframes intro-arc-orbit {
    to { transform: rotate(360deg); }
}

/* Blur-in — hidden only once JS arms it (no-JS content stays visible) */
.intro-arc.is-armed .intro-arc__blur {
    filter: blur(8px);
    opacity: 0;
    transition: filter 560ms ease, opacity 560ms ease;
}
.intro-arc.is-armed .intro-arc__blur.is-in {
    filter: blur(0);
    opacity: 1;
}

/* Colour invert on hover: descendants inherit the row's hover text colour (keyword only, no colour value) */
.intro-arc__row:hover * {
    color: inherit;
}

@media (prefers-reduced-motion: reduce) {
    .intro-arc__orbit { animation: none; }
    .intro-arc__blur { filter: none; opacity: 1; }
}

.tour-panel-hover {
    transition: box-shadow 0.2s ease;
}

.tour-panel-hover:hover {
    box-shadow: var(--bs-box-shadow);
}

details[open] .tour-open-icon {
    transform: scale(1.05);
}

details[open] .tour-chevron {
    transform: rotate(180deg);
}

.tour-open-icon,
.tour-chevron {
    transition: transform 0.3s ease;
}

.magazine-bleed-timeline__rule {
    height: 2px;
}

.magazine-bleed-timeline__image {
    min-height: 420px;
}

.magazine-bleed-timeline__watermark {
    font-size: clamp(72px, 14vw, 160px);
    line-height: 0.85;
    opacity: 0.15;
}

.magazine-bleed-timeline__accent {
    height: 4px;
    width: 3rem;
}

.magazine-bleed-timeline__divider {
    height: 1px;
}

@media (min-width: 768px) {
    .magazine-bleed-timeline__row--reverse {
        flex-direction: row-reverse;
    }

    .magazine-bleed-timeline__panel--end {
        margin-left: auto;
    }
}

.magazine-bleed-timeline__watermark-wrap--end {
    justify-content: flex-end;
}

.outlook-mission__icon-box {
    width: 3.5rem;
    height: 3.5rem;
}

.outlook-mission__grid {
    column-count: 1;
    column-gap: 1.5rem;
}

@media (min-width: 640px) {
    .outlook-mission__grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .outlook-mission__grid {
        column-count: 3;
    }
}

.outlook-mission__item {
    margin-bottom: 1.5rem;
    break-inside: avoid;
}

.outlook-mission__icon-box-sm {
    width: 3rem;
    height: 3rem;
}

/* Bootstrap: сетка как Tailwind grid md:2 lg:4 + gap-lg */
.values-number-card__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-number-card__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .values-number-card__bs-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.values-number-card__subtitle-max {
    max-width: 42rem;
}

.values-number-card__thumb {
    width: 4rem;
    height: 4rem;
}

.values-number-card__badge {
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

/* team v29 — split quote layout + floating marks & sketch-line decor */
.team-quote__scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.team-quote__mark {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 18vw, 13rem);
  line-height: 1;
  font-weight: 700;
  user-select: none;
  pointer-events: none;
}

.team-quote__mark--open {
  top: 6%;
  left: 4%;
  animation: team-quote-mark-drift 14s ease-in-out infinite;
}

.team-quote__mark--close {
  right: 5%;
  bottom: 10%;
  animation: team-quote-mark-drift 16s ease-in-out infinite reverse;
  animation-delay: 2s;
}

.team-quote__sketch {
  position: absolute;
  pointer-events: none;
}

.team-quote__sketch--tl {
  top: 4rem;
  left: 0;
  width: 10rem;
  height: 10rem;
}

.team-quote__sketch--br {
  right: 0;
  bottom: 5rem;
  width: 11rem;
  height: 11rem;
}

.team-quote__dots {
  position: absolute;
  top: 42%;
  right: 12%;
  display: flex;
  gap: 0.5rem;
  pointer-events: none;
}

.team-quote__sketch-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.team-quote__sketch-path {
  stroke-linecap: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
}

.team-quote__sketch-path--a {
  animation: team-quote-sketch-draw 9s ease-in-out infinite alternate;
}

.team-quote__sketch-path--b {
  animation: team-quote-sketch-draw 11s ease-in-out infinite alternate-reverse;
  animation-delay: 1.5s;
}

.team-quote__dot {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: currentColor;
}

.team-quote__dot--a {
  animation: team-quote-dot-orbit 4s ease-in-out infinite;
}

.team-quote__dot--b {
  animation: team-quote-dot-orbit 4s ease-in-out infinite;
  animation-delay: 0.65s;
}

.team-quote__dot--c {
  animation: team-quote-dot-orbit 4s ease-in-out infinite;
  animation-delay: 1.3s;
}

@keyframes team-quote-mark-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-1.25rem) rotate(5deg) scale(1.06);
    opacity: 0.38;
  }
}

@keyframes team-quote-sketch-draw {
  0% {
    stroke-dashoffset: 280;
    opacity: 0.25;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.75;
  }
}

@keyframes team-quote-dot-orbit {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  33% {
    transform: translate(0.35rem, -0.65rem) scale(1.4);
    opacity: 1;
  }
  66% {
    transform: translate(-0.25rem, 0.45rem) scale(0.85);
    opacity: 0.5;
  }
}

.team-quote__image-wrap {
  position: relative;
  overflow: hidden;
}

.team-quote__image-wrap img {
  transition: transform 300ms ease;
}

.team-quote__image-wrap:hover img {
  transform: translateY(-2%);
}

.team-quote__img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-quote__bio {
  text-align: justify;
  text-align-last: left;
}

@media (max-width: 1024px) {
  .team-quote__bio {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-quote__mark,
  .team-quote__sketch-path,
  .team-quote__dot {
    animation: none;
  }

  .team-quote__sketch-path {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
}

/* quote v12 — bookshelf shelf, velvet (SVG in template), smoke rise, extrude title, blur icon, clip reveal, gradient border spin */

.quote-shelf__velvet {
    animation: quoteShelfVelvetShimmer 8s ease-in-out infinite alternate;
}
@keyframes quoteShelfVelvetShimmer {
    0% { opacity: 0.35; }
    100% { opacity: 0.55; }
}

.quote-shelf__extrude {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1.2;
}

.quote-shelf__extrude--back {
    transform: translate(3px, 3px);
}
.quote-shelf__extrude--mid {
    transform: translate(6px, 6px);
}

.quote-shelf__smoke {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    bottom: 10%;
    animation: quoteShelfSmokeRise 5s ease-out infinite;
}
.quote-shelf__smoke--a { left: 12%; animation-delay: 0s; }
.quote-shelf__smoke--b { left: 28%; animation-delay: 1.1s; width: 0.375rem; height: 0.375rem; }
.quote-shelf__smoke--c { left: 52%; animation-delay: 2.4s; }
.quote-shelf__smoke--d { left: 71%; animation-delay: 0.7s; width: 0.625rem; height: 0.625rem; }
.quote-shelf__smoke--e { left: 88%; animation-delay: 3.2s; }
@keyframes quoteShelfSmokeRise {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    12% { opacity: 0.75; }
    100% { transform: translateY(-9rem) scale(1.5); opacity: 0; }
}

.quote-shelf__pair {
    margin-left: -1rem;
    margin-right: -1rem;
}
@media (min-width: 768px) {
    .quote-shelf__pair {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
}

.quote-shelf__stage {
    perspective: 900px;
}

.quote-shelf__book-inner {
    height: 100%;
}
.quote-shelf__book-inner > article,
.quote-shelf__book-inner > div {
    height: 100%;
}

.quote-shelf__book:nth-child(odd) .quote-shelf__book-inner {
    transform: rotateY(-2deg);
}
.quote-shelf__book:nth-child(even) .quote-shelf__book-inner {
    transform: rotateY(2deg);
}
.quote-shelf__book-inner {
    transition: transform 250ms ease;
}
.quote-shelf__book-inner:hover,
.quote-shelf__book-inner:focus-within {
    transform: rotateY(0deg) translateY(-0.35rem);
}

.quote-shelf__border-wrap {
    position: relative;
    padding: 2px;
}
.quote-shelf__border-spin {
    position: absolute;
    inset: -1px;
    animation: quoteShelfBorderPulse 3.5s ease-in-out infinite;
}
@keyframes quoteShelfBorderPulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.015); opacity: 1; }
}

.quote-shelf__icon-stage {
    width: 5.5rem;
    height: 5.5rem;
    overflow: hidden;
}
.quote-shelf__icon-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    filter: blur(10px);
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1.35);
    line-height: 1;
}
.quote-shelf__icon-sharp {
    line-height: 1;
}

.quote-shelf__reveal {
    clip-path: inset(0 0 100% 0);
    max-height: 0;
    overflow: hidden;
    transition: clip-path 280ms ease, max-height 280ms ease;
}
.quote-shelf__book-inner:hover .quote-shelf__reveal,
.quote-shelf__book-inner:focus-within .quote-shelf__reveal {
    clip-path: inset(0 0 0 0);
    max-height: 5rem;
}

.quote-shelf__rail {
    height: 0.5rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-shelf-root [role="listitem"]:hover,
    .quote-shelf-root article:hover,
    .quote-shelf-root [class*="quote-shelf__card"]:hover,
    .quote-shelf-root .quote-shelf__book:hover,
    .quote-shelf-root .quote-shelf__step:hover,
    .quote-shelf-root .quote-shelf__index-card:hover,
    .quote-shelf-root .quote-shelf__pill:hover,
    .quote-shelf-root .quote-shelf__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-shelf-root [role="listitem"],
.quote-shelf-root article,
.quote-shelf-root [class*="quote-shelf__card"],
.quote-shelf-root .quote-shelf__book,
.quote-shelf-root .quote-shelf__step,
.quote-shelf-root .quote-shelf__index-card,
.quote-shelf-root .quote-shelf__pill {
    transition: transform 200ms ease;
}

.quote-shelf-root a:focus-visible,
.quote-shelf-root button:focus-visible,
.quote-shelf-root [tabindex="0"]:focus-visible,
.quote-shelf-root input:focus-visible,
.quote-shelf-root summary:focus-visible,
.quote-shelf-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-shelf-root button:hover,
    .quote-shelf-root a:hover,
    .quote-shelf-root summary:hover {
        opacity: 0.92;
    }
}

