/*
Theme Name: jochenmayer.music Card
Theme URI: https://jochenmayer.music
Author: jochenmayer.music
Description: Minimal one-page WordPress business card for independent artist management.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: jochenmayer-music
*/

:root {
  --jm-ink: #141414;
  --jm-paper: #f9f6f2;
  --jm-red: #78050a;
}

* { box-sizing: border-box; }
html { background: var(--jm-paper); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--jm-paper);
  color: var(--jm-ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.jm-card {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 3.5vw;
  overflow: hidden;
}
.jm-header,
.jm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-color: rgb(20 20 20 / 28%);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .65rem;
  font-weight: 700;
}
.jm-header { min-height: 92px; border-bottom: 1px solid; }
.jm-header a,
.jm-footer a { transition: color 180ms ease; }
.jm-header a:hover,
.jm-header a:focus-visible,
.jm-footer a:hover,
.jm-footer a:focus-visible { color: var(--jm-red); }
.jm-hero {
  display: grid;
  grid-template-columns: minmax(20rem, .9fr) minmax(25rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 8rem);
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}
.jm-brand { margin: 0; display: grid; place-items: center; }
.jm-brand img { display: block; width: min(100%, 39rem); height: auto; }
.jm-copy { display: flex; flex-direction: column; align-items: flex-start; }
.jm-eyebrow {
  margin: 0 0 clamp(1.5rem, 3vw, 3rem);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.jm-title {
  margin: 0;
  font-size: clamp(4.4rem, 8.8vw, 9.5rem);
  font-weight: 500;
  line-height: .84;
  letter-spacing: -.085em;
}
.jm-dot { color: var(--jm-red); }
.jm-intro {
  max-width: 32rem;
  margin: clamp(3rem, 5vw, 5rem) 0 0;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: -.02em;
}
.jm-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  width: min(100%, 19rem);
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding: 0 0 .85rem;
  border-bottom: 1px solid var(--jm-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}
.jm-contact:hover,
.jm-contact:focus-visible { color: var(--jm-red); border-color: var(--jm-red); }
.jm-footer { min-height: 76px; border-top: 1px solid; }

@media (max-width: 850px) {
  .jm-card { padding: 0 1.35rem; }
  .jm-header { min-height: 76px; }
  .jm-hero { grid-template-columns: 1fr; gap: 0; padding: 1.5rem 0 4rem; }
  .jm-brand img { width: min(100%, 32rem); }
  .jm-copy { margin-top: -7vw; }
  .jm-title { font-size: clamp(3.8rem, 17vw, 7rem); }
  .jm-intro { margin-top: 2.6rem; }
  .jm-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
    padding: 1.35rem 0;
  }
}
@media (max-width: 480px) {
  .jm-header span { max-width: 13rem; line-height: 1.5; }
  .jm-footer span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
