*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  background: #e8eef4;

  /* Kolory z logo Robo Support Software */
  --robo-navy: #1b2744;
  --robo-support: #7298d9;
  --robo-software: #4eb1b9;
  --robo-yellow: #f9b217;
  --robo-pink: #e8a2b5;
  --robo-yellow-text: #a67a0f;
  --robo-pink-text: #c0788f;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
  background: #e8eef4;
}

/* Kontener przewijania + snap */
.snap-container {
  height: 100vh;
  overflow-y: scroll;
  overflow-x: clip;
  scroll-snap-type: y mandatory;
  background: #f5f5f5;
  -webkit-overflow-scrolling: touch;
}

/* Każda sekcja = jeden ekran */
.snap-section {
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.snap-section h1,
.snap-section h2 {
  font-size: clamp(1.75rem, 5vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.snap-section p {
  font-size: 1.125rem;
  max-width: 32ch;
  opacity: 0.85;
}

.snap-section a {
  color: inherit;
}

.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid currentColor;
  width: 0;
  max-width: none;
  opacity: 1;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  animation:
    typing 2s steps(13, end) forwards,
    blink 0.6s step-end infinite;
}

@keyframes typing {
  to { width: 13ch; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.section-1 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: clamp(9rem, 20vh, 12rem);
  overflow: visible;
  background: linear-gradient(160deg, #f5f5f5 0%, #ececec 50%, #f8f8f8 100%);
}

/* --- Hero carousel (infinity loop, anchor bottom-right) --- */
.hero-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: visible;
}

.hero-carousel__viewport {
  position: relative;
  flex: 1;
  overflow: visible;
  min-height: clamp(280px, 45vh, 420px);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hero-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-slide {
  position: absolute;
  width: min(520px, 76vw);
  height: clamp(320px, 42vh, 380px);
  padding: 1.5rem 1.35rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: 0.65rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 37, 53, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(21, 37, 53, 0.07);
  transform: scale(0.8);
  transform-origin: bottom right;
  filter: blur(4px);
  opacity: 0.85;
  overflow: hidden;
  transition:
    right 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.45s ease,
    opacity 0.45s ease,
    box-shadow 0.45s ease,
    visibility 0.45s ease;
  pointer-events: none;
  cursor: default;
}

.hero-slide.is-active {
  transform: scale(1);
  filter: blur(0);
  opacity: 1;
  box-shadow: 0 16px 48px rgba(21, 37, 53, 0.12);
  pointer-events: auto;
  z-index: 30;
}

.hero-slide.is-inactive {
  opacity: 0.85;
  filter: blur(4px);
  pointer-events: auto;
  cursor: pointer;
}

.hero-slide.is-inactive:hover {
  opacity: 0.95;
  filter: blur(0.75px);
}

.hero-slide__title {
  font-size: clamp(1.2rem, 3.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--robo-navy);
  margin-bottom: 0;
  max-width: none;
  width: 100%;
}

.hero-slide__lead {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--robo-support);
  max-width: 52ch;
  margin: 0 auto;
  opacity: 0.95;
}

.hero-slide[data-slide="0"] .hero-slide__title {
  color: var(--robo-software);
}

.hero-slide[data-slide="0"] .hero-slide__lead {
  color: var(--robo-navy);
}

.hero-slide[data-slide="1"] .hero-slide__title {
  color: var(--robo-support);
}

.hero-slide[data-slide="1"] .hero-feature {
  width: min(100%, calc(40ch + 40px));
}

.hero-slide[data-slide="2"] .hero-slide__title {
  color: var(--robo-yellow-text);
}

.hero-slide[data-slide="3"] .hero-slide__title {
  color: var(--robo-pink-text);
}

.hero-slide[data-slide="4"] .hero-slide__title {
  color: var(--robo-yellow);
}

.hero-slide[data-slide="4"] .hero-slide__lead {
  color: var(--robo-navy);
}

.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  flex: 0 0 auto;
  overflow: hidden;
}

.hero-slide.is-active .hero-features {
  overflow-y: auto;
  scrollbar-width: thin;
}

.hero-slide.is-inactive .hero-features {
  overflow: hidden;
  scrollbar-width: none;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.65rem;
  width: min(100%, 40ch);
  max-width: 100%;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--robo-navy);
}

.hero-feature__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1em;
  border-radius: 0;
  background: none;
  color: inherit;
}

.hero-feature__text {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: inherit;
  text-align: left;
}

.hero-slide--cta {
  justify-content: center;
}

.hero-slide--cta .hero-cta {
  align-self: center;
  margin-top: 0;
  padding: 0.65rem 1.25rem;
  color: var(--robo-navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 37, 53, 0.08);
  border-radius: 999px;
  box-shadow: none;
}

