/* Fideliq website prototype: the app's colours (warm near-black, one brass accent), its serif for
   headings, and drawn mock-ups of the app in place of screenshots. */

:root {
  --bg: #121110;
  --raised: #1c1a18;
  --card: #24211e;
  --text: #f0eae2;
  --soft: #cfc7bd;
  --muted: #9a9187;
  --faint: #645d55;
  --line: rgba(240, 234, 226, 0.1);
  --accent: #d4b074;
  --accent-soft: rgba(212, 176, 116, 0.14);
  --good: #b4d1a6;
  --paper: #ece7df;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--soft); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---------- prototype bar, header, footer ---------- */

.proto {
  background: var(--accent-soft); color: var(--accent); font-size: 13px; text-align: center;
  padding: 7px var(--gutter); border-bottom: 1px solid rgba(212, 176, 116, 0.25);
}
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(18, 17, 16, 0.86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.wordmark { display: block; width: 92px; height: 42px; background: var(--text); flex-shrink: 0;
  -webkit-mask: url(img/wordmark.svg) left center / contain no-repeat; mask: url(img/wordmark.svg) left center / contain no-repeat; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 8px 12px; border-radius: 18px; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 23px;
  font: 500 15px var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.button.primary { background: var(--text); color: var(--bg); }
.button.primary:hover { background: #fff; }
.button.ghost { border-color: var(--line); color: var(--soft); background: none; }
.button.ghost:hover { border-color: var(--muted); color: var(--text); }
.site-head .button { min-height: 38px; padding: 0 16px; font-size: 14px; }
.menu-toggle { display: none; }

.site-foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.site-foot .wordmark { width: 72px; height: 34px; background: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--text); }
.site-foot .legal { margin-left: auto; }

@media (max-width: 860px) {
  .site-head .wrap { gap: 12px; }
  .menu-toggle {
    display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center;
    background: none; border: 0; color: var(--text); cursor: pointer; border-radius: 22px;
  }
  .menu-toggle svg { width: 24px; height: 24px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .nav a { padding: 12px 0; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-head.open .nav { display: flex; }
  .site-head .button { display: none; }
  .site-foot .legal { margin-left: 0; }
}

/* ---------- sections ---------- */

section { padding: clamp(56px, 9vw, 112px) 0 0; }
.page-head { padding-top: clamp(48px, 8vw, 96px); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); max-width: 16ch; margin-bottom: 20px; }

.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(46px, 7vw, 92px); margin-bottom: 24px; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stage { background: var(--paper); border-radius: 20px; padding: clamp(16px, 3vw, 36px); position: relative; }
.stage img { mix-blend-mode: multiply; margin: 0 auto; }
.stage .note { position: absolute; left: 16px; bottom: 10px; font-size: 11px; color: #8a8178; letter-spacing: 0.04em; }

.rule {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.3;
  max-width: 30ch; margin: 0 auto; text-align: center; color: var(--soft);
}
.rule cite { display: block; margin-top: 18px; font: 14px var(--sans); font-style: normal; color: var(--muted); letter-spacing: 0.04em; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.pillar { border-top: 1px solid var(--accent); padding-top: 22px; }
.pillar h2 { font-size: 30px; margin-bottom: 12px; }
.pillar p { color: var(--soft); }
.pillar a { color: var(--accent); text-decoration: none; font-size: 15px; }
.pillar a:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 18px; }
.split p { color: var(--soft); }

.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; }
.quote footer { margin-top: 18px; color: var(--muted); font-size: 15px; }

.cta { text-align: center; }
.cta h2 { font-size: clamp(32px, 4.5vw, 54px); margin-bottom: 14px; }
.cta p { color: var(--soft); max-width: 52ch; margin: 0 auto 28px; }

.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin: 10px 0 0 6px; }
.list b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.list span { color: var(--soft); }

.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.cols h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 26px; }

.tbc { color: var(--accent); font-size: 0.85em; border: 1px dashed rgba(212, 176, 116, 0.5); border-radius: 6px; padding: 0 6px; white-space: nowrap; }

/* measurements */
.measures { width: 100%; border-collapse: collapse; font-size: 16px; }
.measures th, .measures td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.measures th { font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.measures td:nth-child(2) { color: var(--muted); }
.measures td:nth-child(3) { color: var(--good); font-weight: 600; }

/* specifications */
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.specs th { width: 30%; font-weight: 500; color: var(--muted); font-size: 15px; }
.specs td { color: var(--soft); }

/* owners */
.owners { display: grid; gap: 28px; }
.owner { background: var(--raised); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 44px); }
.owner .system { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.owner p { color: var(--soft); }
.owner .pull { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--text); margin-bottom: 22px; }
.owner .name { color: var(--text); font-weight: 600; margin: 8px 0 0; }

/* contact */
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 16px var(--sans); color: var(--text); background: var(--raised); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: rgba(212, 176, 116, 0.6); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .sent { color: var(--good); }

/* ---------- drawn mock-ups of the app ---------- */

.device.wide { max-width: 900px; margin: 0 auto; }
.device {
  background: #0b0a09; border: 1px solid #2c2925; border-radius: 26px; padding: 12px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.device.phone { border-radius: 40px; padding: 10px; max-width: 300px; margin: 0 auto; }
.device.tv { border-radius: 10px; padding: 10px; }
.screen { background: var(--bg); border-radius: 16px; overflow: hidden; position: relative; font-size: 12px; line-height: 1.4; }
.phone .screen { border-radius: 31px; }
.tv .screen { border-radius: 3px; }

.app-bar { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.app-bar .wordmark { width: 52px; height: 24px; }
.app-tabs { display: flex; gap: 18px; margin: 0 auto; transform: translateX(-26px); color: var(--muted); font-size: 11.5px; letter-spacing: 0.02em; }
.app-tabs .on { color: var(--text); position: relative; }
.app-tabs .on::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }

.listen { display: grid; grid-template-columns: 0.85fr 1fr; gap: 28px; align-items: center; padding: 30px 30px 34px; }
.art { aspect-ratio: 1; border-radius: 5px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5); position: relative; overflow: hidden; }
.art.a1 { background: radial-gradient(120% 90% at 20% 15%, #4f6f8f 0%, #1e3147 45%, #0d1520 100%); }
.art.a1::after { content: ""; position: absolute; inset: 22% 18% 30% 30%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(212, 176, 116, 0.75), rgba(212, 176, 116, 0) 62%); filter: blur(2px); }
.art.a2 { background: linear-gradient(160deg, #c9b79a 0%, #8f7355 55%, #3b2c1f 100%); }
.art.a3 { background: radial-gradient(90% 90% at 70% 30%, #a54b3a 0%, #5a1f1a 55%, #1d0b09 100%); }
.art.a4 { background: linear-gradient(200deg, #2f4a3a 0%, #172a20 60%, #0b130f 100%); }
.art.a5 { background: conic-gradient(from 210deg at 60% 60%, #e2d8c3, #9aa7a1, #4b5a63, #e2d8c3); }
.art.a6 { background: linear-gradient(135deg, #1f1d3b 0%, #4a3a6b 50%, #c7a36f 100%); }
.art.a7 { background: radial-gradient(100% 100% at 30% 70%, #d9c9a8 0%, #6d6455 60%, #2a2622 100%); }
.art.a8 { background: linear-gradient(180deg, #0f2733 0%, #2f6273 60%, #a9c2c1 100%); }
.art .t { position: absolute; left: 9%; top: 8%; font-family: var(--serif); color: rgba(255, 255, 255, 0.82); font-size: 1.25em; font-style: italic; }

.np-title { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.05; margin-bottom: 8px; }
.np-artist { font-size: 15px; color: var(--soft); }
.np-album { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.np-path { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--raised); }
.np-steps { color: var(--muted); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.np-steps b { color: var(--soft); font-weight: 500; }
.np-verdict { font-family: var(--serif); font-style: italic; font-size: 17px; display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.np-verdict::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px rgba(180, 209, 166, 0.7); }
.np-bar { height: 2px; background: var(--line); border-radius: 1px; margin: 18px 0 14px; position: relative; }
.np-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: var(--text); border-radius: 1px; }
.np-controls { display: flex; align-items: center; justify-content: space-between; max-width: 220px; color: var(--soft); }
.np-controls svg { width: 18px; height: 18px; fill: currentColor; }
.np-controls .play { width: 46px; height: 46px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; }

.phone .listen { grid-template-columns: 1fr; padding: 18px 20px 26px; gap: 16px; text-align: center; }
.phone .np-steps { justify-content: center; }
.phone .np-verdict { justify-content: center; }
.phone .np-controls { margin: 0 auto; }

.find { padding: 16px 18px 20px; }
.search { height: 32px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); color: var(--faint); display: flex; align-items: center; padding: 0 14px; max-width: 70%; margin: 0 auto; }
.chips { display: flex; justify-content: center; gap: 6px; margin: 10px 0 16px; flex-wrap: wrap; }
.chips span { border: 1px solid var(--line); border-radius: 12px; padding: 3px 10px; color: var(--muted); font-size: 10.5px; }
.chips .on { background: var(--text); color: var(--bg); border-color: var(--text); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; }
.tile .art { border-radius: 3px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); }
.tile .tt { margin-top: 6px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .q { font-size: 9.5px; color: var(--muted); }
.tile .q.hi { color: var(--accent); }

.album { padding: 18px 20px 22px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 20px; align-items: end; }
.album .np-title { font-size: 22px; }
.copies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.copies span { border: 1px solid var(--line); border-radius: 12px; padding: 3px 10px; font-size: 10.5px; color: var(--soft); }
.copies .best { border-color: var(--accent); background: var(--accent-soft); }
.copies small { color: var(--faint); margin-left: 4px; }
.album .note { margin-top: 10px; color: var(--muted); font-size: 10.5px; }

.tvscreen { aspect-ratio: 16 / 9; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 6%; align-items: center; padding: 0 7%; background: radial-gradient(120% 120% at 20% 40%, #1d2a38 0%, var(--bg) 60%); }
.tvscreen .art { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.lyrics { font-family: var(--serif); font-size: clamp(9px, 1.15vw, 15px); white-space: nowrap; line-height: 1.5; color: var(--faint); }
.lyrics .now { color: var(--text); font-size: 1.12em; }
.lyrics .meta { font-family: var(--sans); font-size: 0.62em; color: var(--muted); margin-bottom: 1.2em; letter-spacing: 0.04em; }

.caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .hero-grid, .split, .cols { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .specs th { width: 38%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .listen { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles .tile:nth-child(n+7) { display: none; }
  .album { grid-template-columns: 1fr; }
  .specs th, .specs td { display: block; width: auto; padding: 4px 0; border: 0; }
  .specs tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .measures { font-size: 14px; }
}
