/* Life in Pictures page (site/life-in-pictures/). Every rule is scoped to body.lip, so it
   cannot affect the Sidelark Labs or Roll Call pages. Colours come from the app's dark icon:
   its indigo field, the sunset in the hero frame, and the amber-to-violet light path. */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

body.lip {
  --night: #0a0b1c;
  --indigo: #14163a;
  --indigo-2: #1b1e3d;
  --text: #f4eff7;
  --muted: #bdb8d8;
  --line: rgba(230, 169, 210, 0.2);
  --panel: rgba(255, 255, 255, 0.045);
  --rose: #e6a9d2;
  --amber: #f6b26b;
  --path: linear-gradient(90deg, #f6b26b 0%, #f0846e 32%, #e46fa6 64%, #9c8cf2 100%);
  --gutter: clamp(16px, 4.5vw, 40px);
  --measure: 1120px;

  margin: 0;
  color: var(--text);
  background-color: var(--night);
  background-image:
    radial-gradient(60rem 36rem at 85% -8%, rgba(228, 111, 166, 0.16), transparent 70%),
    radial-gradient(48rem 30rem at -10% 18%, rgba(156, 140, 242, 0.12), transparent 70%),
    linear-gradient(180deg, var(--indigo-2) 0%, var(--indigo) 38%, var(--night) 100%);
  background-repeat: no-repeat;
  font: 400 17px/1.6 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.lip *, body.lip *::before, body.lip *::after { box-sizing: border-box; }
body.lip img, body.lip svg { display: block; max-width: 100%; }
body.lip h1, body.lip h2, body.lip h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
body.lip p { margin: 0; }
body.lip p, body.lip li { text-wrap: pretty; }
body.lip a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
body.lip a:hover { text-decoration-thickness: 2px; }
body.lip a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
body.lip .skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 8px; background: var(--text); color: var(--night); font-weight: 600;
}
body.lip .skip-link:focus { top: 12px; }
body.lip .serif { font-family: "Newsreader", Georgia, serif; font-style: italic; font-weight: 400; }

body.lip .wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
body.lip .lip-header__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px;
  padding-top: 14px; padding-bottom: 14px;
}
body.lip .lip-header__home { display: flex; align-items: center; min-height: 44px; }
body.lip .lip-header__home img { width: 140px; height: auto; }
body.lip .lip-nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; list-style: none; }
body.lip .lip-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none;
}
body.lip .lip-nav a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Hero ---------- */
body.lip .hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center;
  gap: clamp(24px, 5vw, 64px); padding-top: clamp(32px, 7vw, 88px); padding-bottom: clamp(48px, 8vw, 104px);
}
body.lip .status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
body.lip .chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px;
  border: 1px solid rgba(246, 178, 107, 0.45); background: rgba(246, 178, 107, 0.1);
  color: #ffd9ae; font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
}
body.lip .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
body.lip .status__meta { color: var(--muted); font-size: 15px; font-weight: 500; }
body.lip .hero h1 {
  margin-top: 22px; font-size: clamp(50px, 8.2vw, 104px); letter-spacing: -0.02em; line-height: 0.98;
}
body.lip .hero__lede { margin-top: 22px; max-width: 30em; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: var(--text); }
body.lip .hero__availability { margin-top: 18px; color: var(--muted); font-size: 16px; }
body.lip .hero__availability strong { color: var(--text); font-weight: 600; }

/* Development disclaimer. Remove the <p class="dev-note"> blocks when the app ships. */
body.lip .dev-note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; max-width: 34em; padding: 12px 16px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--panel);
  color: var(--muted); font-size: 15px; line-height: 1.5;
}
body.lip .dev-note::before {
  content: "i"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%; border: 1.5px solid var(--rose); color: var(--rose);
  font: italic 400 14px/1 "Newsreader", Georgia, serif;
}

body.lip .hero__art { position: relative; display: grid; place-items: center; }
body.lip .hero__path { position: absolute; inset: 6% -12% -2% -30%; width: 142%; height: 96%; pointer-events: none; }
body.lip .hero__icon {
  position: relative; width: min(100%, 400px); height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 70px rgba(228, 111, 166, 0.18));
}

