/* Philipp Prinz Music — site styles
   Light theme: cool paper ground, warm near-black ink, amber as the one lit accent,
   walnut side cheeks and a dark "instrument panel" hero as the studio nod. */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;

  --bg: #f2f3ef;
  --bg-soft: #e9ebe5;
  --panel: #ffffff;
  --line: #d8dbd2;
  --line-soft: #e2e5dc;

  --text: #1f1a14;
  --muted: #5c5448;
  --faint: #857c6c;

  --amber: #f2a03d;
  --amber-hi: #ffb35a;
  --amber-ink: #a95a0d;      /* amber for text/links on light grounds */
  --on-amber: #1c1007;
  --teal: #1f7f76;

  --walnut: #2b1d12;
  --wood-a: #6a4426;
  --wood-b: #402716;
  --wood-c: #55351d;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --notch-sm: 9px;
  --maxw: 1080px;
  --gutter: clamp(22px, 5vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }

:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--on-amber); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* walnut side cheeks, like the wooden ends on a Prophet or a Minimoog */
body::before, body::after {
  content: "";
  position: fixed; top: 0; bottom: 0;
  width: clamp(6px, 1.1vw, 15px);
  z-index: 60;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.2) 0 1px, transparent 1px 3px, rgba(255,210,150,.06) 3px 4px, transparent 4px 7px),
    linear-gradient(180deg, var(--wood-a) 0%, var(--wood-b) 38%, var(--wood-c) 66%, var(--wood-b) 100%);
}
body::before { left: 0; box-shadow: 2px 0 10px rgba(40,24,10,.28); }
body::after  { right: 0; box-shadow: -2px 0 10px rgba(40,24,10,.28); }

/* ---------- shared bits ---------- */
.legend {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--amber-ink);
}
.legend::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); max-width: 260px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  padding: 13px 24px; text-decoration: none; cursor: pointer; border: 0;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - var(--notch-sm)) 0, 100% var(--notch-sm), 100% 100%, var(--notch-sm) 100%, 0 calc(100% - var(--notch-sm)));
  transition: background .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--amber); color: var(--on-amber); }
.btn-primary:hover { background: var(--amber-hi); }
.btn-ghost { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--amber-ink); }
.btn svg { width: 17px; height: 17px; flex: none; }

section { padding: clamp(56px, 8vw, 92px) 0; }
.sec-head { display: grid; gap: 12px; margin-bottom: clamp(26px, 4vw, 40px); max-width: 60ch; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.05; letter-spacing: -.015em; }
.sec-head p { color: var(--muted); font-size: 17.5px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: none; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 9px 18px; font-size: 14.5px; }
@media (min-width: 800px) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(242,160,61,.2), transparent 72%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: clamp(34px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.03em; margin: 22px 0 24px; }
.hero h1 em { font-style: normal; color: var(--amber-ink); }
.hero .lede { font-size: clamp(17.5px, 1.6vw, 20px); color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--font-mono); font-size: 13px; color: var(--faint); }
.proof span { display: inline-flex; align-items: center; gap: 9px; }
.proof i { width: 7px; height: 7px; background: var(--teal); flex: none; border-radius: 50%; }

.shot {
  position: relative; aspect-ratio: 4 / 4.4; background: #1b140e;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  box-shadow: 0 30px 60px -24px rgba(43,29,18,.45);
}
.shot-fallback { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* drop img/philipp.jpg in and it covers the illustration; if the file is missing the illustration stays */
.shot-photo { position: absolute; inset: 0; background: url("img/philipp.jpg") center / cover no-repeat; }

/* ---------- about ---------- */
#about { border-top: 1px solid var(--line-soft); }
.about-copy { display: grid; gap: 18px; color: var(--muted); font-size: 18.5px; max-width: 62ch; }
.about-copy strong { color: var(--text); font-weight: 600; }
.plays { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px; }
.plays li { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); background: var(--panel); padding: 7px 13px; }
.plays li.lead { border-color: var(--amber); color: var(--text); }

/* ---------- featured videos ---------- */
#videos { border-top: 1px solid var(--line-soft); }
.vids { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .vids { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
.vid { display: block; text-decoration: none; }
.vid .thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1b140e;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.vid .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vid:hover .thumb img { transform: scale(1.03); }
.vid .play { position: absolute; left: 18px; bottom: 18px; width: 42px; height: 42px; background: var(--amber); color: var(--on-amber); display: grid; place-items: center; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px)); }
.vid .play svg { width: 15px; height: 15px; margin-left: 2px; }
.vid .cap { display: block; padding: 14px 2px 0; }
.vid .kind { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 4px; }
.vid h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.vid:hover h3 { color: var(--amber-ink); }
.more { margin-top: 24px; }

/* ---------- gear ---------- */
#gear { border-top: 1px solid var(--line-soft); }
.gear { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.gear li { background: var(--panel); padding: 22px 24px; display: grid; gap: 14px 28px; align-items: center; }
@media (min-width: 820px) { .gear li { grid-template-columns: 1.15fr 1.7fr 112px; } .shops { justify-content: flex-end; } }
.gear .type { font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--amber-ink); display: block; margin-bottom: 4px; }
.gear h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.12; }
.gear p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.shops { display: flex; gap: 8px; }
.shops a { min-width: 96px; text-align: center; font-family: var(--font-mono); font-size: 13px; font-weight: 500; text-decoration: none; color: var(--text); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 14px; transition: box-shadow .15s, background .15s; }
.shops a:hover { box-shadow: inset 0 0 0 1px var(--amber-ink); background: #fff7ea; }
.aff-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); max-width: 70ch; }

/* ---------- contact ---------- */
#contact { border-top: 1px solid var(--line-soft); }
.contact { display: grid; gap: 22px; justify-items: start; }
.mail { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3.2vw, 36px); letter-spacing: -.02em; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; overflow-wrap: anywhere; }
.mail:hover { color: var(--amber-ink); }
.contact p { color: var(--muted); max-width: 52ch; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.site-foot { background: var(--walnut); color: #cdbfa9; padding: 30px 0 38px; }
.foot { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: 14px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: #e6d9c4; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }

/* ---------- legal pages ---------- */
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 100px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: -.025em; line-height: 1; margin-bottom: 14px; }
.legal h2 { font-size: 26px; font-weight: 700; margin: 46px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); letter-spacing: -.01em; }
.legal h3 { font-size: 19px; font-weight: 700; margin: 28px 0 8px; }
.legal p, .legal li { color: #3a3329; font-size: 16px; line-height: 1.68; }
.legal p { margin: 0 0 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; display: grid; gap: 6px; }
.legal a { color: var(--amber-ink); text-underline-offset: 3px; word-break: break-word; }
.legal .note { background: var(--panel); border: 1px solid var(--line); padding: 16px 20px; margin: 20px 0 8px; }
.legal .note p { margin: 0; font-size: 15px; color: var(--muted); }
.legal .caps p { font-size: 14.5px; }
.legal address { font-style: normal; margin-bottom: 14px; line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-grid > *:nth-child(2) { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
