/* Ridge & Root Handyman. Edit this file in a text editor, or use edit.html.
   Lead photo is media/lead-house.jpg, the listing still framed on the house: cover, centered. */

:root {
  --cream: #f6f0e3;
  --timber: #241c14;
  --green: #13291b;
  --bark: #6b4e32;
  --fog: #d9d2c4;
  --amber: #8e4a12;
  --ink: #1c1612;
  --display: "Fraunces", Didot, Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.08rem;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--cream); padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }

.bar {
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--cream);
  border-bottom: 1px solid var(--timber);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  padding: 8px 16px;
}
.logo { width: 148px; height: auto; background: var(--cream); }
.bar nav {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  font-size: 0.95rem;
  min-width: 0;
}
.bar nav a {
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 0;
  min-height: 44px;
  border-bottom: 3px solid transparent;
}
.bar nav a[aria-current="true"] { border-bottom-color: var(--amber); }
.phones { display: flex; gap: 8px; }
.phones a {
  text-decoration: none;
  background: var(--green);
  color: var(--cream);
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}
.phones a.quiet { background: transparent; color: var(--green); border: 1px solid var(--green); }

.poster {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
  align-items: start;
  background: var(--cream);
}
.poster-copy {
  min-width: 0;
  padding: 28px 32px 36px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 8px solid var(--amber);
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.95;
  margin: 0 0 10px;
}
.giant {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1;
  margin: 0 0 16px;
  color: var(--green);
}
.poster p { max-width: 36rem; }
.where { list-style: none; padding: 12px 0 0; margin: 8px 0 0; border-top: 1px solid var(--timber); }
.where li { padding: 4px 0; }
.where span { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.poster-photo {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1130 / 851;
  overflow: hidden;
  background: var(--timber);
}
.poster-photo img.lead {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.caption {
  font-size: 0.92rem;
  color: var(--bark);
  margin: 10px 0 0;
}

.setlist {
  background: var(--green);
  color: var(--cream);
  padding: 8vh 8vw 9vh;
  scroll-margin-top: 80px;
}
.setlist h2, .bands h2, .room h2, .hold h2, .ask h2, .close h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 12px;
}
.setlist h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.setlist ol { list-style: none; padding: 0; margin: 20px 0; }
.setlist li {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  border-top: 1px solid rgba(246, 240, 227, 0.28);
  padding: 10px 0;
}
.lane-note {
  max-width: 40rem;
  border-left: 4px solid #e0a15a;
  padding-left: 14px;
}

.bands { scroll-margin-top: 80px; }
.bands h2 {
  background: var(--fog);
  margin: 0;
  padding: 28px 8vw 8px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}
.bands ol { list-style: none; margin: 0; padding: 0; }
.bands li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 22px 8vw;
  min-height: 18vh;
}
.bands li:nth-child(odd) { background: var(--timber); color: var(--cream); }
.bands li:nth-child(even) { background: var(--cream); color: var(--timber); }
.bands strong {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
}
.bands h3 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 4px; }
.bands p { margin: 0; max-width: 40rem; }

.plate { scroll-margin-top: 80px; background: var(--timber); }
.plate img.bleed {
  width: 100%;
  height: 78vh;
  object-fit: cover;
  object-position: center center;
}
.cap {
  position: relative;
  margin: -56px 10vw 0 22vw;
  background: var(--cream);
  color: var(--ink);
  padding: 16px 18px 18px;
}
.plate.shift .cap { margin: -56px 24vw 0 8vw; }
.cap p { margin: 0; }
.duo-imgs { display: grid; grid-template-columns: 1fr 1.2fr; }
.duo-imgs img { width: 100%; height: 72vh; object-fit: cover; object-position: center center; }
.plate.listing img.bleed {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: #0c0b09;
}

