@import url("../lkt/styles.css");

.work-hero { align-items: center; }

.shelf-map {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(23, 35, 31, 0.22);
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(23, 35, 31, 0.18);
  transform: rotate(1deg);
}

.shelf-map .eyebrow { color: var(--lime); }
.shelf-map ol { margin: 0; padding: 0; list-style: none; counter-reset: shelf; }
.shelf-map li {
  counter-increment: shelf;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.shelf-map li::before {
  content: "0" counter(shelf);
  grid-row: 1 / 3;
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}
.shelf-map strong { margin-bottom: 0.35rem; font-size: 1.05rem; }
.shelf-map span { color: #bdc9c3; font-size: 0.85rem; line-height: 1.55; }

.work-section {
  padding: 7rem max(1rem, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
}

.work-section-dark { background: var(--ink); color: var(--white); }
.work-section-soft { background: var(--paper-deep); }

.work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}
.work-heading h2 { margin-bottom: 0; }
.work-heading > p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.work-section-dark .eyebrow { color: var(--lime); }
.work-section-dark .work-heading > p { color: #bdc9c3; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.5rem;
}
.work-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.62);
}
.work-section-dark .work-grid article {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}
.work-kind {
  margin-bottom: 2.7rem;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.work-grid h3 { margin-bottom: 0.8rem; font-size: 1.28rem; }
.work-grid article > p:not(.work-kind) { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.work-section-dark .work-grid article > p:not(.work-kind) { color: #bdc9c3; }
.work-grid a {
  margin-top: auto;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 750;
  text-underline-offset: 4px;
}
.work-section-dark .work-grid a { color: var(--lime); }
.link-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; margin-top: auto; }
.link-row a { margin-top: 0; }

.section-route {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
  text-underline-offset: 4px;
}
.work-section-dark .section-route { color: var(--lime); }

.services {
  padding: 7rem max(1rem, calc((100vw - 1180px) / 2));
  background: var(--lime);
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}
.services-copy { position: sticky; top: 2rem; align-self: start; }
.services-copy > p:last-child { max-width: 520px; color: #34413b; line-height: 1.7; }
.service-list { border-top: 1px solid rgba(23, 35, 31, 0.3); }
.service-list article {
  min-height: 150px;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(23, 35, 31, 0.3);
}
.service-list article > span { color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.service-list h3 { margin-bottom: 0.4rem; font-size: 1.12rem; }
.service-list p { margin-bottom: 0; color: #34413b; font-size: 0.84rem; line-height: 1.55; }
.service-list a { font-size: 0.85rem; font-weight: 800; text-underline-offset: 4px; white-space: nowrap; }

@media (max-width: 900px) {
  .shelf-map { transform: none; }
  .work-heading, .services { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid article { min-height: 250px; }
  .services-copy { position: static; }
}

@media (max-width: 560px) {
  .work-section, .services { padding-top: 5rem; padding-bottom: 5rem; }
  .service-list article { grid-template-columns: 2rem 1fr; align-items: start; }
  .service-list article > a { grid-column: 2; white-space: normal; }
}
