/* ND CASE STUDY — 11LINES layer (enqueued only on /case-study/11lines, after the shared base).
   Real client. Colour (warm stone + deep green + 11Lines orange-red) + the .lines-* bespoke sections.
   Display type is Georgia (a system serif — no @font-face); body copy stays Montserrat (in the base).
   The mockup's .case-topbar, .case-sidebar__bottom and bespoke .case-footer are intentionally dropped
   (template: no sub-bar, no bottom pager, and the REAL ND footer via get_footer). */
.eleven-lines-body {
  overflow-x: hidden;
  background: #17201b;
}

.eleven-case-study {
  --case-bg: #edeae8;
  --case-side: #17201b;
  --case-paper: #f8f6f2;
  --case-ink: #17201b;
  --case-muted: rgba(248, 246, 242, 0.55);
  --case-line: rgba(248, 246, 242, 0.16);
  --case-red: #276b43;
  background: var(--case-bg);
}

.eleven-case-study .case-sidebar {
  background: linear-gradient(155deg, #1b261f 0%, #111713 100%);
}

/* Brand lockup — enlarged per the template (bigger client logo in the sidebar). */
.lines-brand {
  align-items: center;
  gap: 12px;
}

.lines-brand__eleven {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  letter-spacing: -0.08em;
}

.lines-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
  text-transform: none;
}

.eleven-case-study .case-project h1 {
  max-width: 500px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.eleven-case-study .case-disciplines li::before {
  color: #276b43;
}

.eleven-case-study .case-content {
  background: #edeae8;
}

.eleven-case-study .case-chapter + .case-chapter {
  margin-top: 24px;
}

.lines-browser,
.lines-performance,
.lines-editorial-image,
.lines-category-strip,
.lines-outcome-gallery,
.lines-quote {
  overflow: hidden;
  border-radius: 22px;
}

/* Challenge — live-site browser mock */
.lines-browser {
  padding: 12px;
  background: #17201b;
  box-shadow: 0 26px 70px rgba(42, 32, 22, 0.16);
}

.lines-browser__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 36px;
  padding: 0 8px 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lines-browser__bar > span:last-child {
  justify-self: end;
}

.lines-browser__bar > div {
  display: flex;
  gap: 5px;
}

.lines-browser__bar > div span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.lines-site-preview {
  position: relative;
  min-height: min(720px, 76vh);
  overflow: hidden;
  border-radius: 14px;
  background: #f1dfc4;
  isolation: isolate;
}

.lines-site-preview::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 23, 18, 0.74) 0%, rgba(19, 23, 18, 0.32) 48%, rgba(19, 23, 18, 0.02) 74%);
  content: "";
}

.lines-site-preview > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* Hero now shows the full 11Lines website screenshot at its natural aspect — no mockup overlay/scrim
   (Nathan, 2026-08-14: use the new hero image). */
.lines-site-preview--shot { min-height: 0; background: transparent; }
.lines-site-preview--shot::after { display: none; }
.lines-site-preview--shot > img { position: static; inset: auto; width: 100%; height: auto; object-fit: unset; display: block; }

.lines-site-preview__nav {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  color: #fff;
}

.lines-site-preview__logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: Georgia, "Times New Roman", serif;
}

.lines-site-preview__logo strong {
  font-size: 34px;
  letter-spacing: -0.1em;
}

.lines-site-preview__logo span {
  font-size: 18px;
}

.lines-site-preview__nav > div:last-child {
  display: flex;
  gap: 25px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.lines-site-preview__copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: clamp(30px, 6vw, 84px);
  max-width: 680px;
  color: #fff;
  transform: translateY(-42%);
}

.lines-site-preview__copy > span:first-child {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lines-site-preview__copy h2 {
  margin: 22px 0 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.lines-shop-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #fff;
  color: #17201b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.lines-shop-pill svg {
  width: 13px;
  height: 13px;
}

.lines-statement {
  grid-template-columns: 0.28fr 1.15fr 0.72fr;
  border-radius: 22px;
  background: #f8f6f2;
}

.lines-statement h2,
.lines-approach-copy h2,
.lines-performance h2,
.lines-services-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.lines-approach-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.lines-editorial-image {
  position: relative;
  min-height: 720px;
  margin: 0;
  background: #d9ccb6;
}

.lines-editorial-image img,
.lines-editorial-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.lines-editorial-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(23, 32, 27, 0.84);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lines-approach-copy {
  min-height: 720px;
  border-radius: 22px;
  background: #fff9ef;
}

.lines-category-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  min-height: 540px;
  margin-top: 18px;
  background: #17201b;
}

