.delhi-stage {
  padding: clamp(0.8rem, 2.5vw, 1.75rem) 0 clamp(2rem, 5vw, 4rem);
  scroll-behavior: smooth;
}

.delhi-layout {
  width: min(100%, 76rem);
}

.delhi-back-link {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 14px rgba(65, 45, 28, 0.16);
  color: #8c3425;
  font-weight: 700;
}

.delhi-back-link:hover {
  color: #632319;
  text-decoration: none;
}

.delhi-journal {
  overflow: hidden;
  border: 1px solid rgba(114, 64, 39, 0.2);
  border-radius: 24px;
  background: #fffaf1;
  box-shadow: 0 20px 60px rgba(75, 48, 28, 0.3);
  color: #30261f;
}

.delhi-hero {
  position: relative;
  min-height: 28rem;
  padding: clamp(1.3rem, 5vw, 4.4rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #b94f36;
  color: #fffaf2;
}

.delhi-hero::before,
.delhi-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.delhi-hero::before {
  width: min(56vw, 38rem);
  aspect-ratio: 1;
  right: clamp(-12rem, -11vw, -5rem);
  top: clamp(-13rem, -14vw, -7rem);
  border: clamp(1.2rem, 3vw, 2.5rem) solid rgba(255, 225, 171, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 clamp(1.2rem, 3vw, 2.5rem) rgba(255, 225, 171, 0.08);
}

.delhi-hero::after {
  right: 8%;
  bottom: -3.8rem;
  width: 15rem;
  height: 10rem;
  border: 0.8rem solid rgba(255, 236, 201, 0.22);
  border-bottom: 0;
  border-radius: 8rem 8rem 0 0;
}

.delhi-hero > * {
  position: relative;
  z-index: 1;
}

.delhi-breadcrumbs {
  display: flex;
  gap: 0.42rem;
  margin-bottom: auto;
  flex-wrap: wrap;
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
}

.delhi-breadcrumbs a {
  color: #fff8e9;
}

.delhi-kicker,
.section-label {
  margin: 0 0 0.25rem;
  color: #a33c2b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.delhi-hero .delhi-kicker {
  color: #ffe3ae;
}

.delhi-hero h1 {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.delhi-deck {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: #fff3dc;
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  line-height: 1.55;
}

.delhi-tags {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.delhi-tags span {
  padding: 0.36rem 0.68rem;
  border: 1px solid rgba(255, 247, 228, 0.4);
  border-radius: 999px;
  background: rgba(92, 29, 21, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
}

.delhi-stats {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.delhi-stats span {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.43rem 0.7rem;
  border-radius: 8px;
  align-items: baseline;
  background: rgba(92, 29, 21, 0.3);
  color: #fff0d5;
  font-size: 0.72rem;
}

.delhi-stats strong {
  color: #fff;
  font-size: 0.9rem;
}

.delhi-body {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.2rem, 4vw, 3.5rem);
  align-items: start;
}

.delhi-contents {
  position: sticky;
  top: 1rem;
  display: flex;
  padding: 1rem;
  border: 1px solid #e6d7c1;
  border-radius: 14px;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 8px 24px rgba(72, 49, 31, 0.08);
}

.delhi-contents p {
  margin: 0 0 0.45rem;
  color: #81513e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.delhi-contents a {
  padding: 0.32rem 0;
  color: #5f5044;
  font-size: 0.82rem;
}

.delhi-contents a:hover {
  color: #9d3526;
}

.delhi-content {
  min-width: 0;
}

.journal-section {
  padding: 0.2rem 0 clamp(2.8rem, 7vw, 5rem);
  scroll-margin-top: 1rem;
}

.journal-section + .journal-section {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid #e6d7c1;
}

.journal-section h2 {
  margin: 0;
  color: #3c2b22;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.journal-section > p:not(.section-label, .current-info) {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: #55483d;
  font-size: 1.03rem;
  line-height: 1.75;
}

.delhi-opening > p:not(.section-label) {
  font-size: clamp(1.05rem, 2.1vw, 1.22rem);
}

.route-grid,
.field-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.route-card,
.field-notes-grid article,
.detail-grid article,
.old-delhi-list article,
.place-atlas article {
  border: 1px solid #e2d1ba;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(79, 52, 31, 0.07);
}

.route-card {
  padding: 1rem;
}

.route-card span {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #b94f36;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.route-card h3,
.field-notes-grid h3,
.detail-grid h3,
.old-delhi-list h3,
.place-atlas h3 {
  margin: 0.7rem 0 0;
  color: #422e24;
  font-size: 1.08rem;
}

.route-card p,
.field-notes-grid p,
.detail-grid p,
.old-delhi-list p,
.place-atlas p {
  margin: 0.35rem 0 0;
  color: #65564a;
  font-size: 0.88rem;
  line-height: 1.58;
}

.place-heading {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.place-heading > span {
  display: inline-flex;
  width: 3.3rem;
  height: 3.3rem;
  flex: 0 0 auto;
  border: 1px solid #b94f36;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #a43b2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.detail-grid article {
  padding: 1rem;
}

.detail-grid h3,
.field-notes-grid h3,
.old-delhi-list h3 {
  margin-top: 0;
}

.journal-note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid #c65b3e;
  background: #f6ead7;
  color: #594638;
  font-size: 0.9rem;
  line-height: 1.6;
}

.old-delhi-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.old-delhi-list article {
  padding: 1rem;
}

.place-atlas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.place-atlas article {
  padding: 1rem;
}

.place-atlas .place-card-wide {
  grid-column: 1 / -1;
  padding: 1.15rem;
  background: #fffdf8;
}

.place-atlas .place-type {
  margin: 0 0 0.28rem;
  color: #a33c2b;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.place-atlas h3 {
  margin-top: 0;
}

.place-atlas .place-detail {
  padding-top: 0.55rem;
  border-top: 1px solid #eadfce;
  color: #7a5746;
  font-size: 0.8rem;
}

.field-notes-grid article {
  padding: 1rem;
}

.current-info {
  margin: 1rem 0 0;
  color: #625144;
  font-size: 0.88rem;
}

.current-info a {
  color: #943122;
  font-weight: 700;
}

.research-section > p:not(.section-label) {
  max-width: 52rem;
}

.source-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid #e2d1ba;
  border-radius: 11px;
  background: #fff;
}

.source-list a {
  color: #943122;
  font-size: 0.88rem;
  font-weight: 700;
}

.source-list span {
  color: #6a594d;
  font-size: 0.78rem;
  line-height: 1.45;
}

.journal-footer {
  padding: 1.1rem;
  border-radius: 13px;
  background: #3e3028;
  color: #f9ead4;
}

.journal-footer p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
}

.journal-footer a {
  display: inline-block;
  margin-top: 0.65rem;
  color: #ffd99e;
  font-size: 0.78rem;
  font-weight: 700;
}

.delhi-back-link:focus-visible,
.delhi-breadcrumbs a:focus-visible,
.delhi-contents a:focus-visible,
.current-info a:focus-visible,
.source-list a:focus-visible,
.journal-footer a:focus-visible {
  outline: 3px solid #d96c4b;
  outline-offset: 3px;
}

@media (max-width: 899.98px) {
  .delhi-body {
    grid-template-columns: 1fr;
  }

  .delhi-contents {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delhi-contents p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .delhi-journal {
    border-radius: 17px;
  }

  .delhi-hero {
    min-height: 30rem;
    padding: 1.15rem;
  }

  .delhi-body {
    padding: 1rem 0.75rem 1.25rem;
  }

  .delhi-contents,
  .route-grid,
  .field-notes-grid,
  .detail-grid,
  .place-atlas {
    grid-template-columns: 1fr;
  }

  .delhi-contents p {
    grid-column: auto;
  }

  .place-heading {
    align-items: flex-start;
  }

  .place-atlas .place-card-wide {
    grid-column: auto;
  }
}

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