/* Colors, type and buttons taken from https://margoengine.com/site.css */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./fonts/SourceSans3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3 Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 91.6%;
  ascent-override: 102.4%;
  descent-override: 40%;
  line-gap-override: 0%;
}
:root {
  color-scheme: light dark;
  --bg: #f5f6f9;
  --surface: #ffffff;
  --text: #141b2d;
  --muted: #4a556b;
  --line: #d5dae4;
  --accent: #7a4d00;
  --accent-text: #ffffff;
  --radius: 10px;
  font-family: "Source Sans 3", "Source Sans 3 Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --surface: #121a30;
    --text: #e9edf6;
    --muted: #a9b3c7;
    --line: #26304a;
    --accent: #e5b454;
    --accent-text: #1a1304;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
main { width: min(100% - clamp(1.5rem, 6vw, 5rem), 86rem); margin: auto; padding: clamp(1.3rem, 3.7vh, 2.5rem) 0 3rem; }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.brand { margin: 0; font-weight: 700; letter-spacing: -.01em; font-size: 1.1rem; }
.brand a { color: var(--text); text-decoration: none; }
.brand span { padding-left: .8rem; margin-left: .8rem; border-left: 1px solid var(--line); color: var(--muted); font-weight: 500; letter-spacing: 0; }
.links { margin: 0; }
.links a { color: var(--muted); text-decoration: none; padding-block: 10px; }
.links a:hover, .brand a:hover { color: var(--text); }
header { margin: clamp(1rem, 3.4vh, 2.4rem) 0 clamp(1.4rem, 3vh, 2.2rem); }
h1, h2 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 700; margin: 0 0 .4rem; }
.lede { max-width: 44ch; margin: 0; color: var(--muted); font-size: 1.2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(20.5rem, 1fr)); gap: 1.15rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; padding: 0 0 .9rem; }
.shot { display: block; background: var(--bg); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 900; object-fit: cover; object-position: top; }
h2 { margin: .85rem 1rem .3rem; font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 0 1rem .85rem; color: var(--muted); font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: auto 1rem 0 !important; }
.actions a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .15s ease;
}
.actions a:hover { border-color: var(--accent); }
.actions a:active { transform: translateY(1px); }
.actions a.open { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
@media (prefers-reduced-motion: reduce) {
  .actions a { transition: none; }
}
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 0; margin-top: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; }
footer a { color: var(--accent); margin-left: 1rem; }
footer a:first-child { margin-left: 0; }
@media (max-width: 40rem) {
  footer { flex-direction: column; }
  footer a { margin-left: 0; margin-right: 1rem; }
}
