/* ─────────────────────────────────────────────────────────────────────
   Ennovation keeps the look of its own deck (Ennovation 重排.ai, 重排2.ai):
   a dark green laid over a photo of e-waste, lime and orange, a square
   before each chapter name, rounded lime and orange cards, thin outlines,
   and Lucida Grande. Loaded after case2.css; everything is under body.enn.
   ───────────────────────────────────────────────────────────────────── */
body.enn {
  --bg: #182a27; --ink: #fff; --ink2: #cacbcd; --muted: #93a6a0; --line: rgba(186, 216, 116, 0.24);
  --accent: #bad874; --lime: #bad874; --orange: #fcbb66; --deep: #182a27; --slate: #324b47;
  --deck: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--deck);
}
/* the deck's background: its e-waste photo under the dark green, pinned to the window */
body.enn::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: #182a27 url("../../images/ennovation-bg.jpg") center / cover no-repeat;
}
body.enn ::selection { background: var(--lime); color: var(--deep); }

/* title and facts */
body.enn .p-head h1 { font-size: clamp(36px, 4.4vw, 62px); letter-spacing: -0.02em; line-height: 1; text-shadow: 0.03em 0.07em 0 #4c6263; }
body.enn .p-statement { max-width: 54ch; color: #fff; font-size: 14.5px; line-height: 1.6; }
body.enn .p-facts dt { color: var(--lime); font-family: var(--deck); font-weight: 700; }
body.enn .p-facts dt { font-size: 12px; }
body.enn .p-facts dd { color: var(--ink2); font-size: 13.5px; }

/* chapter names as on the deck: a square, then the name in lime or orange */
body.enn .p-k { display: inline-flex; align-items: center; gap: 0.45em; font: 700 clamp(16px, 1.3vw, 19px)/1.2 var(--deck); color: var(--lime); }
body.enn .p-k::before { content: ""; flex: none; width: 0.72em; height: 0.72em; background: currentColor; }
body.enn .p-ch.o .p-k { color: var(--orange); }
body.enn .p-ch h2 { font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.4; letter-spacing: -0.005em; font-weight: 700; margin: 16px 0 14px; }
body.enn .p-ch p { font-size: 14px; line-height: 1.66; }
body.enn .p-ch p b { color: var(--lime); }
body.enn .p-ch.o p b { color: var(--orange); }

/* pictures: the deck's rounded corners on its own dark ground, no white frame */
body.enn .shots figure > img { padding: 0; background: none; border-radius: 14px; box-shadow: 0 0 0 1px rgba(186, 216, 116, 0.16), 0 26px 50px -30px rgba(0, 0, 0, 0.75); }
body.enn .shots figcaption { color: var(--muted); font-size: 12px; }
body.enn .shots.narrow { max-width: 520px; }

/* the cover: a lime card with three phones standing out of it */
body.enn .p-hero.enn-cover { margin-top: clamp(80px, 10vw, 150px); }
.enn-card {
  position: relative; aspect-ratio: 2.9 / 1;
  display: flex; align-items: center;
  background: var(--lime); border-radius: clamp(28px, 4.4vw, 70px);
  padding: 0 clamp(24px, 4vw, 64px);
}
.enn-card p { margin: 0; max-width: 36%; color: var(--slate); font: 700 clamp(15px, 1.6vw, 24px)/1.3 var(--deck); letter-spacing: -0.01em; }
body.enn .enn-card img { position: absolute; right: 3%; bottom: 4%; width: 58%; padding: 0; background: none; box-shadow: none; border-radius: 0; filter: drop-shadow(0 26px 30px rgba(24, 42, 39, 0.35)); }

/* personas: a name, a rounded card with the figure standing in it, a quote, goals */
.enn-personas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(18px, 2.4vw, 34px); max-width: 1040px; margin-top: 30px; align-items: start; }
.enn-p { margin: 0; text-align: center; }
.enn-p:nth-child(odd) { margin-top: 56px; }
.enn-p h3 { margin: 0; font: 700 clamp(18px, 1.6vw, 24px)/1.1 var(--deck); color: var(--lime); }
.enn-p.o h3 { color: var(--orange); }
.enn-p-card { position: relative; aspect-ratio: 0.66; margin-top: 30%; background: var(--lime); border-radius: clamp(22px, 2.6vw, 40px); }
.enn-p.o .enn-p-card { background: var(--orange); }
body.enn .enn-p-card img { position: absolute; left: -9%; bottom: 0; width: auto; height: 112%; max-width: none; border-radius: 0; }
.enn-p-card .age { position: absolute; z-index: 1; top: 8%; right: 7%; color: #334b47; font: 700 clamp(11px, 1vw, 14px)/1.15 var(--deck); text-align: right; }
.enn-p.o .age { color: #494033; }
.enn-p-card .age b { display: block; margin-bottom: 4px; font-size: clamp(26px, 2.7vw, 40px); line-height: 1; }
.enn-p blockquote { margin: 18px 0 0; padding: 10px 12px; border: 1px solid rgba(202, 203, 205, 0.45); border-radius: 3px; color: #e2e3e4; font-size: 11.5px; line-height: 1.45; text-align: left; }
.enn-p .goals { margin: 14px 0 0; color: var(--ink2); font-size: 12px; line-height: 1.5; max-width: none; }
body.enn .enn-p .goals b { display: block; margin-bottom: 2px; color: #fff; font-size: 13.5px; }

/* the app: twelve screens in two rows of six, named as on the deck, after the app chapter (not beside its sticky text) */
.enn-screens { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px clamp(12px, 1.6vw, 22px); margin-top: 64px; }
.enn-screens figure { margin: 0; }
body.enn .enn-screens img { border-radius: 0; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45)); }
.enn-screens figcaption { margin-top: 10px; text-align: center; color: #fff; font: 700 12px/1.3 var(--deck); }

/* the deck: every page, four to a row, and a card that opens the PDF in the last row */
body.enn .shots.enn-deck { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; max-width: 1180px; }
body.enn .enn-deck figure > img { border-radius: 7px; }
body.enn .enn-deck figcaption { font-size: 11.5px; margin-top: 7px; }
.enn-pdf {
  grid-column: span 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 20px clamp(18px, 2.4vw, 32px); border: 1.5px dashed rgba(186, 216, 116, 0.6); border-radius: 10px;
  background: rgba(50, 75, 71, 0.4);
}
.enn-pdf p { margin: 0; color: var(--ink2); font-size: 12.5px; line-height: 1.5; max-width: none; }
.enn-pdf p strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.enn-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; background: var(--lime); color: var(--slate); font: 700 13.5px/1.2 var(--deck); text-decoration: none; transition: background 0.2s; }
.enn-btn:hover { background: #cde68f; }

/* the end of the page on the dark ground */
body.enn .p-next strong { letter-spacing: -0.02em; font-size: clamp(24px, 2.8vw, 38px); }
body.enn .p-crate a, body.enn .p-foot { font-size: 12.5px; }
body.enn .p-crate a[aria-current="page"] img { box-shadow: 0 0 0 2px var(--lime); }

@media (max-width: 1100px) {
  .enn-screens { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.enn .shots.enn-deck { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .enn-pdf { grid-column: span 2; }
}
@media (max-width: 860px) {
  .enn-personas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enn-p:nth-child(odd) { margin-top: 0; }
  .enn-p:nth-child(even) { margin-top: 40px; }
  body.enn .enn-p-card img { left: -12%; height: 100%; }
}
@media (max-width: 720px) {
  .enn-card { display: block; aspect-ratio: auto; padding: 26px 22px 0; }
  .enn-card p { max-width: none; }
  body.enn .enn-card img { position: static; width: 104%; margin: 8px -2% -9%; }
  body.enn .p-hero.enn-cover { margin-top: 48px; margin-bottom: 40px; }
}
@media (max-width: 600px) {
  .enn-screens { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
  .enn-screens figcaption { font-size: 11.5px; }
  body.enn .shots.enn-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .enn-pdf { grid-column: span 1; flex-direction: column; align-items: flex-start; padding: 14px; }
  .enn-pdf p strong { font-size: 15px; }
  .enn-btn { padding: 8px 14px; font-size: 13.5px; }
}
