/* Zouridis Music — shared styles */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, p, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }

:root {
  --paper: #f4f2ed;
  --ink: #111110;
  --ink-2: #4a4945;
  --muted: #8b8984;
  --rule: #d9d6cf;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e0e0d;
    --ink: #ecebe6;
    --ink-2: #b4b2ab;
    --muted: #7c7a75;
    --rule: #2a2a28;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: 1120px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
}

.top { padding-bottom: clamp(4rem, 14vh, 10rem); }
.mark {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-decoration: none;
}

main { flex: 1; }

.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
  max-width: 24em;
  font-variation-settings: "opsz" 72;
}

.block {
  margin-top: clamp(4rem, 10vh, 7rem);
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: baseline;
}
.caption {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.ledger { border-top: 1px solid var(--rule); }
.ledger li {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) auto;
  gap: 0.25rem 2rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.ledger .name { font-weight: 500; }
.ledger .what { color: var(--ink-2); }
.ledger .site, .contact a, .foot a {
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.15s ease;
}
.ledger .site:hover, .contact a:hover, .foot a:hover { text-decoration-color: currentColor; }
.ledger .site { color: var(--ink-2); }

.contact { padding-top: 1.1rem; border-top: 1px solid var(--rule); }

.foot {
  margin-top: clamp(5rem, 14vh, 9rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: 12.5px;
  color: var(--muted);
}
.foot nav { display: flex; gap: 1.5rem; }

a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 720px) {
  .block { grid-template-columns: 1fr; gap: 0.75rem; }
  .ledger li { grid-template-columns: 1fr; padding: 1rem 0; }
}

/* legal pages */
.doc { max-width: 40rem; }
.doc h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.012em;
  line-height: 1.1;
}
.doc .updated { margin-top: 0.75rem; color: var(--muted); font-size: 13px; padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; }
.doc h2 { font-family: var(--sans); font-size: 15px; font-weight: 500; margin: 2.25rem 0 0.6rem; }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.7; }
.doc p + p { margin-top: 0.9rem; }
.doc ul { list-style: disc; padding-left: 1.2rem; margin-top: 0.6rem; }
.doc li + li { margin-top: 0.4rem; }
.doc strong { color: var(--ink); font-weight: 500; }
.doc a.inline { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 0.2em; }
.doc a.inline:hover { text-decoration-color: currentColor; }
