/* Theremin Touch docs site. Plain CSS, no build step. */
:root {
  --panel: #2a211b;        /* walnut cabinet */
  --panel-2: #3a2d24;
  --cream: #efe3c8;        /* aged dial face */
  --cream-dim: #c9b995;
  --brass: #d9a441;        /* pointer / accent */
  --brass-dim: #9a7329;
  --ink: #1b140f;
  --glow: #ffcc6a;
  --max: 880px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--panel);
  color: var(--cream);
  font: 17px/1.6 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
a { color: var(--brass); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--glow); outline-offset: 2px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header: instrument nameplate */
header.site {
  border-bottom: 1px solid var(--brass-dim);
  background: linear-gradient(var(--panel-2), var(--panel));
}
header.site .wrap {
  display: flex; align-items: center; gap: 16px; padding: 20px;
}
header.site img { width: 56px; height: 56px; border-radius: 12px; flex: none; }
header.site h1 {
  margin: 0; font-size: 26px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 400;
}
header.site p { margin: 2px 0 0; color: var(--cream-dim); font-style: italic; }
header.site nav { margin-left: auto; font-size: 15px; }
header.site nav a { margin-left: 18px; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

/* Signature: dial scale strip with a slowly drifting sine wave */
.scale {
  height: 64px; overflow: hidden; position: relative;
  border-bottom: 1px solid var(--brass-dim);
  background:
    repeating-linear-gradient(90deg, var(--brass-dim) 0 1px, transparent 1px 24px) bottom / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--brass) 0 1px, transparent 1px 120px) bottom / 100% 18px no-repeat,
    var(--ink);
}
.scale svg { position: absolute; inset: 0; width: 200%; height: 100%; animation: drift 14s linear infinite; }
.scale path { fill: none; stroke: var(--glow); stroke-width: 2; opacity: .8; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .scale svg { animation: none; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center; padding: 48px 0 24px; }
.hero h2 { font-size: 34px; line-height: 1.15; font-weight: 400; margin: 0 0 12px; }
.hero p { color: var(--cream-dim); margin: 0 0 20px; }
.hero img { width: 100%; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.btn {
  display: inline-block; background: var(--brass); color: var(--ink); text-decoration: none;
  padding: 10px 18px; border-radius: 6px; font-weight: 700; letter-spacing: .04em;
  border: 0; font: inherit; cursor: pointer;
}
.btn:hover { background: var(--glow); }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero img { max-width: 220px; margin: 0 auto; display: block; }
  header.site nav { display: none; }
}

/* Sections */
section { padding: 32px 0; border-top: 1px solid rgba(217,164,65,.25); }
h3 {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
  margin: 0 0 18px; font-weight: 400;
}
ul.features { margin: 0; padding-left: 20px; columns: 2; gap: 32px; }
ul.features li { break-inside: avoid; margin-bottom: 6px; }
@media (max-width: 640px) { ul.features { columns: 1; } }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shots figure { margin: 0; }
.shots img { width: 100%; border-radius: 10px; display: block; }
.shots figcaption { font-size: 14px; color: var(--cream-dim); margin-top: 6px; font-style: italic; }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } }

/* FAQ */
details { border-top: 1px solid rgba(217,164,65,.25); padding: 12px 0; }
details:last-of-type { border-bottom: 1px solid rgba(217,164,65,.25); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; color: var(--brass); width: 14px; flex: none; }
details[open] summary::before { content: "–"; }
details p { margin: 10px 0 4px 26px; color: var(--cream-dim); }

/* Contact form */
form { display: grid; gap: 14px; max-width: 560px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--cream-dim); }
input, textarea, select {
  font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 6px;
  border: 1px solid var(--brass-dim); background: var(--ink); color: var(--cream);
}
textarea { min-height: 140px; resize: vertical; }
.note { font-size: 14px; color: var(--cream-dim); }

footer { padding: 32px 0 48px; color: var(--cream-dim); font-size: 14px; border-top: 1px solid var(--brass-dim); margin-top: 32px; }
footer a { margin-right: 16px; }
