/* MonroeWorld.com - static site styles */
:root {
  --bg: #0e1013;
  --bg-2: #13161b;
  --card: #161a20;
  --line: #262a31;
  --line-2: #2f343c;
  --text: #e8e6e1;
  --muted: #b8b5ae;
  --dim: #8f8c86;
  --accent: #d6c08e;
  --purple: #a397d0;
  --green: #8fb562;
  --accent-ink: #17140c;
  --live: #8fb562;
  --gone: #ff8a7a;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.5; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #e9dab4; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.pad { padding: 112px 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }

/* Nav */
.site-head { border-bottom: 1px solid var(--line); }
.site-head nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.logo { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--text); letter-spacing: -0.5px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 36px; height: 36px; border-radius: 50%; }
.logo b { color: var(--accent); font-weight: 700; }
.logo span { color: var(--purple); }
.menu { display: flex; flex-wrap: wrap; gap: 28px; font-family: var(--mono); font-size: 14px; }
.menu a { color: #c9c6bf; }
.menu a:hover { color: var(--accent); }

/* Type */
.kicker { font-family: var(--mono); font-size: 14px; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--head); margin: 0; }
h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; letter-spacing: -2.5px; max-width: 980px; }
h2 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -1.2px; }
.lede { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.hero .lede { font-size: 21px; line-height: 1.55; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.section-head.row { flex-direction: row; flex-wrap: wrap; align-items: end; justify-content: space-between; max-width: none; }
.section-head.row > div { display: flex; flex-direction: column; gap: 16px; max-width: 700px; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn { display: inline-block; font-size: 16px; padding: 15px 26px; border-radius: 6px; font-weight: 600; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #e9dab4; color: var(--accent-ink); }
.btn-ghost { border: 1px solid #3a3f48; color: var(--text); font-weight: 500; padding: 14px 26px; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Hero */
.hero { padding: 112px 0 96px; display: flex; flex-direction: column; gap: 28px; }

/* Grids and cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.fill { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
a.card:hover { border-color: var(--accent); color: var(--text); }
.tile { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.tile .label { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.tile .name { font-family: var(--head); font-size: 30px; font-weight: 700; }
.tile .desc { font-size: 16px; color: var(--muted); }
.tile .more { font-family: var(--mono); font-size: 14px; color: var(--dim); margin-top: auto; }
.watch { padding-bottom: 112px; }

/* Timeline */
.timeline { border-left: 2px solid var(--line-2); margin-left: 8px; }
.t-item { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 0 0 36px 36px; position: relative; }
.t-item::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--green); }
.t-item:last-child { padding-bottom: 0; }
.t-year { font-family: var(--mono); font-size: 16px; color: var(--accent); width: 140px; flex-shrink: 0; }
.t-body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 420px; }
.t-body h3 { font-size: 24px; }
.t-body p { margin: 0; font-size: 16px; color: var(--muted); }

/* Museum */
.exhibit { overflow: hidden; display: flex; flex-direction: column; }
.exhibit .shot { height: 150px; background: #1d222a; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 28px; font-weight: 700; color: #3b414b; letter-spacing: -0.5px; text-align: center; padding: 16px; }
.exhibit .shot img { width: 100%; height: 100%; object-fit: cover; }
.exhibit .info { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.exhibit .meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.exhibit h3 { font-size: 20px; }
.exhibit p { margin: 0; font-size: 14px; color: #a9a6a0; }
.status-online { color: var(--live); }
.status-offline { color: var(--gone); }
.status-partial { color: var(--accent); }

/* Workbench */
.tool { border: 1px solid var(--line-2); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.tool h3 { font-size: 22px; }
.tool p { margin: 0; font-size: 15px; color: var(--muted); }
.tool .plat { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.tool a { font-family: var(--mono); font-size: 14px; margin-top: auto; padding-top: 6px; }

/* Work with us */
.work { display: flex; flex-wrap: wrap; gap: 56px; }
.work > div { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; }
form.contact { flex: 1 1 440px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
form.contact label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #c9c6bf; }
form.contact input, form.contact textarea { background: var(--bg); border: 1px solid #3a3f48; border-radius: 6px; padding: 13px 14px; color: var(--text); font-size: 16px; font-family: var(--body); }
form.contact input:focus, form.contact textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
form.contact textarea { resize: vertical; min-height: 120px; }
form.contact button { background: var(--text); color: var(--bg); border: none; border-radius: 6px; padding: 15px; font-size: 16px; font-weight: 600; cursor: pointer; }
form.contact button:hover { background: var(--accent); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 6px; font-size: 15px; }
.notice.ok { background: #14301f; color: #a8efc3; }
.notice.err { background: #3a1a16; color: #ffc2b8; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--dim); }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section.pad { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .t-year { width: auto; }
}

/* Logo in hero */
.hero-logo { margin: 0; }
.hero-logo img { width: 100%; max-width: 860px; height: auto; margin-left: -12px; }
.menu a:nth-child(even):hover { color: var(--purple); }
