/* Mason Douglas - masondouglasmusic.com
   Mimics the previous Wix layout: white page, faded portrait on the right,
   fixed left nav, single centered content column with thin rules. */

:root {
  --ink: #444;
  --ink-soft: #666;
  --rule: #777;
  --link: #1b7a8c;
  --col: 600px;
  --head-font: "Avenir Next", "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font: "Open Sans", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--body-font);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Faded portrait, fixed on the right */
.hero-photo {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(62vw, 980px);
  background: url("/images/mason-hero.jpg") right top / cover no-repeat;
  opacity: .45;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%);
          mask-image: linear-gradient(to right, transparent 0, #000 40%);
  pointer-events: none;
  z-index: 0;
}

/* Left nav */
.side-nav {
  position: fixed;
  left: 12px;
  top: 313px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 5;
}
.side-nav a {
  font-family: var(--head-font);
  font-weight: 300;
  font-size: 18px;
  text-decoration: none;
  color: #000;
  padding: 2px 0;
}
.side-nav a:hover { color: var(--link); }
.side-nav a.active { color: #aaa; }
.menu-toggle { display: none; }

/* Header */
.site-header { position: relative; z-index: 2; text-align: center; padding-top: 6px; }
.name { margin: 0; font-family: var(--head-font); font-weight: 300; font-size: clamp(34px, 5.2vw, 58px); letter-spacing: .1em; line-height: 1.2; }
.name a { text-decoration: none; }

main { position: relative; z-index: 2; width: min(var(--col), 92vw); margin: 0 auto; }

/* Promo carousel */
.promo { position: relative; margin-top: 20px; min-height: 360px; }
.carousel { position: relative; width: 312px; margin: 0 auto; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.slides { position: relative; overflow: hidden; aspect-ratio: 312 / 236; }
.slide { display: none; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; background: #fff; }
.slide.on { display: flex; }
.carousel .slide:first-child:last-child { display: flex; }
.slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.slide-app img { width: 100%; height: 100%; }
.slide-book img { height: 150px; width: auto; }
.slide-book .cap { color: #d4271f; font-weight: 700; font-size: 11px; text-decoration: underline; text-align: center; padding: 8px 26px 18px; line-height: 1.3; }
.slide-album { background: #000; color: #fff; }
.slide-album img { height: 150px; width: auto; }
.slide-album .cap { font-family: "Courier New", monospace; font-size: 12px; text-align: center; padding: 8px 30px 18px; line-height: 1.3; }
.car-btn { position: absolute; top: 40%; background: none; border: 0; font-size: 34px; color: #bbb; cursor: pointer; padding: 0 6px; }
.car-btn.prev { left: 0; } .car-btn.next { right: 0; }
.dots { position: absolute; bottom: 0; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; padding: 6px 0 8px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; border: 1px solid #aaa; background: #fff; padding: 0; cursor: pointer; }
.dots button.on { background: #aaa; }
.social { display: flex; gap: 6px; justify-content: flex-end; margin: 28px 0 0; }
.social a { display: block; line-height: 0; }

/* Sections */
.block { border-top: 1px solid var(--rule); margin-top: 50px; padding-top: 0; text-align: center; }
.block:first-of-type { margin-top: 60px; }
h2 { font-family: var(--body-font); font-weight: 400; font-size: clamp(34px, 5vw, 46px); color: var(--ink); margin: 0 0 4px; line-height: 1.15; }
h3.sub { font-weight: 400; font-size: 28px; color: var(--ink); margin: 40px 0 0; }
h3.sub a { text-decoration: underline; }
.tag { font-style: italic; font-size: 13px; margin: 0 0 14px; color: #222; }
.small { font-size: 13px; }
.center { text-align: center; }
.shows-list { font-size: 15px; padding: 24px 0 36px; }
.shows-list ul { list-style: none; margin: 0; padding: 0; }
.shows-list li { padding: 10px 0; border-bottom: 1px solid #ddd; }

/* Music */
.players { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 10px 0 0; }
.players a img { height: 50px; width: auto; box-shadow: 0 7px 6px -5px rgba(0,0,0,.6); }
.sync-logos { display: flex; gap: 13px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 6px 0 30px; }
.sync-logos img { height: 60px; width: auto; box-shadow: 0 7px 6px -5px rgba(0,0,0,.6); border-radius: 2px; }

/* Studio */
.studio-logo { display: block; width: min(440px, 90%); margin: 24px auto 4px; }
#studio { padding-bottom: 30px; }

/* Books */
.book { display: flex; gap: 12px; justify-content: center; align-items: flex-start; text-align: left; margin: 26px auto 0; max-width: 460px; }
.book > img { width: 86px; height: auto; flex: none; }
.book h3 { font-style: italic; font-weight: 400; font-size: 17px; margin: 0 0 6px; color: var(--ink); }
.book h3 a { text-decoration: underline; }
.book p { margin: 0 0 14px; color: var(--ink-soft); }
.book p a { text-decoration: underline; }
.buy { display: flex; gap: 40px; align-items: flex-start; }
.buy > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.buy-label { color: var(--link); text-decoration: underline; font-size: 17px; margin-bottom: 4px; }
.buy img { height: 28px; width: auto; }

/* Bio */
.bio { text-align: left; font-size: 14px; color: #222; padding: 18px 0 20px; }
.bio p { margin: 0 0 18px; }

/* Contact */
.contact-form { max-width: 440px; margin: 14px auto 0; text-align: left; display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 4px; font-size: 14px; }
.contact-form input, .contact-form textarea { font: inherit; padding: 8px 10px; border: 1px solid #999; background: rgba(255,255,255,.9); border-radius: 0; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--link); outline-offset: 0; }
.contact-form button { justify-self: end; font: inherit; padding: 9px 38px; background: #000; color: #fff; border: 0; cursor: pointer; }
.contact-form button:hover { background: var(--link); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; text-align: center; min-height: 1.4em; }

.site-footer { position: relative; z-index: 2; text-align: center; font-size: 12px; color: #777; padding: 60px 0 30px; }

/* Sub pages (sync, studio) */
.page-head { position: relative; z-index: 2; text-align: center; padding-top: 14px; }
.page-head .back { font-family: var(--head-font); font-weight: 300; font-size: 15px; text-decoration: none; }
.page-title { font-weight: 400; font-size: clamp(36px, 6vw, 52px); }
main.wide { width: min(1000px, 94vw); }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 450px)); gap: 28px 30px; justify-content: center; margin: 26px 0; }
.sync-cat { text-align: center; }
.sync-cat h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 8px; }
.sync-cat iframe { width: 100%; max-width: 450px; height: 650px; border: 0; display: block; margin: 0 auto; }
.cta { display: inline-block; background: #000; color: #fff; text-decoration: none; padding: 10px 28px; margin: 12px 0; }
.cta:hover { background: var(--link); }

/* Mobile */
@media (max-width: 900px) {
  .hero-photo { width: 100vw; opacity: .18; -webkit-mask-image: none; mask-image: none; }
  .menu-toggle { display: block; position: fixed; top: 10px; left: 10px; z-index: 20; background: #fff; border: 1px solid #aaa; padding: 6px 12px; font-family: var(--head-font); font-size: 15px; }
  .side-nav { display: none; top: 48px; left: 10px; background: #fff; padding: 12px 18px; border: 1px solid #ccc; z-index: 19; }
  .side-nav.open { display: flex; }
  .site-header { padding-top: 54px; }
  .social { justify-content: center; }
  .cats { grid-template-columns: minmax(0, 450px); }
  .buy { gap: 24px; }
}

/* Song Dive + consultation form pages (mimic the old Wix page) */
body.sd { --coral: #f25c5c; }
.sd-main { position: relative; z-index: 2; width: min(560px, 92vw); margin: 10px auto 0; margin-right: max(4vw, calc(50vw - 380px)); margin-left: max(4vw, calc(50vw - 380px)); font-family: "Quattrocento Sans", "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.45; color: #222; }
.sd-main h1 { font-family: "Oswald", Impact, sans-serif; font-weight: 700; font-size: 30px; color: #444; margin: 18px 0 0; letter-spacing: .01em; }
.sd-main h2 { font-family: "Oswald", Impact, sans-serif; font-weight: 600; font-size: 26px; color: #444; margin: 2px 0 14px; }
.sd-main h3 { font-family: "Marcellus", Georgia, serif; font-weight: 400; font-size: 17px; color: #222; margin: 26px 0 6px; }
.sd-main p { margin: 0 0 16px; }
.sd-main ul { margin: 0 0 6px; padding-left: 22px; }
.sd-main li { margin: 0 0 6px; }
.sd-btn { display: block; text-align: center; background: var(--coral); color: #fff; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 12px; padding: 12px 18px; margin: 14px 0; }
.sd-btn:hover { background: #d94545; }
.sd-main p.center .sd-btn { display: inline-block; font-size: 13px; padding: 17px 24px; }
.sd-main .prices-label { margin: 24px 0 8px; }
.sd-main .prices { font-size: 16px; line-height: 1.35; }
.testimonials { margin-top: 18px; font-family: "Times New Roman", Times, serif; font-size: 13px; }
.testimonials h4 { font-family: "Quattrocento Sans", sans-serif; font-weight: 400; font-size: 17px; margin: 0 0 10px; }
.testimonials p { margin: 0 0 14px; }
.sd-form-page h1 { font-weight: 500; font-size: 28px; color: #4a1a6b; }
.sd-form { margin: 14px 0 40px; max-width: none; }
.sd-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sd-form label { color: #3a0f55; font-size: 13px; }
.sd-form input, .sd-form textarea, .sd-form select { font: inherit; background: #b8eefa; border: 0; padding: 10px 12px; width: 100%; }
.sd-form select { max-width: 280px; }
.sd-form button { background: #f8fba5; color: #7a3fc0; font-weight: 700; padding: 8px 54px; justify-self: center; }
.sd-form button:hover { background: #eef27f; color: #5b2a99; }
@media (max-width: 900px) {
  .sd-main { margin-left: auto; margin-right: auto; }
  .sd-form .row2 { grid-template-columns: 1fr; }
  .page-head { padding-top: 12px; }
}

/* Vocalists page */
.voc-main { position: relative; z-index: 2; width: min(720px, 92vw); margin: 16px auto 0; text-align: center; font-family: "Open Sans", Arial, sans-serif; color: #333; }
.voc-main h1 { font-family: "Poppins", Arial, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .14em; text-decoration: underline; text-underline-offset: 4px; margin: 14px 0 6px; color: #333; }
.voc-intro { font-size: 13px; max-width: 300px; margin: 0 auto 26px; line-height: 1.35; }
.voc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; text-align: left; }
.voc-cols h2 { font-family: "Open Sans", Arial, sans-serif; font-weight: 700; font-size: 17px; text-decoration: underline; text-align: center; margin: 0 0 22px; color: #333; }
.voc-cols ul { list-style: none; margin: 0; padding: 0 0 0 28px; }
.voc-cols li { margin: 0 0 24px; font-size: 13px; }
.voc-cols li a { font-weight: 700; text-decoration: underline; color: #333; }
.voc-cols li a:hover { color: var(--link); }
.voc-cols li span { margin-left: 4px; }
.voc-cols li span::before { content: "- "; }
@media (max-width: 640px) { .voc-cols { grid-template-columns: 1fr; } .voc-cols ul { padding-left: 12px; } }

/* Desktop only (901px and wider): larger, screen-adaptive content. Mobile is untouched. */
@media (min-width: 901px) {
  :root { --col: clamp(700px, 54vw, 900px); }
  body { font-size: 18px; }
  .side-nav { left: 24px; gap: 8px; }
  .side-nav a { font-size: 22px; }
  .name { font-size: clamp(48px, 4.4vw, 72px); }
  .carousel { width: clamp(400px, 32vw, 500px); }
  .slide-book img, .slide-album img { height: 190px; }
  .slide-book .cap { font-size: 13px; }
  .slide-album .cap { font-size: 14px; }
  .car-btn { font-size: 42px; }
  .dots button { width: 9px; height: 9px; }
  h2 { font-size: clamp(42px, 3.6vw, 56px); }
  h3.sub { font-size: 34px; }
  .tag { font-size: 16px; }
  .small { font-size: 16px; }
  .shows-list { font-size: 19px; }
  .players a img { height: 62px; }
  .sync-logos img { height: 74px; }
  .studio-logo { width: min(540px, 90%); }
  .book { max-width: 600px; }
  .book > img { width: 110px; }
  .book h3 { font-size: 21px; }
  .buy-label { font-size: 21px; }
  .buy img { height: 34px; }
  .bio { font-size: 18px; }
  .contact-form { max-width: 560px; }
  .contact-form label { font-size: 17px; }
  .contact-form input, .contact-form textarea, .contact-form button { font-size: 17px; }
  .site-footer { font-size: 14px; }

  /* Sub pages */
  .page-head .back { font-size: 18px; }
  .page-title { font-size: clamp(44px, 4vw, 60px); }
  .sync-cat h2 { font-size: 26px; }
  .sd-main { width: min(720px, 92vw); font-size: 18px; margin-right: max(4vw, calc(50vw - 460px)); margin-left: max(4vw, calc(50vw - 460px)); }
  .sd-main h1 { font-size: 38px; }
  .sd-main h2 { font-size: 32px; }
  .sd-main h3 { font-size: 21px; }
  .sd-btn { font-size: 15px; }
  .sd-main p.center .sd-btn { font-size: 16px; }
  .sd-main .prices { font-size: 20px; }
  .testimonials { font-size: 16px; }
  .testimonials h4 { font-size: 21px; }
  .sd-form-page h1 { font-size: 34px; }
  .sd-form label { font-size: 16px; }
  .sd-form select { max-width: 340px; }
  .voc-main { width: min(900px, 92vw); }
  .voc-main h1 { font-size: 28px; }
  .voc-intro { font-size: 16px; max-width: 380px; }
  .voc-cols h2 { font-size: 21px; }
  .voc-cols li { font-size: 16px; }
}
