/* The Piano Factory website: the black-and-white entrance photo, Abril Fatface
   for headings and Montserrat for text, as on the Carrd site. Shareholder pages
   are one column on a warm white page; phones get a scrolling menu. */
:root {
  --ink: #161616;
  --ink-2: #3f3f3f;
  --muted: #6b6b6b;
  --line: #e4e2dc;
  --paper: #f7f6f2;
  --white: #ffffff;
  --display: "Abril Fatface", Georgia, serif;
  --text: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
/* Shareholder pages sit on the faint drawing of the factory, as on the Carrd site. */
body.drawn { background: var(--paper) url(/assets/images/bg.jpg) 50% 0 / cover no-repeat fixed; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

/* Landing and sign-in: the entrance photo */
.hero-page { background: #111; color: #fff; }
.hero { min-height: 100vh; min-height: 100dvh; display: grid; align-items: end; padding: max(24px, env(safe-area-inset-top)) 24px max(40px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgb(0 0 0 / 0%) 45%, rgb(0 0 0 / 70%)), url(/assets/images/container10.jpg) 50% 50% / cover no-repeat; }
@media (min-width: 900px) { .hero { padding: 48px; } }
.hero-text { max-width: 1100px; width: 100%; margin: 0 auto; }
.hero h1 { margin: 0; font: 400 clamp(40px, 7vw, 76px)/1 var(--display); letter-spacing: 0.005em; }
.hero-text p { margin: 8px 0 22px; font-size: 17px; font-weight: 500; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1.5px solid currentColor; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; letter-spacing: 0.01em; }
.hero .pill:hover { background: #fff; color: #111; }
.pill.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.dark:hover { background: var(--ink-2); }

.signin { justify-self: center; align-self: center; width: min(100%, 400px); background: var(--white); color: var(--ink); border-radius: 16px; padding: 30px 28px 24px; display: grid; gap: 10px; box-shadow: 0 20px 60px rgb(0 0 0 / 35%); }
.hero:has(.signin) { align-items: center; background-image: linear-gradient(rgb(0 0 0 / 25%), rgb(0 0 0 / 45%)), url(/assets/images/bg.jpg); }
.signin img { justify-self: center; background: #111; border-radius: 999px; }
.signin h1 { margin: 6px 0 0; text-align: center; font: 400 30px/1.1 var(--display); color: var(--ink); }
.signin p { margin: 0 0 6px; text-align: center; color: var(--muted); font-size: 14px; }
.signin label { font-size: 13px; font-weight: 600; }
.signin input[type="password"] { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.signin input[type="password"]:focus { outline: none; border-color: var(--ink); }
.signin .check { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--ink-2); }
.signin .check input { width: 17px; height: 17px; accent-color: var(--ink); }
.signin button { height: 46px; margin-top: 6px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: 600 15px var(--text); cursor: pointer; }
.signin button:hover { background: var(--ink-2); }
.signin .error { color: #a3392d; font-weight: 600; }
.signin .back { justify-self: center; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Shareholder pages */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 22px; padding: 10px 28px; background: #111; color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 20px/1 var(--display); white-space: nowrap; }
.top nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { flex: none; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; color: #d8d8d8; }
.top nav a:hover { color: #fff; background: rgb(255 255 255 / 10%); }
.top nav a[aria-current="page"] { color: #fff; background: rgb(255 255 255 / 16%); }
.signout { flex: none; font-size: 13px; color: #bdbdbd; }
.content { max-width: 880px; margin: 0 auto; padding: 44px 28px 64px; display: grid; gap: 34px; }
.content > h1 { margin: 0; font: 400 clamp(34px, 5vw, 48px)/1.05 var(--display); }
.content section { display: grid; gap: 14px; }
h2 { margin: 0; font: 700 13px/1.3 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prose h2 { margin-top: 18px; }
.lede, .prose p { margin: 0; max-width: 65ch; color: var(--ink-2); }
.prose { display: grid; gap: 12px; }
.muted { color: var(--muted); }
.note { margin: 0; font-size: 14px; color: var(--muted); }

.callout { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 18px 22px; background: var(--ink); color: #fff; border-radius: 12px; }
.callout .pill.dark { background: #fff; border-color: #fff; color: var(--ink); }
.callout .pill.dark:hover { background: #e9e9e9; }
.callout p { margin: 0; max-width: 52ch; }
.callout .pill { flex: none; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.person p { margin: 0; overflow-wrap: anywhere; }
.person .role { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.person .name { font-weight: 600; }

.roster, .files, .forms { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.roster li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 13px 18px; border-top: 1px solid var(--line); }
.roster li:first-child { border-top: 0; }
.roster .who { display: grid; gap: 1px; min-width: 0; }
.roster .name { font-weight: 600; }
.roster .phone { color: var(--ink-2); font-size: 15px; text-decoration: none; }
.roster .phone:hover { text-decoration: underline; }
.roster .role-col { text-align: right; font-size: 14px; color: var(--ink-2); display: grid; }
.roster .role-col small { color: var(--muted); font-size: 12.5px; }

.files li + li, .forms li + li { border-top: 1px solid var(--line); }
.files a, .forms a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; }
.files a:hover, .forms a:hover { background: #fbfaf7; }
.files a:hover .file-title, .forms a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kind { flex: none; width: 42px; padding: 3px 0; text-align: center; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2); }
.file-title { flex: 1; min-width: 0; font-weight: 500; }
.file-date { font-size: 13px; color: var(--muted); white-space: nowrap; }
.arrow { color: var(--muted); }
.forms a { justify-content: space-between; font-weight: 600; }

footer { border-top: 1px solid var(--line); padding: 22px 28px 40px; text-align: center; font-size: 13px; color: var(--muted); }
footer p { margin: 2px 0; }

@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 6px 12px; padding: 10px 16px 6px; }
  .brand span { font-size: 18px; }
  .top nav { order: 3; width: 100%; margin: 0 -16px; padding: 0 12px 4px; }
  .signout { margin-left: auto; }
  .content { padding: 28px 16px 48px; gap: 28px; }
  .file-date { display: none; }
}
