/* michaelpos.com · css/site.css · version 261124
   One shared stylesheet for every page. Colours and fonts follow
   Michael Pos Graphic Standards 261103. Built on the old site's breakpoints
   (768px and 1280px); sizes in between scale with the screen. */

:root {
  --charcoal: #1C1B1B;   /* Midnight Charcoal: main background */
  --silver:   #D9D4CD;   /* Silver Strands: text on dark, light bands */
  --mahogany: #8C6D53;   /* Worn Mahogany: thin lines, large words only */
  --slate:    #4A5859;   /* Dusty Slate Blue: second background, Questions marker */
  --tint-1:   #B9B4AD;   /* softer text on dark */
  --tint-2:   #A9A5A0;   /* small print on dark */
  --line:     rgba(217, 212, 205, 0.14);
  --gutter:   clamp(16px, 5vw, 72px);
  --serif: 'EB Garamond', Garamond, Georgia, serif;
  --sans:  Montserrat, 'Helvetica Neue', Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--silver);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
}

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

a { color: var(--silver); }
a:hover { color: #ffffff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; }

p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--silver); color: var(--charcoal);
  padding: 8px 14px; font-family: var(--sans); font-size: 14px; z-index: 20;
}
.skip:focus { left: 8px; }

/* ---------- Top bar ---------- */

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 32px; flex-wrap: wrap;
  padding: 22px var(--gutter);
  border-bottom: 1px solid rgba(217, 212, 205, 0.12);
  /* The top bar stays at the top of the screen while the page scrolls (Andy 261120). */
  position: sticky; top: 0; z-index: 30; background: var(--charcoal);
}
.brand {
  font-family: var(--sans); font-weight: 600; font-size: clamp(17px, 1.25vw, 24px);
  letter-spacing: 0.04em; text-decoration: none; color: var(--silver);
}
.nav { display: flex; flex-wrap: wrap; gap: 8px clamp(28px, 2vw, 40px); font-family: var(--sans); font-weight: 500; font-size: clamp(14px, 1.05vw, 20px); }
.nav a { text-decoration: none; color: var(--silver); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--mahogany); }
.nav a:hover { border-bottom-color: rgba(217, 212, 205, 0.5); color: var(--silver); }

.menu-button {
  display: none;
  background: transparent; border: 1px solid rgba(217, 212, 205, 0.45);
  color: var(--silver); font-family: var(--sans); font-weight: 500; font-size: 14px;
  min-height: 44px; padding: 0 14px; cursor: pointer;
  align-items: center; gap: 8px;
}
.menu-button span[aria-hidden] { font-size: 18px; line-height: 1; }

@media (max-width: 767px) {
  .menu-button { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; font-size: 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: #ffffff; }
  .nav a[aria-current="page"]::before { content: ""; display: inline-block; width: 16px; height: 1px; background: var(--mahogany); vertical-align: middle; margin-right: 10px; }
}
/* Without JavaScript the menu stays open on phones, so it always works. */
.no-js .nav { display: flex; }
.no-js .menu-button { display: none; }

/* ---------- Shared pieces ---------- */

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.inner { max-width: 1080px; margin: 0 auto; }
.inner-narrow { max-width: 760px; margin: 0 auto; }
.inner-read { max-width: 680px; margin: 0 auto; }

.label {
  margin: 0 0 14px;
  font-family: var(--sans); font-weight: 600; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--tint-1);
}
.meta {
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--tint-1);
}
.small { font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--tint-2); }
.soft { color: var(--tint-1); }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.6; }
.lead + .lead { margin-top: 18px; }
.body-l { font-size: 21px; line-height: 1.55; }
.rule { width: 64px; height: 1px; background: var(--mahogany); }

.h-xl { font-size: clamp(44px, 6vw, 80px); line-height: 1.05; }
.h-l  { font-size: clamp(34px, 4vw, 48px); line-height: 1.15; }
.h-m  { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.2; }
.h-s  { font-size: clamp(28px, 3vw, 34px); line-height: 1.2; }
.italic { font-style: italic; }