.hero-slide--cta .hero-cta:hover {
  transform: none;
  color: var(--robo-support);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(114, 152, 217, 0.35);
  box-shadow: none;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--robo-software);
  border: 1px solid rgba(27, 39, 68, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(78, 177, 185, 0.28);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, background 0.25s ease-out, color 0.25s ease-out;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: var(--robo-support);
  box-shadow: 0 8px 24px rgba(114, 152, 217, 0.32);
}

.hero-cta svg {
  animation: hero-cta-bounce 2s ease-in-out infinite;
}

@keyframes hero-cta-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.hero-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
  padding: 0.75rem 0 1.25rem;
}

.hero-carousel__arrow {
  position: static;
  transform: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(21, 37, 53, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  color: #3d4f63;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease-out, background 0.25s ease-out, box-shadow 0.25s ease-out;
}

.hero-carousel__arrow:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(21, 37, 53, 0.1);
}

.hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0;
}

.hero-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(21, 37, 53, 0.18);
  cursor: pointer;
  transition: transform 0.25s ease-out, background 0.25s ease-out;
}

.hero-carousel__dot.is-active {
  background: #6f8fd0;
  transform: scale(1.25);
}

.hero-carousel__dot:hover {
  background: rgba(111, 143, 208, 0.6);
}

/* Stagger animacji treści aktywnego slajdu */
.hero-slide:not(.is-active) .hero-animate,
.hero-slide:not(.is-active) .hero-feature {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-slide.is-active .hero-animate,
.hero-slide.is-active .hero-feature {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.hero-slide.is-active .hero-slide__title.hero-animate {
  transition-delay: 200ms;
}

.hero-slide.is-active .hero-slide__lead.hero-animate {
  transition-delay: 320ms;
}

.hero-slide.is-active .hero-feature:nth-child(1) {
  transition-delay: 320ms;
}

.hero-slide.is-active .hero-feature:nth-child(2) {
  transition-delay: 420ms;
}

.hero-slide.is-active .hero-feature:nth-child(3) {
  transition-delay: 520ms;
}

.hero-slide.is-active .hero-feature:nth-child(4) {
  transition-delay: 620ms;
}

.hero-slide.is-active .hero-cta.hero-animate {
  transition-delay: 480ms;
}

.section-logo {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  width: auto;
  display: block;
  z-index: 2;
}

.section-logo--lg {
  height: clamp(7.5rem, 21vh, 12rem);
}

.section-logo--sm {
  height: clamp(3.75rem, 10.5vh, 6rem);
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.showcase-reveal.is-visible .section-logo--sm {
  opacity: 1;
  transition-delay: 0.6s;
}

/* --- Sekcje case study --- */
.section-2,
.section-3,
.section-4 {
  position: relative;
  text-align: left;
  align-items: stretch;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.section-2 {
  background: linear-gradient(160deg, #e8eef4 0%, #dce6f0 50%, #e4edf6 100%);
}

.section-3 {
  background: linear-gradient(160deg, #eef2ea 0%, #dde5d6 50%, #e6ede0 100%);
}

.section-3 .showcase__eyebrow {
  color: #4a6a52;
}

.section-4 {
  background: linear-gradient(160deg, #f5f0eb 0%, #ebe4dc 50%, #f2ebe3 100%);
}

.section-4 .showcase__eyebrow {
  color: #7a6a5a;
}

.section-5 {
  position: relative;
  background: linear-gradient(160deg, #f5f5f5 0%, #ececec 50%, #f8f8f8 100%);
}

.contact-panel {
  width: min(520px, 92vw);
  padding: 2rem 2.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 37, 53, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(21, 37, 53, 0.07);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  text-align: center;
}

.contact-panel__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 1.25rem;
}

.contact-panel__title {
  font-size: clamp(1.2rem, 3.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--robo-software);
  margin-bottom: 0;
}

.contact-panel__lead {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--robo-navy);
  max-width: 38ch;
  margin: 0;
  opacity: 0.95;
}

.contact-panel__details {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(21, 37, 53, 0.08);
  border-bottom: 1px solid rgba(21, 37, 53, 0.08);
}

.contact-panel__item {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.15rem;
  margin: 0;
  padding: 0.6rem 0;
  max-width: none;
  opacity: 1;
  text-align: left;
}

.contact-panel__item + .contact-panel__item {
  border-top: 1px solid rgba(21, 37, 53, 0.05);
}

.contact-panel__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--robo-support);
  text-align: right;
  padding-right: 0.15rem;
}

.contact-panel__link {
  color: var(--robo-navy);
  text-decoration: none;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  transition: color 0.2s ease;
}

.contact-panel__link:hover {
  color: var(--robo-support);
}

.contact-panel__back {
  margin-top: 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--robo-support);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-panel__back:hover {
  color: var(--robo-navy);
}

/* Link z animowanym podkreśleniem */
.link-underline {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease-out;
}

.link-underline:hover {
  background-size: 100% 2px;
}

/* Wjazd elementów showcase przy wejściu sekcji w widok */
.showcase-reveal .showcase__header,
.showcase-reveal .showcase__lead,
.showcase-reveal .showcase-carousel {
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.showcase-reveal .showcase__header {
  transform: translateY(-36px);
}

.showcase-reveal .showcase__lead {
  transform: translateX(36px);
}

.showcase-reveal .showcase-carousel {
  transform: translateY(28px);
}

.showcase-reveal.is-visible .showcase__header {
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: 150ms;
}

.showcase-reveal.is-visible .showcase__lead {
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: 300ms;
}

.showcase-reveal.is-visible .showcase-carousel {
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: 450ms;
}

.showcase__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  grid-column: 2;
  text-align: right;
  align-items: flex-end;
}

.showcase {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: start;
}

.showcase__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a6a8a;
  max-width: none;
  opacity: 1;
}

.showcase__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: #152535;
  margin-bottom: 0;
}

.showcase__link {
  font-size: 1rem;
  font-weight: 600;
  color: #3d4f63;
  margin-top: 0.35rem;
}

.showcase__link a {
  color: var(--robo-navy);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: color 0.25s ease-out, background-size 0.25s ease-out;
}

.showcase__link a:hover {
  color: var(--robo-support);
  background-size: 100% 2px;
}

.showcase .showcase__lead {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
  color: #3d4f63;
  max-width: none;
  width: 100%;
  opacity: 1;
  margin-bottom: 0.25rem;
  grid-column: 2;
  justify-self: stretch;
  text-align: right;
}

.showcase-carousel {
  grid-column: 1 / -1;
  margin-top: 0.75rem;
  width: 100%;
}

.showcase-carousel__track {
  position: relative;
  display: grid;
  grid-template-columns: 10% 80% 10%;
  align-items: stretch;
  width: min(50rem, 100%);
  margin: 0 auto;
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(21, 37, 53, 0.06);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
      135deg,
      rgba(90, 138, 181, 0.28),
      rgba(21, 37, 53, 0.06),
      rgba(90, 138, 181, 0.14)
    ) border-box;
  transition:
    transform 0.28s ease-out,
    box-shadow 0.28s ease-out,
    background 0.28s ease-out;
}

.showcase-carousel__track:has(.showcase-card.is-active .showcase-card__badge--mobile) {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
      135deg,
      rgba(106, 154, 90, 0.28),
      rgba(61, 92, 46, 0.06),
      rgba(106, 154, 90, 0.14)
    ) border-box;
}

