/* CLINE — clinemusic.com
   Warm, church-facing, booking-first. Static; no build step. */

:root {
  --bone:      #faf7f2;
  --bone-deep: #f2ece2;
  --ink:       #1c1917;
  --ink-soft:  #4a443d;
  --ink-mute:  #7a7168;
  --clay:      #a8471d;
  --clay-deep: #7f3413;
  --gold:      #c98b28;
  --line:      #e2d9cb;
  --white:     #fffdfa;

  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gut: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay-deep); }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 68ch; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--bone);
  padding: .75rem 1.25rem; z-index: 200; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; top: 0; }

/* ---------- eyebrow / section head ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1rem;
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: var(--bone-deep); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--gold); }
.section--ink a { color: var(--gold); }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 68px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 700; letter-spacing: .22em;
  color: var(--ink); text-decoration: none; text-indent: .22em;
}
.brand:hover { color: var(--clay); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav a {
  font-size: .9rem; font-weight: 500; letter-spacing: .02em;
  color: var(--ink-soft); text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--clay); }
.nav a[aria-current="page"] { font-weight: 600; }

.nav-toggle { display: none; }

@media (max-width: 720px) {
  .site-head__inner { flex-wrap: wrap; min-height: 60px; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--line);
    border-radius: 6px; padding: .45rem .7rem; font: inherit; font-size: .85rem;
    color: var(--ink); cursor: pointer;
  }
  .nav {
    display: none; width: 100%; flex-direction: column;
    align-items: flex-start; gap: 0; padding-bottom: .75rem;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: .7rem 0; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: .6rem; border-top: 0; width: auto; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--clay); color: var(--white); }
.btn--primary:hover { background: var(--clay-deep); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--light { background: var(--gold); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--wide { width: 100%; text-align: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1fr 1.05fr; } }

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  letter-spacing: -0.03em;
  margin-bottom: .35em;
}
.hero__lede { font-size: clamp(1.05rem, 1.9vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; }

.hero__figure { position: relative; }
.hero__figure img {
  width: 100%; border-radius: 10px;
  box-shadow: 0 20px 50px -22px rgba(28,25,23,.45);
}

.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--ink-mute);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--clay); flex: none;
}

/* ---------- story ---------- */

.story { max-width: 70ch; }
.story h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-top: 2.5rem;
}
.story h3:first-of-type { margin-top: 1.5rem; }
.story p { color: var(--ink-soft); }

.pull {
  margin: 2.5rem 0;
  padding: 1.75rem 0 1.75rem 1.75rem;
  border-left: 3px solid var(--clay);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}
.pull cite {
  display: block; margin-top: .9rem;
  font-family: var(--sans); font-size: .8125rem; font-style: normal;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute);
}

/* ---------- cards ---------- */

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem;
}
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--ink-soft); }

.card--num { counter-increment: step; }
.card--num h3::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; color: var(--clay); margin-bottom: .6rem;
}
.grid--steps { counter-reset: step; }

/* ---------- song / resource rows ---------- */

.song {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.song:last-child { border-bottom: 1px solid var(--line); }
.song img { border-radius: 6px; box-shadow: 0 8px 22px -12px rgba(28,25,23,.5); }
.song h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.song__note { font-size: .9rem; color: var(--ink-mute); margin-bottom: .9rem; }

.filelinks { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.filelinks a {
  display: inline-block;
  font-size: .85rem; font-weight: 500;
  padding: .4rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  text-decoration: none;
}
.filelinks a:hover { border-color: var(--clay); color: var(--clay); }

@media (max-width: 560px) {
  .song { grid-template-columns: 84px 1fr; gap: 1rem; }
}

/* ---------- forms ---------- */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .4rem; }
.field label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.field .req { color: var(--clay); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 18%, transparent);
}
.field__hint { font-size: .8125rem; color: var(--ink-mute); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__note { font-size: .8125rem; color: var(--ink-mute); }

.section--ink .field label { color: var(--bone-deep); }
.section--ink .field input,
.section--ink .field select,
.section--ink .field textarea {
  background: color-mix(in srgb, var(--bone) 8%, transparent);
  border-color: color-mix(in srgb, var(--bone) 25%, transparent);
  color: var(--white);
}
.section--ink .field input::placeholder,
.section--ink .field textarea::placeholder { color: var(--ink-mute); }
.section--ink .form__note { color: color-mix(in srgb, var(--bone) 62%, transparent); }

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink); color: var(--bone-deep);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-foot a { color: var(--bone-deep); text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 2.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 16%, transparent);
}
.site-foot h4 {
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.site-foot__brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .22em; color: var(--white); }
.site-foot__tag { font-size: .9rem; margin-top: .75rem; color: color-mix(in srgb, var(--bone) 70%, transparent); max-width: 30ch; }
.site-foot__base {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-top: 1.75rem; font-size: .8125rem;
  color: color-mix(in srgb, var(--bone) 58%, transparent);
}

.social { display: flex; gap: 1rem; }
.social a { display: inline-flex; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