.room {
  background: var(--timber);
  color: var(--cream);
  padding: 6vh 8vw 8vh;
  scroll-margin-top: 80px;
}
.room h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.film-status { margin-top: 0; }
.film-frame { position: relative; aspect-ratio: 16 / 9; background: #0c0b09; margin-top: 12px; }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hold {
  min-height: 70vh;
  background: var(--fog);
  display: grid;
  align-content: center;
  padding: 8vh 8vw;
  scroll-margin-top: 80px;
}
.hold h2 {
  font-size: clamp(2.5rem, 10vw, 8rem);
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 100%;
}
.hold p { max-width: 36rem; font-size: 1.2rem; }

.ask {
  padding: 6vh 8vw 8vh;
  background: var(--cream);
  scroll-margin-top: 80px;
}
.ask h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.ask button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--timber);
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 500;
}
.ask .panel { padding: 0 0 16px; max-width: 40rem; }
.ask .item:last-child { border-bottom: 1px solid var(--timber); }

.close {
  background: var(--green);
  color: var(--cream);
  padding: 8vh 6vw 10vh;
  scroll-margin-top: 80px;
}
.note {
  max-width: 680px;
  margin: 0 auto;
  background: var(--cream);
  color: var(--ink);
  padding: 28px 22px 32px;
}
.close h2 { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--cream); text-align: center; }
.note h2, .note h3 { color: var(--ink); text-align: left; }
.note h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 8px;
}
.field, fieldset.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; }
.field span, legend { font-weight: 700; }
input[type="text"], input[type="tel"], textarea, select {
  width: 100%;
  font-size: 16px;
  padding: 12px;
  border: 1px solid var(--timber);
  background: #fffdf8;
}
textarea { min-height: 130px; resize: vertical; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choices label { display: flex; gap: 8px; align-items: center; min-height: 44px; }
.quote-status { font-weight: 700; color: var(--green); min-height: 1.4em; }
.photo-note, .fine, .chat p { color: var(--bark); }
.photo-list { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; gap: 8px; }
.photo-list li { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: center; }
.photo-list img { width: 88px; height: 64px; object-fit: cover; }
button[type="submit"], .ghost {
  min-height: 48px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
}
button[type="submit"] { background: var(--green); color: var(--cream); }
.ghost { background: transparent; color: var(--timber); border: 1px solid var(--timber); }
.loading { background: #f3e0c4; padding: 12px; font-weight: 700; }
.saved { background: #e5efe4; border: 2px solid var(--green); padding: 12px 14px; }
.saved p { margin: 0 0 8px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chat {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--timber);
}
.chat-result {
  background: #f3e0c4;
  color: var(--ink);
  padding: 12px;
  font-weight: 700;
}
.signoff {
  max-width: 680px;
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}
.signoff a { color: var(--cream); font-weight: 700; }

@media (max-width: 800px) {
  .bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo phones" "nav nav";
    padding: 8px 10px;
  }
  .logo { grid-area: logo; width: 104px; }
  .phones { grid-area: phones; flex-direction: column; align-items: stretch; min-width: 0; }
  .phones a { padding: 8px 8px; font-size: 0.78rem; justify-content: center; }
  .bar nav { grid-area: nav; flex-wrap: wrap; overflow: visible; row-gap: 0; column-gap: 14px; }
  .poster { grid-template-columns: 1fr; }
  .poster-copy { border-right: 0; border-bottom: 8px solid var(--amber); padding: 22px 16px 28px; order: 2; }
  .poster-photo { order: 1; aspect-ratio: 1130 / 851; }
  .poster-photo img.lead {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .cap, .plate.shift .cap { margin: 0 12px 18px; }
  .plate img.bleed, .duo-imgs img { height: 54vh; }
  .plate.listing img.bleed {
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }
  .duo-imgs { grid-template-columns: 1fr; }
  .bands li { grid-template-columns: 64px 1fr; padding: 18px 16px; }
  .setlist, .room, .hold, .ask { padding-left: 16px; padding-right: 16px; }
  .close { padding: 36px 12px 48px; }
  .hold h2 { letter-spacing: -0.03em; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