.showcase-carousel__track:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(21, 37, 53, 0.1);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
      135deg,
      rgba(90, 138, 181, 0.55),
      rgba(45, 90, 123, 0.18),
      rgba(90, 138, 181, 0.35)
    ) border-box;
}

.showcase-carousel__track:has(.showcase-card.is-active .showcase-card__badge--mobile):hover {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
      135deg,
      rgba(106, 154, 90, 0.5),
      rgba(61, 92, 46, 0.15),
      rgba(106, 154, 90, 0.32)
    ) border-box;
}

.showcase-carousel__track > .showcase-card {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  margin: 0;
  border-left: 1px solid rgba(21, 37, 53, 0.08);
  border-right: 1px solid rgba(21, 37, 53, 0.08);
}

.showcase-carousel__nav {
  display: contents;
}

.showcase-carousel__hit {
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(21, 37, 53, 0.32);
  cursor: pointer;
  transition: color 0.25s ease-out, background 0.25s ease-out;
  align-self: stretch;
}

.showcase-carousel__hit--prev {
  grid-column: 1;
}

.showcase-carousel__hit--next {
  grid-column: 3;
}

.showcase-carousel__hit:hover {
  color: rgba(21, 37, 53, 0.8);
  background: rgba(21, 37, 53, 0.04);
}

.showcase-carousel__hit:focus-visible {
  outline: 2px solid rgba(90, 138, 181, 0.55);
  outline-offset: -2px;
  color: rgba(21, 37, 53, 0.9);
}

.showcase-carousel__hit svg {
  flex-shrink: 0;
}

.showcase-card {
  position: relative;
  border: none;
  border-radius: 0;
  padding: 1.25rem 1.35rem;
  box-shadow: none;
  background: transparent;
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.showcase-card.is-active {
  display: flex;
  animation: showcase-card-in 0.4s ease-out;
}

@keyframes showcase-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.showcase-card__badge {
  position: relative;
  align-self: flex-end;
  z-index: 0;
  font-size: 0.88rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #2d5a7b;
}

.showcase-card__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1.5px solid currentColor;
  border-radius: 0;
  background: #e8f0f8;
  transform: skewX(-14deg);
  transform-origin: center;
}

