.logo-story-page {
  background: linear-gradient(180deg, #f6fbff 0, #fff 38%);
}

.logo-story-intro {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.logo-gallery {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.logo-story-intro {
  padding: 66px 0 56px;
}

.logo-story-intro .eyebrow,
.logo-gallery .eyebrow {
  color: #17638a;
}

.logo-story-intro h1 {
  max-width: 850px;
  margin: 10px 0 28px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.logo-story-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(30px, 4vw, 48px);
}

.logo-story-mark {
  width: min(100%, 730px);
  margin: 0 auto;
  padding: clamp(8px, 1.2vw, 16px);
  border: 1px solid #dcebf4;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 76, 112, 0.09);
}

.logo-story-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-story-copy {
  width: min(100%, 820px);
}

.logo-story-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.logo-story-copy p {
  margin: 0 0 18px;
  line-height: 1.9;
}

.logo-gallery-section {
  padding: 60px 0 88px;
  background: #eef7fc;
}

.logo-gallery h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.logo-gallery-intro {
  max-width: 760px;
  margin: 0 0 28px;
  line-height: 1.8;
}

.logo-work-carousel {
  border: 1px solid #d7e8f1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 76, 112, 0.09);
  overflow: hidden;
  touch-action: pan-y;
}

.logo-work-viewport {
  overflow: hidden;
}

.logo-work-track {
  display: flex;
  transition: transform 320ms ease;
}

.logo-work-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: clamp(16px, 3vw, 34px);
  margin: 0;
  text-align: center;
}

.logo-work-slide img {
  display: block;
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}

.logo-work-slide figcaption {
  margin-top: 14px;
  font-weight: 700;
  color: #1e526c;
}

.logo-work-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  padding: 18px;
  border-top: 1px solid #e5eff5;
}

.logo-work-controls button {
  min-width: 112px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #bad7e8;
  border-radius: 999px;
  background: #fff;
  color: #174b68;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.logo-work-controls button:hover:not(:disabled),
.logo-work-controls button:focus-visible {
  background: #e4f5ff;
}

.logo-work-controls button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.logo-work-controls output {
  min-width: 130px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

@media (max-width: 760px) {
  .logo-story-intro { width: calc(100% - 16px); }
  .logo-gallery { width: min(100% - 28px, 900px); }
  .logo-story-intro { padding: 42px 0 48px; }
  .logo-gallery-section { padding: 44px 0 64px; }
  .logo-work-slide { padding: 12px; }
  .logo-work-controls { gap: 8px; padding: 12px 8px; }
  .logo-work-controls button { min-width: 84px; padding: 8px; }
  .logo-work-controls output { min-width: 108px; font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-work-track { transition: none; }
}