.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px;
  border: 1px solid var(--silver); background: transparent;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  text-decoration: none; color: var(--silver);
}
.button:hover { background: rgba(217, 212, 205, 0.08); color: var(--silver); }
.button-solid { background: var(--silver); color: var(--charcoal); font-weight: 600; min-height: 50px; padding: 0 30px; }
.button-solid:hover { background: #e8e4de; color: var(--charcoal); }
.on-light .button { border-color: var(--charcoal); color: var(--charcoal); }
.on-light .button:hover { background: rgba(28, 27, 27, 0.06); }

.split {
  display: grid; gap: 48px 80px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}

blockquote.scripture { margin: 40px 0; text-align: center; }
blockquote.scripture p:first-child { font-style: italic; font-size: clamp(26px, 3vw, 34px); line-height: 1.35; }
blockquote.scripture cite { display: block; margin-top: 12px; font-style: normal; }

/* Inline forms from LabelMachine */
.form-frame { width: 100%; min-height: 360px; }
.form-frame iframe { width: 100%; min-height: 360px; border: none; display: block; }
.form-contact, .form-contact iframe { min-height: 560px; }

/* ---------- Home ---------- */

.hero { position: relative; height: 86vh; min-height: 560px; max-height: 980px; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,27,27,0.85) 0%, rgba(28,27,27,0.45) 28%, rgba(28,27,27,0) 44%, rgba(28,27,27,0) 82%, rgba(28,27,27,0.6) 100%);
}
.hero-text { position: relative; z-index: 1; padding: clamp(20px, 4vh, 44px) var(--gutter) 0; max-width: 1100px; }
.hero h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(46px, 7.5vw, 108px); line-height: 1; letter-spacing: -0.01em; }
.hero p { margin-top: 16px; font-style: italic; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.35; max-width: 720px; }

/* Computers (wide screens): the same layout as the share image (Michael and Andy 261120). The photo fills the
   right three fifths and fades into charcoal; the name, a short Worn Mahogany rule and the line sit on the left.
   Phones and tall screens keep the full-bleed photo above, unchanged. */
.hero-rule { display: none; }
@media (min-aspect-ratio: 5/4) and (min-width: 900px) {
  .hero { height: calc(100vh - 70px); min-height: 520px; max-height: 1100px; display: flex; align-items: center; background: var(--charcoal); }
  .hero img { left: auto; right: 0; width: 60%; height: 100%; object-fit: cover; object-position: 45% 62%; }
  .hero::after { background: linear-gradient(90deg, var(--charcoal) 0%, var(--charcoal) 40%, rgba(28,27,27,0) 58%); }
  .hero-text { padding: 0 0 2vh var(--gutter); max-width: calc(40% + 40px); }
  .hero h1 { font-size: clamp(56px, 5.4vw, 104px); }
  .hero-rule { display: block; width: 64px; height: 2px; background: var(--mahogany); margin: clamp(22px, 2.4vw, 34px) 0; }
  .hero p { margin-top: 0; font-size: clamp(22px, 2vw, 32px); max-width: 34vw; }
}


.intro { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(40px, 5vw, 64px); }
.why-men { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.intro .rule { margin-top: 36px; }

.video-section { padding-bottom: clamp(72px, 10vw, 128px); }
.video-section .intro-line { margin: 12px 0 32px; font-size: 21px; line-height: 1.5; color: var(--tint-1); }
.video-box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.video-box::after { content: ""; position: absolute; inset: 0; background: rgba(28,27,27,0.3); }
.video-box .soon {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.play-ring {
  width: 84px; height: 84px; border-radius: 50%; border: 1.5px solid var(--silver);
  background: rgba(28,27,27,0.4); display: flex; align-items: center; justify-content: center;
}
.soon-text { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 0.18em; }
.video-box .video-play {
  position: absolute; inset: 0; z-index: 1; color: var(--silver); text-decoration: none;
  /* Play button sits bottom left, so the face stays clear (261124). */
  display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 16px;
  padding: 0 0 clamp(16px, 3vw, 36px) clamp(16px, 3vw, 36px);
}
.video-play .soon-text { padding-bottom: clamp(22px, 2.4vw, 30px); }
@media (max-width: 600px) {
  .video-play .play-ring { width: 52px; height: 52px; }
  .video-play .play-ring svg { width: 18px; height: 18px; }
  .video-play .soon-text { padding-bottom: 18px; font-size: 12px; }
}
.video-play .play-ring { transition: background .2s, transform .2s; }
.video-play:hover .play-ring, .video-play:focus-visible .play-ring { background: rgba(140,109,83,0.85); transform: scale(1.05); }
.video-play:focus-visible { outline: 2px solid var(--silver); outline-offset: -6px; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

.band-slate { background: var(--slate); padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 10vw, 120px); }
.band-slate .label { color: var(--silver); }
.band-slate .split { align-items: start; gap: 48px 80px; }
.band-slate .body-l + .body-l { margin-top: 18px; }

.q-list { list-style: none; margin: 0; padding: 0; font-size: 22px; line-height: 1.4; }
.q-list li { padding: 14px 0; border-bottom: 1px solid rgba(217,212,205,0.2); }
.q-list li:last-child { border-bottom: 0; }
.q-list-wrap { border-top: 1px solid rgba(217,212,205,0.35); padding-top: 24px; }

.section { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); }
.section-tight-top { padding-top: 0; }
.cover { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
/* New-release covers (dark template) get the thin Warm Taupe border from the Release kit when they sit in the grid
   beside older covers, so they keep their square on the dark page. A cover standing on its own needs no border. */
.song-grid img.framed { box-sizing: border-box; border: 3px solid #AE9A89; }

.letter-grid { border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 112px); }
.letter-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }

.band-light { background: var(--silver); color: var(--charcoal); padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 10vw, 120px); }
.band-light .label { color: var(--slate); }
.band-light a:not(.button) { color: var(--charcoal); }
.band-light p + p { margin-top: 18px; }