.showcase-card__badge--mobile {
  color: #3d5c2e;
}

.showcase-card__badge--mobile::before {
  background: #eef4e8;
}

.showcase-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: #152535;
  line-height: 1.3;
}

.showcase-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a5d72;
  max-width: none;
  opacity: 1;
}

.showcase-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.showcase-card__list li {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #3d4f63;
  padding-left: 1.1rem;
  position: relative;
}

.showcase-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5a8ab5;
}

.showcase-card:has(.showcase-card__badge--mobile) .showcase-card__list li::before {
  background: #6a9a5a;
}

.showcase-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.showcase-card__tags span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #f4f6f8;
  color: #4a5d72;
  border: 1px solid rgba(21, 37, 53, 0.06);
}

@media (max-width: 768px) {
  /* Naturalne przewijanie — bez snapu w całą sekcję */
  .snap-container {
    scroll-snap-type: none;
  }

  .snap-section {
    height: auto;
    min-height: 100svh;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    justify-content: flex-start;
    overflow: visible;
    padding-top: clamp(1.5rem, 5vw, 2rem);
    padding-bottom: clamp(2rem, 6vw, 3rem);
  }

  .section-1 {
    position: relative;
    min-height: 100svh;
    padding-top: 0;
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
    padding-bottom: 0;
  }

  .section-1 .section-logo--lg {
    position: absolute;
    top: calc(clamp(1rem, 3vw, 1.5rem) + 20px);
    left: clamp(1rem, 4vw, 1.5rem);
    z-index: 2;
    width: 50%;
    height: auto;
    margin: 0;
  }

  .section-2 .section-logo--sm,
  .section-3 .section-logo--sm,
  .section-4 .section-logo--sm,
  .section-5 .section-logo--sm {
    display: none;
  }

  .hero-carousel {
    flex: 1 1 auto;
    position: relative;
    width: 100%;
    min-height: 100svh;
  }

  .hero-carousel__viewport {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: auto;
    min-height: 0;
    overflow: visible;
    z-index: 1;
  }

  .hero-carousel__track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
  }

  .hero-carousel__nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    z-index: 2;
    margin: 0;
    padding: 0;
  }

  .hero-slide {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    bottom: auto !important;
    width: min(420px, 92vw);
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0 auto;
    padding: 1.15rem 1rem;
    box-shadow: none;
    filter: none;
    transform: none !important;
    transform-origin: center center;
    overflow: visible;
    visibility: hidden;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .hero-slide.is-inactive {
    visibility: hidden;
    opacity: 0 !important;
    pointer-events: none !important;
    filter: none !important;
  }

  .hero-slide.is-active {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: none;
    filter: none;
    overflow: visible;
    z-index: 1;
  }

  .hero-slide__title {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
    flex-shrink: 0;
  }

  .hero-features,
  .hero-slide.is-active .hero-features {
    flex: 0 0 auto;
    overflow: visible;
  }

  .hero-feature__text {
    font-size: 0.85rem;
  }

  .section-2,
  .section-3,
  .section-4 {
    justify-content: flex-start;
    overflow: visible;
  }

  .section-5 {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .section-5 .contact-panel {
    margin: auto 0;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase .showcase__header,
  .showcase .showcase__lead {
    grid-column: 1;
    text-align: left;
    align-items: flex-start;
  }

  .showcase-carousel {
    gap: 0;
  }

  .showcase-card {
    padding: 1rem 1.1rem;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .typewriter {
    width: 13ch;
    border-right: none;
    animation: none;
  }

  .showcase-reveal .showcase__header,
  .showcase-reveal .showcase__lead,
  .showcase-reveal .showcase-carousel {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section-logo--sm {
    opacity: 1;
    transition: none;
  }

  .showcase-card,
  .showcase-card.is-active {
    transition: none;
    animation: none;
  }

  .showcase-card:hover,
  .showcase-carousel__track:hover {
    transform: none;
  }

  .link-underline {
    background-size: 100% 2px;
    transition: none;
  }

  .hero-slide,
  .hero-slide .hero-animate,
  .hero-slide .hero-feature {
    opacity: 1;
    transform: scale(1);
    filter: none;
    transition: none;
  }

  .hero-slide.is-inactive {
    transform: scale(0.8);
    opacity: 0.85;
    filter: blur(4px);
  }

  .hero-cta svg {
    animation: none;
  }

  .hero-carousel__arrow:hover {
    transform: none;
  }
}
