/* williamrduell.com — replica of the Duda design.
   Colors, sizes and spacing were measured from the original site. */

:root {
  --text: #646464;        /* body copy */
  --heading: #000;        /* page titles */
  --muted-head: #777;     /* "WILLIAM R. DUELL" */
  --link: #939393;        /* links and buttons */
  --nav-main: #adb7ba;    /* main-site menu */
  --nav-honor: #646464;   /* honor microsite menu */
  --footer: #adb7ba;
  --footer-text: #f7f7f7;
  --field: rgba(102, 102, 102, 0.15);
}

* { box-sizing: border-box; }

html { background: #fff; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: normal;
}
main { flex: 1 0 auto; width: 100%; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h1, h2 { font-size: 30px; color: var(--heading); }
h3 { font-size: 24px; color: var(--heading); }
em { font-style: italic; }
.gap { height: 1.15em; }
.center { text-align: center; }

/* ---------- Main-site header ---------- */
.site-header { height: 70px; position: relative; }
.nav-main {
  display: flex; justify-content: center; gap: 40px;
  padding-top: 22px;
}
.nav-main a {
  color: var(--nav-main);
  font-size: 15px; letter-spacing: 0.45px;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { border-bottom-color: var(--nav-main); }

.menu-toggle, .menu-close { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: #555; }
.drawer-overlay { display: none; }

/* ---------- honor microsite header ---------- */
.honor-header { padding-top: 14px; }
.nav-honor {
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: 30px; row-gap: 6px;
  padding: 0 16px;
}
.nav-honor a {
  color: var(--nav-honor);
  font-size: 16px; letter-spacing: 0.48px;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-honor a:hover, .nav-honor a[aria-current="page"] { border-bottom-color: var(--nav-honor); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  border-bottom: 20px solid #f9f9f9;
  margin-top: 70px;
}
.footer-inner {
  min-height: 70px;
  padding: 0 150px 0 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-inner p { font-size: 16px; }
.footer-icons { display: flex; gap: 14px; align-items: center; }
.footer-icons a { color: #fff; display: inline-flex; }
.footer-icons svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Home ---------- */
.home {
  max-width: 1200px; margin: 106px auto 0; padding: 0 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center;
}
.home-photo img { width: 100%; max-width: 576px; aspect-ratio: 1; object-fit: cover; }
.home-text h3 { color: var(--muted-head); margin-bottom: 20px; }
.home-text p { font-size: 18px; }

/* ---------- Page titles ---------- */
.page-title { text-align: center; margin-top: 20px; }

/* ---------- Full-Length Plays ---------- */
.plays { max-width: 776px; margin: 0 auto; padding: 0 16px; }
.plays .page-title { margin-bottom: 125px; }
.play-title { font-weight: 700; font-style: italic; }
.play-title a { color: var(--muted-head); }
.play-synopsis { line-height: 1.2; }
.dev { font-family: Georgia, "Times New Roman", serif; color: #000; line-height: 1.5; }
.genre { font-size: 14px; font-weight: 700; line-height: 1.2; }
.stars { text-align: center; font-size: 14px; }

/* ---------- Contact ---------- */
.contact {
  max-width: 1020px; margin: 66px auto 0; padding: 0 16px;
  display: grid; grid-template-columns: 468px 400px; justify-content: space-between; gap: 40px;
}
.contact h2 { margin-bottom: 52px; }
.contact-form .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.contact-form label { display: block; margin: 0 0 6px -2px; }
.contact-form .field { margin-bottom: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 0; border-radius: 0; background: var(--field);
  font: 16px Arial, Helvetica, sans-serif; color: #000; padding: 8px;
}
.contact-form input { height: 36px; }
.contact-form textarea { height: 76px; resize: vertical; }
.contact-form .actions { display: flex; justify-content: flex-end; margin-top: 25px; }
.btn {
  display: inline-block; background: var(--link); color: #fff; border: 0; border-radius: 20px;
  font: 15px Arial, Helvetica, sans-serif; padding: 10px 14px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: #7d7d7d; }
.required-note { font-size: 10px; margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 14px; margin-bottom: 20px; background: #f1f3f4; border-left: 4px solid var(--footer); color: #333; }
.notice.error { border-left-color: #b94a48; }
.contact-email a { color: var(--text); text-decoration: none; }

/* ---------- honor: about ---------- */
.about-honor { max-width: 917px; margin: 64px auto 0; padding: 0 16px; }
.about-honor .poster { width: 100%; }
.about-honor .synopsis { max-width: 680px; margin: 78px auto 0; }

/* ---------- honor: cast grids ---------- */
.cast-page { max-width: 1056px; margin: 0 auto; padding: 0 16px; }
.cast-page .page-title { margin-top: 30px; }
.cast-intro { max-width: 400px; margin: 34px auto 0; text-align: center; }
.cast-grid {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 100px; column-gap: 16px;
}
.cast-grid li { text-align: center; }
.cast-grid img { width: 100px; height: 100px; margin: 0 auto 14px; }
.cast-grid .name { font-weight: 700; }
.cast-grid .role { font-size: 14px; }

/* ---------- honor: bios ---------- */
.bio {
  margin: 100px auto 0;
  display: grid; grid-template-columns: 50% 50%; align-items: start;
}
.bio-photos { justify-self: end; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 80px; }
.bio-photo { object-fit: contain; max-width: 100%; }
.bio-text { padding: 0 16px 0 26px; max-width: calc(var(--text-w, 400px) + 42px); }
.bio-text .spacer { height: 40px; }
.bio-back { text-align: center; margin-top: 95px; }
.bio-back .btn { width: 280px; font-weight: 700; padding: 11px 14px; }

/* ---------- honor: press ---------- */
.press { max-width: 432px; margin: 0 auto; padding: 0 16px; }
.press .page-title { margin-bottom: 64px; }
.press .news { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.press .logo { display: block; margin: 80px auto 80px; width: 280px; }
.press .logo img { width: 100%; }
.press .quote { font-size: 14px; line-height: 1.15; margin-top: 64px; }
.press .attribution { text-align: right; margin-top: 4px; }

/* ---------- Simple pages (404) ---------- */
.simple { max-width: 640px; margin: 80px auto 0; padding: 0 16px; text-align: center; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1024px) {
  .footer-inner { padding: 0 32px; }
  .home { grid-template-columns: 1fr; max-width: 640px; padding: 0 27px; gap: 26px; margin-top: 10px; }
  .home-photo img { max-width: none; aspect-ratio: 1.6; object-position: 50% 30%; }
  .contact { grid-template-columns: 1fr; max-width: 520px; }
  .bio { grid-template-columns: minmax(0, 1fr); max-width: 520px; padding: 0 16px; }
  .bio > * { min-width: 0; }
  .bio-photos { width: auto !important; }
  .bio-photos { justify-self: center; }
  .bio-text { padding: 0; margin-top: 30px; }
  .cast-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .site-header { height: 58px; }
  .menu-toggle { display: block; position: absolute; right: 18px; top: 12px; }
  .nav-main {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 20;
    width: 260px; padding: 70px 30px; background: #fff;
    flex-direction: column; gap: 22px; justify-content: flex-start;
    transform: translateX(100%); transition: transform .25s ease;
    box-shadow: -2px 0 12px rgba(0,0,0,.12);
  }
  .nav-main a { font-size: 18px; color: var(--text); align-self: flex-start; }
  .menu-close { display: block; position: absolute; top: 14px; right: 16px; font-size: 30px; line-height: 1; color: #555; }
  .menu-open .nav-main { transform: none; }
  .menu-open .drawer-overlay { display: block; position: fixed; inset: 0; z-index: 10; background: rgba(0,0,0,.3); }

  .home-text p { font-size: 15px; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 18px 20px; text-align: center; }
  .footer-inner p { font-size: 14px; }

  .plays .page-title { margin-bottom: 40px; }
  .contact { padding: 0 32px; }
  .contact h2 { margin-bottom: 36px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .actions { display: block; }
  .contact-form .btn { width: 100%; }
  .contact-side { margin-top: 30px; }

  .about-honor { margin-top: 40px; }
  .about-honor .synopsis { margin-top: 40px; }
  .cast-grid { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .cast-page .page-title { font-size: 28px; }
  .bio { margin-top: 30px; padding: 0 32px; }
  .bio-photos { gap: 40px; }
  .bio-back { margin-top: 50px; }
  .press .logo { margin: 50px auto; }
}