/* ---------- Footer ---------- */

.footer {
  padding: 48px var(--gutter) 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  font-family: var(--sans); font-size: 13px; color: var(--tint-2);
  border-top: 1px solid rgba(217, 212, 205, 0.08);
}
.footer a { color: var(--tint-2); }
.footer a:hover { color: var(--silver); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col strong { font-weight: 600; color: var(--silver); }
.footer-right { text-align: right; }
.social { display: flex; gap: 20px; align-items: center; }
.social a { display: inline-flex; padding: 6px; margin: -6px; }
.social svg { width: 20px; height: 20px; }
@media (max-width: 767px) {
  .footer { flex-direction: column; }
  .footer-right { text-align: left; }
}

/* ---------- About ---------- */

.about-band { background: var(--silver); color: var(--charcoal); }
.about-band .inner { max-width: 1200px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: end; }
.about-band .text { padding: clamp(56px, 8vw, 112px) var(--gutter); }
.about-band .label { color: var(--slate); }
.about-band h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.12; }
.about-band img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

.story { font-size: 22px; line-height: 1.65; }
.story p + p { margin-top: 24px; }
.story h2 { font-size: 34px; line-height: 1.2; margin-bottom: 16px; }
.story .rule { margin: 48px 0; }
.story .button { margin-top: 40px; }

.three-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; }
.three-up p { font-size: 21px; line-height: 1.6; border-top: 1px solid rgba(217,212,205,0.4); padding-top: 20px; }

/* ---------- Questions of Faith ---------- */

.q-band .inner { max-width: 1200px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 72px; align-items: center; }
.q-band .text { padding: clamp(56px, 9vw, 130px) 0 clamp(24px, 4vw, 48px); }
.q-band .label { color: var(--silver); }
.marker { width: 120px; height: 2px; background: var(--slate); margin-bottom: 32px; }
.q-band h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.05; }
.q-band .text p:not(.label) { margin-top: 32px; font-size: 23px; line-height: 1.6; max-width: 640px; }
.q-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 768px) { .q-band { padding-bottom: clamp(32px, 5vw, 72px); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.steps li { border-top: 1px solid rgba(217,212,205,0.3); padding-top: 18px; }
.steps .n { font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--mahogany); }
.steps p { margin-top: 8px; font-size: 20px; line-height: 1.5; }
.pull { margin-top: 48px; font-style: italic; font-size: 26px; line-height: 1.45; }

.video-placeholder {
  aspect-ratio: 16 / 9; border: 1px dashed rgba(217,212,205,0.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 16px;
}

.q-list-big { list-style: none; margin: 0; padding: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; }
.q-list-big li { padding: 20px 0; border-bottom: 1px solid rgba(217,212,205,0.16); }
.q-list-big li:last-child { border-bottom: 0; }
.ask { margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(217,212,205,0.3); }
.ask h2 { font-size: 32px; line-height: 1.25; margin-bottom: 24px; }

/* ---------- Songs and song stories ---------- */

.page-head { padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-head .intro-p { margin-top: 32px; font-size: 23px; line-height: 1.6; max-width: 700px; }
.page-head .intro-p + .intro-p { margin-top: 18px; }

.song-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px 64px; align-items: center; border-top: 1px solid rgba(217,212,205,0.18); padding-top: 48px;
}
.song-card h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; }
.song-card .body-l { margin: 20px 0 28px; }
.all-songs { margin-top: 64px; font-family: var(--sans); font-size: 14px; color: var(--tint-2); }

.back { font-family: var(--sans); font-weight: 500; font-size: 13px; text-decoration: none; color: var(--tint-1); }
.cover-credit { margin-top: 10px; font-family: var(--sans); font-size: 12px; color: var(--tint-2); }
.song-story { font-size: 22px; line-height: 1.7; }
.song-story p + p { margin-top: 24px; }
.song-story h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.1; margin-bottom: 8px; }
.song-story .meta { margin-bottom: 40px; }
.song-story blockquote.scripture { margin: 48px 0; }
.song-story .question { margin: 40px 0 48px; font-size: clamp(26px, 3vw, 32px); line-height: 1.35; font-weight: 500; }
.lyric { margin: 32px 0; padding: 20px 24px; border-left: 1px solid var(--mahogany); font-style: italic; color: var(--tint-1); }
.todo { border: 1px dashed rgba(217,212,205,0.4); border-left: 1px dashed rgba(217,212,205,0.4); }