/* ---------- Sections ---------- */
body.lip .section { padding-top: clamp(56px, 8vw, 96px); }
body.lip .section-head { max-width: 40em; }
body.lip .eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--path); -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.lip h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 600; letter-spacing: -0.02em; }
body.lip h2 .serif { font-size: 1.08em; letter-spacing: -0.01em; }
body.lip .section-head p { margin-top: 16px; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
body.lip .rule { height: 2px; margin-top: clamp(56px, 8vw, 96px); border: 0; background: var(--path) content-box; opacity: 0.55; }

body.lip .points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
body.lip .point { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
body.lip .point h3 { font-size: 19px; font-weight: 600; }
body.lip .point p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* Steps: numbered along a thin light path */
body.lip .steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: step; }
body.lip .steps::before {
  content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; border-radius: 2px;
  background: var(--path); opacity: 0.7;
}
body.lip .step { position: relative; counter-increment: step; }
body.lip .step::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--indigo); border: 2px solid var(--rose); color: var(--text);
  font: italic 400 24px/1 "Newsreader", Georgia, serif;
}
body.lip .step h3 { margin-top: 18px; font-size: 21px; font-weight: 600; }
body.lip .step p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.55; }
body.lip .fine { margin-top: 26px; color: var(--muted); font-size: 15px; }

/* Where things stand */
body.lip .stand { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
body.lip .stand__col { padding: 24px 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
body.lip .stand__col h3 { font-size: 18px; font-weight: 600; }
body.lip .stand__col ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
body.lip .stand__col li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16px; line-height: 1.5; }
body.lip .stand__col li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; }
body.lip .stand__col--done li::before { background: var(--rose); }
body.lip .stand__col--doing li::before { border: 1.5px solid var(--amber); }
body.lip .shots-later { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* Availability */
body.lip .availability {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(246, 178, 107, 0.08), rgba(156, 140, 242, 0.08)), var(--panel);
}
body.lip .availability__icon { width: 112px; height: 112px; }
body.lip .availability h2 { font-size: clamp(26px, 3.4vw, 36px); }
body.lip .availability p { margin-top: 12px; color: var(--muted); }
body.lip .availability p:first-of-type { color: var(--text); }
body.lip .unavailable {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; padding: 0 18px; border-radius: 12px;
  border: 1px dashed rgba(244, 239, 247, 0.35); color: var(--muted); font-size: 15px; font-weight: 600;
}
body.lip .origin { margin-top: 28px; max-width: 46em; color: var(--muted); font-size: 15px; }

/* Simple text page (life-in-pictures/privacy/) */
body.lip .lip-doc { max-width: calc(720px + 2 * var(--gutter)); padding-top: clamp(32px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 72px); }
body.lip .lip-doc h1 { font-size: clamp(38px, 6vw, 60px); letter-spacing: -0.015em; }
body.lip .lip-doc p { margin-top: 18px; color: var(--muted); }
body.lip .lip-doc p:first-of-type { margin-top: 24px; color: var(--text); font-size: 19px; }

/* ---------- Footer ---------- */
body.lip .lip-footer { margin-top: clamp(64px, 9vw, 112px); border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(5, 6, 16, 0.55); }
body.lip .lip-footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
body.lip .lip-footer__brand { display: flex; align-items: center; gap: 12px; }
body.lip .lip-footer__brand img { width: 44px; height: 44px; }
body.lip .lip-footer__brand strong { display: block; font-weight: 600; }
body.lip .lip-footer__brand span { display: block; color: var(--muted); font-size: 14px; }
body.lip .lip-footer nav { justify-self: end; }
body.lip .lip-footer .lip-nav a { font-size: 14px; min-height: 40px; }
body.lip .lip-footer__legal { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--muted); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body.lip .points { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body.lip .hero { grid-template-columns: minmax(0, 1fr); }
  body.lip .hero__art { order: -1; justify-self: start; }
  body.lip .hero__icon { width: clamp(150px, 34vw, 240px); }
  body.lip .hero__path { inset: 10% -40% 0 -10%; width: 170%; }
}
@media (max-width: 720px) {
  body.lip .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  body.lip .steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, #f6b26b, #f0846e 32%, #e46fa6 64%, #9c8cf2); }
  body.lip .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; }
  body.lip .step::before { grid-row: span 2; }
  body.lip .step h3 { margin-top: 8px; }
  body.lip .stand { grid-template-columns: minmax(0, 1fr); }
  body.lip .availability { grid-template-columns: minmax(0, 1fr); }
  body.lip .availability__icon { width: 88px; height: 88px; }
  body.lip .lip-footer__inner { grid-template-columns: minmax(0, 1fr); }
  body.lip .lip-footer nav { justify-self: start; margin-left: -10px; }
}
@media (max-width: 400px) {
  body.lip .lip-header__inner { justify-content: center; }
  body.lip .lip-nav a { padding: 0 8px; }
}
body.lip .lip-footer__legal:only-child { padding-top: 0; border-top: 0; }
