@font-face {
  font-family: 'RiverShine';
  src: url('RiverSHINE.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg: #E6E6E6;
  --panel: #DCDCDC;
  --surface: #EDEDED;
  --tile: #D6D6D6;
  --ink: #2E2E2E;
  --ink-soft: #4A4A4A;
  --muted: #595959;
  --solid: #3A3A3A;
  --hover: #CFCFCF;
  --mark: #CBCBCB;
  --rule: #C2C2C2;
  --rule-soft: #C9C9C9;
  --display: 'RiverShine', 'Instrument Serif', Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a { color: var(--ink); }

.wrap { width: 100%; max-width: 880px; padding: 0 24px; }

/* nav */
.nav { display: flex; justify-content: flex-end; gap: 24px; padding-top: 20px; font-size: 13px; }
.nav a { color: var(--muted); text-decoration: none; padding: 12px 0; }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }

/* hero */
.hero { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-top: 48px; padding-bottom: 56px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(72px, 10vw, 136px); line-height: 0.95; letter-spacing: 0; }
.email { font-family: var(--display); font-size: 24px; color: var(--muted); text-decoration: none; }
.email:hover { color: var(--ink); }
.tagline { margin: 0; font-size: 14px; color: var(--muted); }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  font-family: var(--display); font-size: 30px; letter-spacing: 1px; text-decoration: none;
  background: var(--solid); color: var(--bg); border: 1px solid var(--solid);
  transition: background .2s ease, color .2s ease;
}
.btn--ghost { background: transparent; color: var(--ink); }
.btn:hover { background: var(--hover); color: var(--ink); }

/* work grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.tile {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; background: var(--tile); text-decoration: none; overflow: hidden;
}
.tile--featured { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); opacity: .55; transition: filter .3s ease, opacity .3s ease;
}
.tile:hover img, .tile:focus-visible img { filter: none; opacity: 1; }
.label {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 76%; padding: 18px 12px; background: var(--surface); color: var(--ink);
  font-family: var(--display); font-size: 30px; line-height: 1; text-align: center; letter-spacing: 0;
  transition: background .2s ease, color .2s ease;
}
.tile--featured .label { width: auto; min-width: 260px; padding: 26px 32px; font-size: 44px; }
.label small { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.tile--featured .label small { font-size: 13px; }
.tile:hover .label, .tile:focus-visible .label { background: var(--solid); color: var(--bg); }
.tile:hover .label small, .tile:focus-visible .label small { color: var(--bg); }

.playlist {
  display: flex; align-items: center; justify-content: center; min-height: 64px; margin-top: 24px;
  border: 1px solid var(--solid); font-family: var(--display); font-size: 28px; letter-spacing: 1px; text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.playlist:hover { background: var(--solid); color: var(--bg); }

/* footer */
.footer { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-top: 96px; padding-bottom: 64px; }
.footer .big { margin: 0; font-family: var(--display); font-size: 56px; line-height: 1; letter-spacing: 0; }
.footer .small { display: flex; gap: 20px; font-size: 12px; color: var(--muted); margin-top: 18px; }
.footer .small a, .footer .small span { color: var(--muted); padding: 12px 0; }
.footer--info { padding-top: 72px; }
.footer--info .email { font-size: 28px; }

/* info */
.stack { display: flex; flex-direction: column; gap: 16px; }
.photo {
  width: 100%; aspect-ratio: 1120 / 436; background: var(--rule-soft) url('studio.jpg') center / cover no-repeat;
  filter: grayscale(1); opacity: .85;
}
.panel { background: var(--panel); padding: clamp(28px, 6vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.panel h2 {
  margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--rule);
  font-family: var(--display); font-weight: 400; font-size: 48px; line-height: 1; text-align: center; letter-spacing: 0;
}
.services {
  margin: 0; padding: 0 0 22px; list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 4px 16px;
  border-bottom: 1px solid var(--rule); text-align: center; font-family: var(--display); font-size: 26px; letter-spacing: 0;
}
.services li { padding: 8px; }
.note { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips span { padding: 8px 14px; background: var(--surface); font-size: 13px; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; font-size: 14px; line-height: 1.6; color: var(--ink-soft); counter-reset: step; }
.steps li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); counter-increment: step; }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 22px; line-height: 1.1; color: var(--ink); min-width: 22px; }
.steps mark { background: var(--mark); color: var(--ink); }
.aside { padding: 18px 20px; background: var(--surface); font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.aside strong { color: var(--ink); }
.artists { margin: 0; font-size: 13px; line-height: 1.9; color: var(--ink-soft); text-align: justify; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