/* ---------- Contact, Privacy, 404 ---------- */

.contact { padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(80px, 12vw, 160px); }
.contact h1 { font-size: clamp(48px, 6vw, 80px); line-height: 1.05; }
.contact .intro-p { margin-top: 32px; font-size: 23px; line-height: 1.6; }
.contact .form-frame { margin-top: 32px; }
.contact .email-line { margin-top: 32px; font-size: 20px; line-height: 1.6; }
.contact .email-line a { text-decoration: none; border-bottom: 1px solid var(--mahogany); word-break: break-word; }
.contact .divider { width: 64px; height: 1px; background: rgba(217,212,205,0.3); margin: 64px 0 24px; }

.legal { font-size: 20px; line-height: 1.65; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.1; }
.legal h2 { font-size: 28px; line-height: 1.25; margin: 48px 0 12px; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 16px; }
.legal ul { margin: 0; padding-left: 1.2em; }
.legal li + li { margin-top: 8px; }
.legal a { text-decoration: none; border-bottom: 1px solid var(--mahogany); word-break: break-word; }
.legal .updated { margin-top: 16px; }

/* ---------- Large screens ---------- */

@media (min-width: 1280px) {
  body { font-size: 21px; }
}

/* ---------- Songs page: newest release and the cover grid (261119) ---------- */

.featured {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px 64px; align-items: center; border-top: 1px solid rgba(217,212,205,0.18); padding-top: 48px;
}
.featured h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; }
.featured .body-l { margin: 20px 0 28px; }

.grid-head {
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: baseline; justify-content: space-between;
  margin: clamp(64px, 8vw, 96px) 0 28px; border-top: 1px solid rgba(217,212,205,0.18); padding-top: 40px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--sans); font-weight: 500; font-size: 13px; min-height: 40px; padding: 0 16px;
  background: transparent; color: var(--silver); border: 1px solid rgba(217,212,205,0.35); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--silver); color: var(--charcoal); border-color: var(--silver); }

/* Every cover sits in the same square, whatever its original shape or frame. */
.song-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 900px) { .song-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
.song-grid li[hidden] { display: none; }
.song-grid a { text-decoration: none; color: var(--silver); display: block; }
.song-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 900px) { .song-grid img.framed { border-width: 2px; } }
.song-grid a:hover img { opacity: 0.88; }
.song-grid .kind {
  margin: 14px 0 6px; font-family: var(--sans); font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--tint-1);
}
.kind-back, .song-grid .kind.back { color: #B89A80; }
.song-grid .t { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
.song-grid .rcsq img { opacity: 0.7; }
.song-grid a:hover .rcsq img { opacity: 0.95; }

/* "Looking back" story: what I wrote then */
.then { margin: 8px 0 48px; padding: 24px 28px; background: rgba(217,212,205,0.05); border-left: 2px solid var(--mahogany); }
.then .label { margin-bottom: 12px; }
.then p { font-size: 20px; line-height: 1.65; color: var(--tint-1); }
.then a { display: inline-block; margin-top: 16px; font-family: var(--sans); font-size: 14px; }
.song-story h2.sub { font-size: 28px; line-height: 1.25; margin: 0 0 16px; }
