/* Inspections page only. Loaded after tru.css. */

/* Hero: the film is the level shot, looping */
.ip-hero { min-height: min(100svh, 860px); background: #0b0f14 url("video/insp-poster.jpg") center / cover no-repeat; }
.ip-hero .display { max-width: 12em; margin-inline: auto; }
.ip-hero .lede { max-width: 33em; }
.ip-hero .hero-in { padding: 140px 0 120px; }
.ip-hero .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.ip-hero .btn-ghost { border-color: rgba(255,255,255,.34); color: #fff; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }

/* The plain fact that sets up the page */
.ip-fact { max-width: 900px; }
.ip-fact p { font-family: var(--serif); font-size: clamp(28px, 3.7vw, 50px); line-height: 1.16; letter-spacing: -0.018em; color: var(--ink); text-wrap: balance; }
.ip-fact p + p { margin-top: .7em; color: var(--quiet); }
.ip-fact p + p b { font-weight: 400; color: var(--ink); }

/* Four reasons, set like a page of a book: the claim on the left, the proof on the right */
.ip-why { border-top: 1px solid var(--ink); }
.ip-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); padding: clamp(40px, 5.5vw, 76px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.ip-row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.018em; color: var(--ink); text-wrap: balance; }
.ip-row .tell { font-size: clamp(17px, 1.4vw, 19px); color: var(--text); max-width: 31em; }
.ip-row .tell + .tell { margin-top: 1em; }
.ip-show { margin-top: 28px; }

/* A report line, and what we add to it */
.ip-open { display: grid; gap: 10px; max-width: 520px; }
.ip-line { background: var(--panel); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--quiet); }
.ip-line i, .ip-ours i { display: block; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }
.ip-ours { background: var(--ink); color: #fff; border-radius: 12px; padding: 16px 16px 16px 18px; font-size: 16px; position: relative; margin-left: 28px; }
.ip-ours i { color: var(--amber); }
.ip-ours::before { content: ""; position: absolute; left: -18px; top: -10px; width: 12px; height: 30px; border-left: 2px solid var(--amber-deep); border-bottom: 2px solid var(--amber-deep); border-bottom-left-radius: 8px; }
.js .ip-ours { opacity: 0; transform: translateY(10px); transition: opacity .6s ease .35s, transform .6s cubic-bezier(.2,.7,.2,1) .35s; }
.js .seen .ip-ours { opacity: 1; transform: none; }

/* The decoder: tap a term in the report, read it in plain words */
.ip-decode { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 560px; }
.ip-page { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-size: 14.5px; line-height: 1.75; color: var(--quiet); box-shadow: 0 10px 30px rgba(15,20,26,.06); }
.ip-page small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); margin-bottom: 8px; }
.ip-page button { font: inherit; color: var(--ink); background: none; border: 0; padding: 0 1px; cursor: pointer; border-bottom: 2px solid var(--amber); border-radius: 2px; transition: background .2s ease; }
.ip-page button:hover, .ip-page button[aria-pressed="true"] { background: var(--amber-wash); }
.ip-means { background: var(--amber-wash); border-radius: 12px; padding: 18px 20px; min-height: 116px; }
.ip-means i { display: block; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 6px; }
.ip-means b { display: block; font-size: 14px; font-weight: 600; color: var(--amber-deep); }
.ip-means p { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.28; letter-spacing: -0.01em; color: var(--ink); margin-top: 4px; }
.js .ip-means.flip p, .js .ip-means.flip b { animation: ip-flip .4s cubic-bezier(.2,.7,.2,1); }
@keyframes ip-flip { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Two words */
.ip-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; }
.ip-two div { border-radius: 12px; padding: 18px; }
.ip-two .f { background: var(--amber-wash); } .ip-two .l { background: var(--panel); }
.ip-two b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -0.02em; color: var(--ink); }
.ip-two span { display: block; font-size: 14px; color: var(--text); margin-top: 6px; }

/* The sit-down */
.ip-meet { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; max-width: 520px; }
.ip-meet img { width: 132px; height: 132px; object-fit: cover; border-radius: 16px; }
.ip-meet ul li { font-size: 15px; color: var(--ink); padding: 9px 0; border-top: 1px solid var(--line); }
.ip-meet ul li:first-child { border-top: 0; padding-top: 0; }

/* What you get back */
.ip-back { background: var(--panel); border-radius: var(--r-panel); padding: clamp(24px, 4vw, 56px); }
.ip-back .insp { margin-top: clamp(28px, 3.4vw, 44px); }
.ip-back .insp-report { background: #fff; box-shadow: 0 18px 50px rgba(15,20,26,.08); }
.ip-back .find { background: var(--panel); }
.ip-back .find summary:hover { background: #eceef1; }
.ip-back .find-b .said { background: #fff; }
.ip-back-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; }

/* The day, as a line */
.ip-day { position: relative; margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ip-day li { position: relative; padding: 30px 28px 0 0; border-top: 2px solid var(--ink); }
.ip-day li::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--amber-deep); }
.ip-day li.you::before { background: var(--amber-deep); }
.ip-day small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); }
.ip-day h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.014em; color: var(--ink); margin-top: 8px; }
.ip-day p { font-size: 15px; color: var(--text); margin-top: 10px; }
.ip-sep { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: var(--amber-wash); border-radius: 16px; padding: 20px 24px; max-width: 860px; }
.ip-sep svg { width: 44px; height: 17px; color: var(--amber-deep); }
.ip-sep p { font-size: 16px; color: var(--text); }
.ip-sep b { color: var(--ink); }

@media (max-width: 900px) {
  .ip-row, .ip-back-head { grid-template-columns: 1fr; gap: 20px; }
  .ip-day { grid-template-columns: 1fr; }
  .ip-day li { border-top: 0; border-left: 2px solid var(--ink); padding: 0 0 30px 24px; }
  .ip-day li::before { top: 0; left: -9px; }
  .ip-day li:last-child { padding-bottom: 0; }
  .ip-meet { grid-template-columns: 96px 1fr; } .ip-meet img { width: 96px; height: 96px; }
  .ip-sep { grid-template-columns: 1fr; }
  .ip-hero .hero-in { padding: 120px 0 90px; }
}
@media (prefers-reduced-motion: reduce) { .js .ip-ours { opacity: 1; transform: none; transition: none; } }
