.intro-section {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  min-height: calc(100vh - 180px);
  padding-top: 138px;
  padding-bottom: 132px;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.logo {
  font-size: 2.4rem;
  margin-bottom: 34px;
}

.intro-text {
  width: 100%;
}

.intro-text p {
  margin: 0 0 34px;
  font-size: 1.04rem;
  line-height: 1.9;
  color: rgba(34, 34, 34, 0.88);
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-read-in {
  margin: 26px 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(34, 34, 34, 0.56);
}

.intro-read-in-prefix {
  margin-right: 6px;
}

.intro-read-in-links {
  display: inline-flex;
  align-items: center;
}

.intro-read-in-link {
  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.intro-read-in-link:hover {
  color: rgba(0, 0, 0, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.3);
}

.intro-read-in-separator {
  margin: 0 6px;
  color: rgba(34, 34, 34, 0.36);
}

.main-content {
  padding-top: 0;
  padding-bottom: 0;
}

.home-sections-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  padding: 88px 0 104px;
  background: rgb(248, 246, 243);
}

.home-sections-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-sections-band .content-section {
  margin-top: 0;
  text-align: center;
}

.home-sections-band .content-section + .content-section {
  margin-top: 88px;
}

.section-title-stacked {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.section-title-stacked small {
  display: block;
  color: rgba(34, 34, 34, 0.46);
  font-size: 0.48em;
  font-weight: 700;
  line-height: 1;
}

.section-title-stacked small:empty {
  display: none;
}

.timeline-section {
  --timeline-tape-color: rgba(255, 96, 142, 0.42);
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 16px;
  max-height: 496px;
  margin-top: 24px;
  padding: 18px 10px 10px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 34, 34, 0.24) transparent;
  text-align: left;
}

.timeline-list::-webkit-scrollbar {
  width: 8px;
}

.timeline-list::-webkit-scrollbar-track {
  background: transparent;
}

.timeline-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.18);
}

.timeline-card {
  position: relative;
  min-height: 104px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 10px 24px rgba(88, 82, 68, 0.12),
    0 2px 8px rgba(88, 82, 68, 0.08);
}

.timeline-card-content {
  display: block;
  padding: 24px 28px 26px 56px;
}

.timeline-card-link {
  position: relative;
  display: block;
  min-height: 104px;
  padding: 24px 72px 26px 56px;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.timeline-card-link:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.timeline-card-link:focus-visible {
  outline: 2px solid rgba(255, 95, 147, 0.32);
  outline-offset: 4px;
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -18px;
  width: 68px;
  height: 24px;
  border-radius: 2px;
  background: var(--timeline-tape-color);
  clip-path: polygon(
    0 0,
    4% 9%,
    1% 18%,
    5% 29%,
    2% 39%,
    5% 50%,
    1% 61%,
    4% 72%,
    1% 83%,
    4% 92%,
    0 100%,
    100% 100%,
    96% 91%,
    99% 82%,
    95% 70%,
    98% 60%,
    95% 49%,
    99% 38%,
    96% 27%,
    99% 17%,
    96% 8%,
    100% 0
  );
  opacity: 0.9;
  transform: rotate(-22deg);
  box-shadow: 0 2px 6px rgba(88, 82, 68, 0.08);
}

.timeline-card:nth-child(7n + 1) {
  --timeline-tape-color: rgba(255, 96, 142, 0.42);
}

.timeline-card:nth-child(7n + 2) {
  --timeline-tape-color: rgba(255, 171, 75, 0.38);
}

.timeline-card:nth-child(7n + 3) {
  --timeline-tape-color: rgba(255, 222, 98, 0.4);
}

.timeline-card:nth-child(7n + 4) {
  --timeline-tape-color: rgba(116, 207, 155, 0.38);
}

.timeline-card:nth-child(7n + 5) {
  --timeline-tape-color: rgba(95, 169, 255, 0.36);
}

.timeline-card:nth-child(7n + 6) {
  --timeline-tape-color: rgba(103, 120, 224, 0.34);
}

.timeline-card:nth-child(7n) {
  --timeline-tape-color: rgba(166, 106, 222, 0.36);
}

.timeline-date {
  display: block;
  margin-bottom: 14px;
  color: #ff5f93;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.timeline-text {
  margin: 0;
  color: rgba(34, 34, 34, 0.82);
  font-size: 0.98rem;
  line-height: 1.75;
}

.timeline-link-indicator {
  position: absolute;
  top: 24px;
  right: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: rgba(255, 95, 147, 0.68);
  pointer-events: none;
}

.timeline-link-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.timeline-scroll-hint {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 16px;
  color: rgba(34, 34, 34, 0.34);
  font-size: 0.82rem;
  line-height: 1.2;
}

.timeline-scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 22px;
  color: rgba(34, 34, 34, 0.26);
}

