/* theelegantviolin.com — one page, one stylesheet, no frameworks, no imports,
   no web fonts. Type is the operating system's own: New York on Apple
   platforms, a serif fallback elsewhere. The palette is deliberately identical
   to the one used on baryta.theelegantviolin.com, so the two read as siblings
   without either one mentioning the other. */

:root {
  color-scheme: light;

  --paper:      #f6f4ed;
  --rule:       #ded8ca;

  /* All clear WCAG AA against --paper: ink 15.6:1 · soft 6.2:1 · faint 4.9:1
     · accent 5.4:1 · lift 8.3:1 */
  --ink:        #201b2a;
  --ink-soft:   #5f5865;
  --ink-faint:  #6f6870;
  --accent:     #96521f;
  --accent-lift:#6f3a12;

  --serif: ui-serif, "New York", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui,
          "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6em 1em;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.skip:focus { left: 0.5rem; top: 0.5rem; }

main {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(3rem, 12vh, 7rem) clamp(1.5rem, 6vw, 3rem);
}

h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem);
  font-variant-caps: small-caps;
  letter-spacing: 0.11em;
  line-height: 1.15;
  text-wrap: balance;
}

.rule {
  width: 3.25rem;
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: clamp(1.5rem, 4vw, 2rem) 0;
}

.lines {
  margin: 0;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 26rem;
  text-wrap: balance;
}

.lines + .lines { margin-top: 0.5em; }

.contact {
  margin: clamp(2rem, 5vw, 2.75rem) 0 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-faint);
}

.contact a {
  display: inline-block;
  margin-top: 0.35em;
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

.contact a:hover {
  color: var(--accent-lift);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.colophon {
  padding: 1.5rem clamp(1.5rem, 6vw, 3rem) clamp(2rem, 5vw, 2.75rem);
  text-align: center;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

.colophon p { margin: 0; }

@media print {
  :root { --paper: #fff; --ink: #000; }
  .skip { display: none; }
  a { color: inherit; text-decoration: underline; }
}