.lines-category-strip figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.lines-category-strip img,
.lines-category-strip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lines-category-strip figure:hover :is(img, video) {
  transform: scale(1.035);
}

.lines-category-strip figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

/* Outcome — performance panel + animated stats */
.lines-performance {
  padding: clamp(36px, 6vw, 78px);
  background: #e6e2e5;
  color: #171714;
}

.lines-performance__heading {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 50px;
  align-items: end;
  margin-bottom: 54px;
}

.lines-performance__heading span,
.lines-performance__heading p {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lines-performance__heading h2 {
  max-width: 820px;
  margin: 20px 0 0;
  font-size: clamp(50px, 6vw, 90px);
  line-height: 0.94;
}

.lines-performance__heading p {
  margin: 0;
  color: rgba(23, 23, 20, 0.48);
  line-height: 1.6;
}

.lines-performance__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
}

.lines-chart-card {
  --chart-accent: #276b43;   /* client green — the animated chart line + area */
  --chart-card-bg: #f8f7f6;   /* the card ground — the end-dot ring is punched out of it */
  min-width: 0;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #f8f7f6;
}

.lines-chart-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lines-stats {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}

.lines-stats article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-radius: 18px;
  background: #f8f7f6;
}

.lines-stats strong {
  color: #276b43;
  font-size: clamp(34px, 3.7vw, 58px);
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.lines-stats span {
  margin-top: 10px;
  color: rgba(23, 23, 20, 0.52);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lines-stats .lines-followers {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
}

.lines-followers b {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border: 6px solid #276b43;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.lines-followers > div {
  display: flex;
  flex-direction: column;
}

.lines-outcome-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  grid-template-rows: 340px 340px;
  gap: 18px;
  margin-top: 18px;
  background: transparent;
}

.lines-outcome-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #ddd4c5;
}

.lines-outcome-gallery__main {
  grid-row: 1 / -1;
}

.lines-outcome-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lines-services-card {
  border-radius: 22px;
  background: #fff9ef;
}

.lines-quote {
  min-height: 530px;
  margin-top: 18px;
  padding: clamp(38px, 7vw, 90px);
  background: #276b43;
  color: #fff;
}

.lines-quote > svg {
  width: 24px;
  height: 24px;
  opacity: 0.75;
}

.lines-quote blockquote {
  max-width: 1120px;
  margin: clamp(80px, 11vw, 150px) 0 36px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 74px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.lines-quote > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .lines-statement {
    grid-template-columns: 1fr;
  }

  .lines-approach-grid,
  .lines-performance__grid {
    grid-template-columns: 1fr;
  }

  .lines-performance__heading {
    grid-template-columns: 1fr;
  }

  .lines-editorial-image,
  .lines-approach-copy {
    min-height: 620px;
  }

  .lines-stats {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
  }

  .lines-stats .lines-followers {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .eleven-case-study .case-project h1 {
    font-size: clamp(46px, 13vw, 68px);
  }

  .lines-site-preview {
    min-height: 650px;
  }

  .lines-site-preview__nav {
    padding: 20px;
  }

  .lines-site-preview__nav > div:last-child {
    display: none;
  }

  .lines-site-preview__copy {
    left: 24px;
    max-width: calc(100% - 48px);
  }

  .lines-site-preview__copy h2 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .lines-category-strip {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lines-category-strip figure {
    min-height: 420px;
  }

  .lines-performance {
    padding: 34px 20px;
  }

  .lines-performance__heading h2 {
    font-size: 52px;
  }

  .lines-chart-card {
    min-height: 290px;
  }

  .lines-stats {
    grid-template-columns: 1fr;
  }

  .lines-stats article {
    min-height: 150px;
  }

  .lines-stats .lines-followers {
    flex-direction: row;
    align-items: center;
  }

  .lines-outcome-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 520px 360px 360px;
  }

  .lines-outcome-gallery__main {
    grid-row: auto;
  }

  .lines-quote {
    min-height: 620px;
    padding: 42px 24px;
  }
}

/* ── text-size increase (Nathan, 2026-08-13) ── 11Lines' challenge + approach bodies/eyebrows use the
   base .case-statement / .case-text-card and are already covered; only the quote eyebrow is bespoke. */
.lines-quote > span { font-size: 10px; }
