/* Six-direction selector */
.demo-switcher {
  width: max-content;
  max-width: calc(100vw - 32px);
}

.demo-switcher__rail {
  flex: 0 0 auto;
  min-width: 0;
}

.demo-switcher button {
  flex: 0 0 auto;
  min-width: 92px;
}

.demo-switcher button:focus-visible {
  outline: 2px solid #e8d7b7;
  outline-offset: 3px;
}

/* Élan 2: a light, editorial counterpart to the original dark concept */
.concept--elan-light {
  color-scheme: light;
  color: #171717;
  background: #f8f5ef;
}

.concept--elan-light .site-header {
  background: linear-gradient(180deg, rgba(248, 245, 239, 0.97), rgba(248, 245, 239, 0.78), transparent);
  border-color: rgba(183, 144, 75, 0.3);
}

.concept--elan-light .site-brand,
.concept--elan-light .site-header nav a {
  color: #171717;
}

.concept--elan-light .site-brand small,
.concept--elan-light .site-header nav a:hover {
  color: #6d5b47;
}

.concept--elan-light .editorial-hero {
  background: linear-gradient(105deg, #f8f5ef 0%, #f8f5ef 54%, #efe8dc 100%);
}

.concept--elan-light .vertical-word,
.concept--elan-light .editorial-copy .eyebrow,
.concept--elan-light .hero-index {
  color: #b7904b;
}

.concept--elan-light .editorial-copy h1,
.concept--elan-light .section-heading h2 {
  color: #171717;
}

.concept--elan-light .editorial-copy h1 em,
.concept--elan-light .service-card__meta b {
  color: #b7904b;
}

.concept--elan-light .editorial-copy > p,
.concept--elan-light .manifesto p,
.concept--elan-light .service-card p,
.concept--elan-light .contact-card p,
.concept--elan-light .contact-card small {
  color: #62594f;
}

.concept--elan-light .editorial-portrait {
  height: min(66vh, 690px);
  border-color: rgba(183, 144, 75, 0.42);
  box-shadow: 0 26px 70px rgba(41, 34, 28, 0.12);
}

.concept--elan-light .editorial-portrait::before {
  background: linear-gradient(180deg, transparent 45%, rgba(41, 34, 28, 0.72));
}

.concept--elan-light .editorial-portrait figcaption {
  color: #fffaf1;
}

.concept--elan-light .manifesto {
  color: #171717;
  background: #efe8dc;
  border-block: 1px solid rgba(183, 144, 75, 0.28);
}

.concept--elan-light .manifesto > span {
  color: #b7904b;
}

.concept--elan-light .manifesto blockquote {
  color: #29221c;
}

.concept--elan-light .services-section {
  color: #171717;
  background: #f8f5ef;
}

.concept--elan-light .service-card {
  color: #29221c;
  background: #fffdfa;
  border-color: rgba(41, 34, 28, 0.1);
  box-shadow: 0 12px 34px rgba(41, 34, 28, 0.055);
}

.concept--elan-light .service-card:hover {
  background: #efe8dc;
  box-shadow: 0 20px 42px rgba(41, 34, 28, 0.1);
}

.concept--elan-light .service-card__top,
.concept--elan-light .service-card__meta span {
  color: #89704c;
}

.concept--elan-light .demo-note {
  color: #6d5b47;
}

.concept--elan-light .contact-section {
  color: #f8f5ef;
  background: #29221c;
}

.concept--elan-light .contact-section .eyebrow {
  color: #e8c9bb;
}

.concept--elan-light .contact-card p,
.concept--elan-light .contact-card small {
  color: rgba(248, 245, 239, 0.76);
}

.concept--elan-light .header-cta,
.concept--elan-light .primary-link {
  color: #171717;
  background: #b7904b;
  transition: transform 220ms ease, color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.concept--elan-light .header-cta:hover,
.concept--elan-light .primary-link:hover {
  color: #fff;
  background: #171717;
  box-shadow: 0 12px 25px rgba(23, 23, 23, 0.18);
  transform: translateY(-3px);
}

.concept--elan-light .text-link {
  color: #29221c;
  border-color: rgba(183, 144, 75, 0.6);
}

/* Aurelia: soft boutique warmth, organic portrait shape, and spacious service cards */
.concept--aurelia {
  color-scheme: light;
  color: #332824;
  background: #fbf8f2;
}

.concept--aurelia .site-header {
  background: linear-gradient(180deg, rgba(251, 248, 242, 0.97), rgba(251, 248, 242, 0.78), transparent);
  border-color: rgba(185, 151, 91, 0.28);
}

.concept--aurelia .site-brand,
.concept--aurelia .site-header nav a {
  color: #332824;
}

.concept--aurelia .site-brand small {
  color: #77665a;
}

.concept--aurelia .editorial-hero {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 32%, rgba(232, 215, 183, 0.4), transparent 31%),
    linear-gradient(105deg, #fbf8f2 0%, #fbf8f2 53%, #f5eee3 100%);
}

.concept--aurelia .editorial-copy .eyebrow,
.concept--aurelia .vertical-word,
.concept--aurelia .hero-index {
  color: #a9854c;
}

.concept--aurelia .editorial-copy h1,
.concept--aurelia .section-heading h2 {
  color: #332824;
}

.concept--aurelia .editorial-copy h1 em {
  color: #b9975b;
}

.concept--aurelia .editorial-copy h1 {
  font-size: clamp(54px, 6vw, 94px);
  line-height: 0.92;
}

.concept--aurelia .editorial-copy > p,
.concept--aurelia .manifesto p,
.concept--aurelia .service-card p {
  color: #6c5c52;
}

.concept--aurelia .editorial-portrait {
  height: min(66vh, 690px);
  border: 0;
  border-radius: 48% 48% 14px 48% / 35% 35% 14px 35%;
  background: #e8d7b7;
  box-shadow: 0 28px 72px rgba(82, 57, 37, 0.16);
}

.concept--aurelia .editorial-portrait img {
  object-position: center 44%;
}

.concept--aurelia .editorial-portrait::before {
  background: linear-gradient(180deg, rgba(51, 40, 36, 0.02) 38%, rgba(51, 40, 36, 0.68));
}

.concept--aurelia .editorial-portrait::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 14px;
  border: 1px solid rgba(232, 215, 183, 0.74);
  border-radius: inherit;
  pointer-events: none;
  animation: aurelia-breathe 12s ease-in-out infinite;
}

.concept--aurelia .editorial-portrait figcaption {
  z-index: 2;
  color: #fffaf1;
}

.concept--aurelia .manifesto {
  color: #332824;
  background: #efe6d7;
  border-block: 1px solid rgba(185, 151, 91, 0.26);
}

.concept--aurelia .manifesto > span {
  color: #a9854c;
}

.concept--aurelia .manifesto blockquote {
  color: #332824;
}

.concept--aurelia .services-section {
  color: #332824;
  background: #fbf8f2;
}

.concept--aurelia .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
  align-items: stretch;
}

