/* The site's pages (the home page, privacy): the Internalize signature (lowercase display, parchment and night) with
   Vermeer's Woman Holding a Balance carrying the hero. Nothing loads from anyone else: Inter Tight where the reader
   has it, the system's own face otherwise; mcp_server serves this file, the paintings (/art) and the icons. */
:root {
  --paper: #f4f1ea;
  --paper-2: #e9e4d9;
  --ink: #121110;
  --ink-2: #4a4641;
  --ink-3: #8a847c;
  --line: rgba(18, 17, 16, 0.12);
  --night: #0e0f10;      /* a cooler black than Internalize's: the painting's grey wall and blue cloth */
  --night-2: #16181a;
  --chalk: #f4f1ea;
  --chalk-2: #b7b4ad;
  --chalk-3: #85827c;
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pill { transition: none; } }
body { background: var(--night); color: var(--chalk); font-family: var(--sans); font-size: 17px; line-height: 1.5;
       -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

.display { font-weight: 500; letter-spacing: -0.045em; line-height: 0.92; font-size: clamp(56px, 10.5vw, 164px); text-transform: lowercase; }
.statement { font-weight: 500; letter-spacing: -0.035em; line-height: 0.98; font-size: clamp(40px, 6.2vw, 96px); text-transform: lowercase; }
.eyebrow { font-size: 13px; letter-spacing: 0.02em; color: var(--chalk-2); text-transform: lowercase; margin-bottom: 28px; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 46ch; color: var(--chalk-2); }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-size: 15px;
        font-weight: 500; background: var(--chalk); color: var(--ink); border: 1px solid var(--chalk); text-transform: lowercase;
        transition: transform .18s ease; }
.pill:hover { transform: translateY(-1px); }
.pill.ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .85; }

nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
      padding: 26px clamp(20px, 4vw, 56px); font-size: 15px; }
nav .brand { font-weight: 500; letter-spacing: -0.02em; font-size: 18px; }
nav .links { display: flex; gap: 26px; align-items: center; }
nav .links a { opacity: .8; } nav .links a:hover { opacity: 1; }
nav .links .pill { padding: 10px 18px; font-size: 14px; opacity: 1; }

/* Hero: she stands on the right; the words take the grey wall on the left. */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end;
        background: var(--night-2) url("/art/balance-2200.jpg") 72% 28% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,16,0.45) 0%, rgba(14,15,16,0) 28%, rgba(14,15,16,0.35) 62%, rgba(14,15,16,0.92) 100%),
              linear-gradient(90deg, rgba(14,15,16,0.78) 0%, rgba(14,15,16,0.35) 42%, rgba(14,15,16,0) 70%); }
.hero .wrap { position: relative; width: 100%; padding-top: 140px; padding-bottom: clamp(40px, 7vh, 88px); }
.hero .display { max-width: 9ch; }
.hero .sub { margin-top: 28px; font-size: clamp(17px, 1.5vw, 21px); max-width: 44ch; color: rgba(244,241,234,0.86); line-height: 1.4; }
.hero .cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero .meta { margin-top: 18px; font-size: 13px; color: rgba(244,241,234,0.6); }
.credit { position: absolute; right: clamp(20px, 4vw, 56px); bottom: 22px; font-size: 11.5px; color: rgba(244,241,234,0.55); text-align: right; }

section { padding: clamp(80px, 11vw, 160px) 0; }
.paper { background: var(--paper); color: var(--ink); }
.paper .lead, .paper .eyebrow { color: var(--ink-2); }
.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.two.top { align-items: start; }

/* Image breaks: the detail of the scale, and Rembrandt's inspectors. */
.break { position: relative; min-height: 78svh; display: flex; align-items: flex-end; padding: 0; }
.break::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,16,0.05), rgba(14,15,16,0.8)); }
.break .wrap { position: relative; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.break .statement { max-width: 14ch; }
.break.scale { background: var(--night-2) url("/art/balance-detail-2100.jpg") 40% 50% / cover no-repeat; }
.break.syndics { background: var(--night-2) url("/art/syndics-2400.jpg") center 30% / cover no-repeat; }

/* What it answers: the tools, in a reader's words. */
.night { background: var(--night); }
.night .statement { max-width: 12ch; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px);
         margin-top: clamp(48px, 6vw, 80px); padding-top: 36px; border-top: 1px solid rgba(244,241,234,0.12); }
.tools h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; text-transform: lowercase; }
.tools p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--chalk-2); max-width: 38ch; }
.tools .report h3 { color: #8fc9ae; }
.fine { margin-top: 44px; font-size: 13.5px; color: var(--chalk-3); }

/* Connect: the steps, then how to get a key. */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px;
            padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); grid-row: span 2; font-size: 13px; font-weight: 600; color: var(--ink-3); padding-top: 3px; }
.steps h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.steps p { margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.steps code { font-family: var(--mono); font-size: 0.86em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px;
              overflow-wrap: anywhere; }
.steps pre { margin-top: 8px; padding: 12px 14px; background: var(--paper-2); border-radius: 10px; white-space: pre-wrap;
             overflow-wrap: anywhere; }
.steps pre code { padding: 0; background: none; font-size: 13.5px; color: var(--ink); }
.key { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink); }
.key a, .foot a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

footer { border-top: 1px solid rgba(244,241,234,0.1); padding: 32px 0 48px; font-size: 13.5px; color: var(--chalk-2); }
.foot { display: grid; gap: 8px; }
.foot .brand { color: var(--chalk); font-weight: 500; margin-right: 6px; }
.foot .credits { color: var(--chalk-3); font-size: 12.5px; }

@media (max-width: 1100px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .two { grid-template-columns: 1fr; }
  nav .links a:not(.pill) { display: none; }
  .credit { position: static; text-align: left; margin-top: 18px; }
  .hero { background-image: url("/art/balance-1200.jpg"); background-position: 78% 30%; }
  .break.scale { background-image: url("/art/balance-detail-1200.jpg"); }
  .break.syndics { background-image: url("/art/syndics-1200.jpg"); }
}
@media (max-width: 640px) { .tools { grid-template-columns: 1fr; gap: 28px; } }

/* A page under the home page (privacy): a shorter band of the painting's detail, then the page on parchment. */
.band { position: relative; min-height: 56svh; display: flex; align-items: flex-end;
        background: var(--night-2) url("/art/balance-detail-2100.jpg") 40% 50% / cover no-repeat; }
.band::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,16,0.6) 0%, rgba(14,15,16,0.2) 40%, rgba(14,15,16,0.9) 100%); }
.band .wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(36px, 6vh, 64px); }
.band .statement { max-width: 12ch; }
.policy .row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(16px, 4vw, 64px);
               padding: clamp(26px, 3vw, 36px) 0; border-top: 1px solid var(--line); }
.policy h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05;
             text-transform: lowercase; }
.policy p, .policy li { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.policy ul { list-style: none; padding: 0; }
.policy li + li { margin-top: 10px; }
.policy a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.updated { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) {
  .band { background-image: url("/art/balance-detail-1200.jpg"); }
  .policy .row { grid-template-columns: 1fr; }
}