.timeline-scroll-arrow-icon {
  display: block;
  width: 18px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-lab-highlight {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 320px;
  grid-auto-flow: column;
  gap: 28px 32px;
  width: 100vw;
  margin-top: 24px;
  margin-left: calc(50% - 50vw);
  padding: 8px clamp(96px, 16vw, 256px) 32px;
  box-sizing: border-box;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 34, 34, 0.2) transparent;
  scroll-snap-type: x proximity;
  text-align: left;
}

.home-lab-highlight::-webkit-scrollbar {
  height: 8px;
}

.home-lab-highlight::-webkit-scrollbar-track {
  background: transparent;
}

.home-lab-highlight::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.16);
}

.home-lab-card {
  min-width: 0;
  scroll-snap-align: start;
}

.home-lab-card-link {
  display: flex;
  flex-direction: column;
  height: 332px;
  padding: 16px;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(88, 82, 68, 0.08),
    0 2px 8px rgba(88, 82, 68, 0.05);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.home-lab-card-link:hover {
  opacity: 0.94;
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(88, 82, 68, 0.11),
    0 3px 10px rgba(88, 82, 68, 0.06);
}

.home-lab-status {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.64rem;
  line-height: 1;
  text-transform: uppercase;
}

.home-lab-status-active {
  color: #4d9c60;
  background: rgba(96, 191, 113, 0.16);
}

.home-lab-status-wip {
  color: #4c98c4;
  background: rgba(93, 181, 231, 0.16);
}

.home-lab-status-testing {
  color: #c1903d;
  background: rgba(232, 184, 91, 0.18);
}

.home-lab-status-archived {
  color: #7c7f86;
  background: rgba(126, 132, 143, 0.14);
}

.home-lab-cover {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(34, 34, 34, 0.06);
}

.home-lab-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-lab-title {
  margin: 15px 0 8px;
  color: rgba(34, 34, 34, 0.94);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.18;
}

.home-lab-description {
  margin: 0;
  color: rgba(75, 84, 94, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.48;
}

.home-lab-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.home-lab-meta time {
  flex: 0 0 auto;
  color: rgba(98, 106, 116, 0.76);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.home-notes-highlight {
  width: 100vw;
  margin-top: 24px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.home-polaroid-rail {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 250px;
  grid-auto-flow: column;
  gap: 34px 32px;
  align-items: start;
  padding: 8px clamp(96px, 16vw, 256px) 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 34, 34, 0.2) transparent;
  scroll-snap-type: x proximity;
}

.home-polaroid-rail::-webkit-scrollbar {
  height: 8px;
}

.home-polaroid-rail::-webkit-scrollbar-track {
  background: transparent;
}

.home-polaroid-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.16);
}

.home-polaroid-card {
  min-width: 0;
  scroll-snap-align: start;
  transform: rotate(var(--home-polaroid-rotate));
  transform-origin: center top;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.home-polaroid-card:hover {
  opacity: 0.92;
  transform: rotate(var(--home-polaroid-rotate)) translateY(-3px);
}

.home-polaroid-link {
  display: block;
  min-height: 324px;
  padding: 17px 17px 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow:
    0 12px 26px rgba(88, 82, 68, 0.12),
    0 2px 8px rgba(88, 82, 68, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.home-polaroid-photo {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(34, 34, 34, 0.06);
}

.home-polaroid-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-polaroid-category {
  display: inline-flex;
  margin-top: 14px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
}

.home-polaroid-category-diary {
  color: #d66c66;
  background: rgba(255, 138, 133, 0.16);
}

.home-polaroid-category-thoughts {
  color: #78a477;
  background: rgba(133, 191, 134, 0.18);
}

.home-polaroid-title {
  margin: 11px 0 8px;
  color: rgba(34, 34, 34, 0.9);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.28;
}

.home-polaroid-date {
  margin: 0;
  color: rgba(98, 106, 116, 0.74);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}


.home-see-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 176px;
  margin-top: 34px;
  padding: 13px 24px 13px 30px;
  border: 7px solid rgba(198, 114, 112, 0.34);
  border-radius: 999px;
  background: rgba(142, 68, 66, 0.92);
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 12px 22px rgba(86, 55, 45, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.home-see-more:hover {
  opacity: 0.94;
  transform: translateY(-2px);
  box-shadow:
    0 15px 26px rgba(86, 55, 45, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-see-more-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 0.7;
  transform: translateY(-1px);
}

.site-footer {
  margin-top: 0;
  background: #ffffff;
}

@media (max-width: 480px) {
  .intro-section {
    max-width: 100%;
    min-height: calc(100vh - 190px);
    padding: 72px 0 96px;
  }

  .logo {
    font-size: 2.1rem;
    margin-bottom: 28px;
  }

  .intro-text {
    max-width: 100%;
    padding: 0 14px;
  }

  .intro-text p {
    margin-bottom: 24px;
    font-size: 0.98rem;
    line-height: 1.82;
  }

  .intro-read-in {
    margin-top: 22px;
    font-size: 0.84rem;
  }

  .home-sections-band {
    margin-top: 72px;
    padding: 64px 0 76px;
  }

  .home-sections-inner {
    padding: 0 18px;
  }

  .home-sections-band .content-section + .content-section {
    margin-top: 64px;
  }

  .timeline-list {
    width: min(100%, 326px);
    gap: 7px;
    max-height: 270px;
    margin: 16px auto 0;
    padding: 11px 2px 5px 10px;
  }

  .timeline-card {
    min-height: 0;
    border-radius: 7px;
  }

  .timeline-card-content {
    padding: 12px 12px 12px 27px;
  }

  .timeline-card-link {
    min-height: 0;
    padding: 12px 34px 12px 27px;
  }

  .timeline-card::before {
    top: -3px;
    left: -8px;
    width: 40px;
    height: 15px;
  }

  .timeline-date {
    margin-bottom: 6px;
    font-size: 0.66rem;
  }

  .timeline-text {
    font-size: 0.7rem;
    line-height: 1.42;
  }

  .timeline-link-indicator {
    top: 12px;
    right: 11px;
    width: 17px;
    height: 17px;
  }

  .timeline-link-icon {
    width: 16px;
    height: 16px;
  }

  .home-lab-highlight {
    grid-auto-columns: 260px;
    gap: 20px;
    margin-top: 20px;
    padding: 4px 80px 24px;
  }

  .home-lab-card-link {
    height: 292px;
    padding: 13px;
  }

  .home-lab-cover {
    aspect-ratio: 1.55 / 1;
  }

  .home-lab-title {
    font-size: 0.98rem;
  }

  .home-lab-description {
    font-size: 0.73rem;
    line-height: 1.48;
  }

  .home-notes-highlight {
    margin-top: 20px;
  }

  .home-polaroid-rail {
    grid-auto-columns: 204px;
    gap: 24px 22px;
    padding: 6px 80px 26px;
  }

  .home-polaroid-link {
    min-height: 272px;
    padding: 13px 13px 18px;
  }

  .home-polaroid-title {
    font-size: 0.96rem;
  }

  .home-polaroid-date {
    font-size: 0.72rem;
  }

  .home-see-more {
    gap: 16px;
    min-width: 152px;
    margin-top: 26px;
    padding: 11px 20px 11px 25px;
    border-width: 6px;
    font-size: 0.9rem;
  }

  .home-see-more-arrow {
    width: 12px;
    height: 12px;
    font-size: 1.65rem;
  }
}