.concept--aurelia .service-card {
  min-height: 300px;
  padding: 30px;
  color: #332824;
  background: #fffdfa;
  border: 1px solid rgba(185, 151, 91, 0.22);
  border-radius: 24px 8px 24px 8px;
  box-shadow: 0 14px 34px rgba(82, 57, 37, 0.075);
  opacity: 0.01;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1),
    background-color 240ms ease,
    box-shadow 240ms ease;
}

.concept--aurelia .service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.concept--aurelia .service-card:nth-child(2) {
  background: #e8d7b7;
  transform: translateY(34px);
}

.concept--aurelia .service-card:nth-child(3) {
  background: #eedad5;
  transform: translateY(-10px);
}

.concept--aurelia .service-card:nth-child(2).is-visible {
  transform: translateY(12px);
}

.concept--aurelia .service-card:nth-child(3).is-visible {
  transform: translateY(-10px);
}

.concept--aurelia .service-card:hover {
  background: #f6ede2;
  box-shadow: 0 22px 42px rgba(82, 57, 37, 0.13);
  transform: translateY(-6px);
}

.concept--aurelia .service-card__top,
.concept--aurelia .service-card__meta span {
  color: #8e744d;
}

.concept--aurelia .service-card__meta b {
  color: #71583d;
  font-size: 1rem;
  font-weight: 600;
}

.concept--aurelia .demo-note {
  color: #756659;
}

.concept--aurelia .contact-section {
  color: #fbf8f2;
  background: #243a35;
}

.concept--aurelia .contact-section .eyebrow {
  color: #e8d7b7;
}

.concept--aurelia .contact-card p,
.concept--aurelia .contact-card small {
  color: rgba(251, 248, 242, 0.8);
}

.concept--aurelia .header-cta,
.concept--aurelia .primary-link {
  color: #332824;
  background: #e8d7b7;
  transition: transform 220ms ease, color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.concept--aurelia .header-cta:hover,
.concept--aurelia .primary-link:hover {
  color: #fffaf1;
  background: #8d7048;
  box-shadow: 0 12px 26px rgba(51, 40, 36, 0.18);
  transform: translateY(-3px);
}

.concept--aurelia .text-link {
  color: #332824;
  border-color: rgba(185, 151, 91, 0.58);
}

@keyframes aurelia-breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 980px) {
  .concept--elan-light .editorial-hero,
  .concept--aurelia .editorial-hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 135px;
  }

  .concept--elan-light .editorial-portrait,
  .concept--aurelia .editorial-portrait {
    height: 58vh;
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .demo-switcher {
    left: 10px;
    right: 10px;
    bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + 8px));
    width: auto;
    max-width: calc(100vw - 20px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    touch-action: pan-x;
    transform: none;
    scrollbar-width: none;
  }

  .demo-switcher::-webkit-scrollbar {
    display: none;
  }

  .demo-switcher__rail {
    width: max-content;
    min-width: 100%;
    flex: 0 0 auto;
  }

  .demo-switcher button {
    min-width: 88px;
    padding: 8px 9px;
    scroll-snap-align: start;
  }

  .concept--elan-light .editorial-portrait,
  .concept--aurelia .editorial-portrait {
    height: 58vh;
    min-height: 430px;
  }

  .concept--aurelia .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .concept--aurelia .service-card,
  .concept--aurelia .service-card:nth-child(2),
  .concept--aurelia .service-card:nth-child(3),
  .concept--aurelia .service-card.is-visible,
  .concept--aurelia .service-card:nth-child(2).is-visible,
  .concept--aurelia .service-card:nth-child(3).is-visible {
    min-height: 280px;
    transform: translateY(0);
  }
}
