/* ============================================
   Margaret Penn - Official Web Site
   Stylesheet
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  color: #f5f5f5;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
  color: #c8bfa8;
}

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

em, i {
  font-style: italic;
}

strong, b {
  font-weight: bold;
}

/* ============================================
   Navigation (sticky top, hamburger on mobile)
   ============================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 191, 168, 0.25);
  padding: 0.8rem 2rem;
}

nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

nav .nav-brand {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: #f5f5f5;
  text-transform: uppercase;
}

nav .nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
}

nav .nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfcfcf;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: #ffffff;
  border-bottom-color: #c8bfa8;
}

nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #cfcfcf;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.3rem;
}

/* ============================================
   Main Content
   ============================================ */
main {
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

/* Page title (big Impact headline, faithful to original) */
.page-title {
  margin-bottom: 2rem;
}

.page-title h1 {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 3.2rem;
  font-weight: normal;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: lowercase;
}

.page-title.home h1 {
  background: #ffffff;
  color: #000000;
  display: inline-block;
  padding: 0.4rem 1.2rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-title h1 sup {
  font-size: 0.5em;
  vertical-align: super;
  color: #c8bfa8;
}

/* Hero image / full-width image */
.hero-image {
  margin: 2rem 0;
}

.hero-image img {
  margin: 0 auto;
  width: 100%;
  max-width: 760px;
  height: auto;
}

.hero-image .photo-credit,
.caption {
  font-size: 0.78rem;
  color: #9a9a9a;
  margin-top: 0.6rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Content sections */
.content-section {
  margin-bottom: 2.5rem;
}

.content-section h2 {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8bfa8;
  margin-bottom: 1.2rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.content-section p {
  margin-bottom: 1rem;
  font-size: 0.96rem;
  color: #dddddd;
}

/* Music feature block (the green rectangle on home) */
.music-feature {
  background: #c8bfa8;
  color: #000000;
  padding: 1.6rem 1.8rem;
  margin: 2.5rem 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.75;
}

.music-feature h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.music-feature p {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: #000000;
}

.music-feature p.title {
  font-weight: bold;
  margin-top: 0.8rem;
  margin-bottom: 0.2rem;
}

.music-feature audio {
  width: 100%;
  max-width: 480px;
  margin-top: 1rem;
  display: block;
}

.music-feature sup {
  font-size: 0.65em;
}

/* Recital entry */
.recital-entry {
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 2.5rem;
}

.recital-entry:last-of-type {
  border-bottom: none;
}

.recital-entry .poster {
  margin-bottom: 1rem;
}

.recital-entry .poster img {
  max-width: 100%;
  height: auto;
}

.recital-entry .info {
  font-size: 0.95rem;
  color: #dddddd;
  margin-top: 0.6rem;
  line-height: 1.8;
}

.recital-entry .info em {
  color: #ffffff;
}

.recital-entry .photo {
  margin-top: 1.5rem;
}

/* Recordings grid (3 albums) */
.recordings-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.recordings-row .album {
  text-align: center;
}

.recordings-row .album img {
  width: 100%;
  max-width: 227px;
  margin: 0 auto 0.8rem;
}

.recordings-row .album p {
  font-size: 0.88rem;
  color: #dddddd;
}

.recordings-row .album em {
  color: #ffffff;
}

.single-album {
  text-align: left;
  margin: 2rem 0;
}

.single-album img {
  max-width: 227px;
  margin-bottom: 0.8rem;
}

.wide-photo {
  margin: 2rem 0;
}

.wide-photo img {
  width: 100%;
  max-width: 760px;
}

/* Awards list on Engineering */
.awards {
  margin: 1.5rem 0 2rem;
  line-height: 1.9;
  font-size: 0.96rem;
  color: #dddddd;
  font-family: Helvetica, Arial, sans-serif;
}

.awards h2 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.awards .award-item {
  margin-bottom: 1.1rem;
}

.awards .award-item strong {
  color: #c8bfa8;
}

/* Contact */
.contact-info {
  text-align: left;
  margin: 2rem 0;
  font-size: 1rem;
}

.contact-info a {
  color: #c8bfa8;
  border-bottom: 1px solid transparent;
}

.contact-info a:hover {
  border-bottom-color: #c8bfa8;
  color: #ffffff;
}

/* Store link (recordings) */
.store-cta {
  margin: 2.5rem 0 1rem;
  font-size: 1rem;
  color: #dddddd;
  line-height: 1.7;
}

.store-cta a {
  color: #c8bfa8;
  border-bottom: 1px solid rgba(200, 191, 168, 0.4);
}

.store-cta a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Back link (used by CONCERTS subpages) */
.back-link {
  margin: 2rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-link a {
  color: #cfcfcf;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.back-link a:hover {
  color: #ffffff;
  border-bottom-color: #c8bfa8;
}

/* ============================================
   Footer
   ============================================ */
footer {
  border-top: 1px solid rgba(200, 191, 168, 0.15);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

footer .rosetta {
  margin: 0 auto 1.5rem;
  width: 120px;
  height: auto;
  opacity: 0.85;
}

footer p {
  font-size: 0.72rem;
  color: #888888;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ============================================
   Fine Tuning page - CV thumbnail
   ============================================ */
.cv-thumb {
  margin: 6rem 0 1rem;
  text-align: left;
}

.cv-thumb a {
  display: inline-block;
  border: 1px solid rgba(200, 191, 168, 0.2);
  padding: 0.8rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.cv-thumb a:hover {
  border-color: #c8bfa8;
  background-color: rgba(200, 191, 168, 0.05);
}

.cv-thumb img {
  display: block;
  margin-bottom: 0.6rem;
}

.cv-thumb .cv-label {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-style: italic;
  color: #c8bfa8;
  letter-spacing: 0.04em;
  display: block;
  margin-top: 0.4rem;
}

.cv-thumb .cv-credit {
  font-size: 0.72rem;
  color: #9a9a9a;
  font-style: italic;
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

/* ============================================
   CV (curriculum) standalone page
   ============================================ */
.cv-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
  color: #dddddd;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.7;
}

.cv-page .cv-name {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 2.6rem;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.cv-page .cv-role {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #c8bfa8;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.cv-page h2 {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8bfa8;
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(200, 191, 168, 0.2);
  font-weight: normal;
}

.cv-page h2:first-of-type {
  margin-top: 0;
}

.cv-page .cv-summary {
  font-size: 0.98rem;
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.cv-job {
  margin-bottom: 1.8rem;
}

.cv-job .cv-job-title {
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.cv-job .cv-job-meta {
  font-size: 0.88rem;
  color: #c8bfa8;
  font-style: italic;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.cv-job ul,
.cv-page ul.cv-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.cv-job ul li,
.cv-page ul.cv-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.94rem;
  color: #dddddd;
}

.cv-job ul li::before,
.cv-page ul.cv-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #c8bfa8;
  font-weight: bold;
}

.cv-page .cv-note {
  font-size: 0.88rem;
  color: #bbbbbb;
  margin: 0.3rem 0 0.6rem;
}

.cv-page .cv-note strong {
  color: #c8bfa8;
  font-weight: normal;
  letter-spacing: 0.04em;
}

.cv-page .cv-foot {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 191, 168, 0.15);
  font-size: 0.72rem;
  color: #777777;
  text-align: center;
  letter-spacing: 0.04em;
  font-style: italic;
}

/* ============================================
   Article (Fine Tuning - essay / long-form text)
   ============================================ */
.article {
  margin-top: 5rem;         /* generous breathing room under the hero image */
  margin-bottom: 2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #e5e5e5;
}

.article-header {
  text-align: center;
  margin-bottom: 2.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(200, 191, 168, 0.2);
}

.article-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.9rem;
  font-weight: normal;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.article-subtitle {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: #c8bfa8;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.article-subtitle sup {
  font-size: 0.6em;
  vertical-align: super;
}

.article-byline {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 0.92rem;
  font-style: italic;
  color: #aaaaaa;
  letter-spacing: 0.03em;
}

.article-body {
  font-size: 1rem;
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 1.2rem;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  color: #dddddd;
}

.article-body p:first-of-type::first-letter {
  font-size: 2.6rem;
  font-weight: bold;
  float: left;
  line-height: 1;
  padding: 0.15rem 0.6rem 0 0;
  color: #c8bfa8;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.article-body em {
  color: #ffffff;
}

.article-body strong {
  color: #ffffff;
  font-weight: bold;
}

.article-signature {
  margin-top: 2.6rem;
  text-align: right;
  font-style: italic;
  font-weight: bold;
  color: #c8bfa8;
  letter-spacing: 0.04em;
}

/* Article table (Pleyel serial numbers) */
.article-table-wrap {
  margin: 1.8rem 0 2.2rem;
  overflow-x: auto;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 0.94rem;
  background-color: rgba(255, 255, 255, 0.02);
}

.article-table th,
.article-table td {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(200, 191, 168, 0.18);
  text-align: left;
  vertical-align: top;
}

.article-table thead th {
  background-color: rgba(200, 191, 168, 0.12);
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.article-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.025);
}

.article-table tbody td:first-child {
  color: #c8bfa8;
  font-weight: bold;
  white-space: nowrap;
}

.article-table tbody td:nth-child(2),
.article-table tbody td:nth-child(3) {
  white-space: nowrap;
  color: #dddddd;
}

/* Article figure (inline photo with caption) */
.article-figure {
  margin: 2rem auto;
  text-align: center;
}

.article-figure img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 760px;
  height: auto;
}

.article-figure figcaption {
  font-size: 0.78rem;
  color: #9a9a9a;
  margin-top: 0.6rem;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.4;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  nav {
    padding: 0.7rem 1rem;
  }

  nav .nav-brand {
    font-size: 1.15rem;
  }

  nav .nav-toggle {
    display: block;
  }

  nav .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    padding-top: 0.8rem;
    align-items: flex-start;
  }

  nav .nav-links.open {
    display: flex;
  }

  nav .nav-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0;
    width: 100%;
  }

  main {
    padding: 2rem 1.2rem;
  }

  .page-title h1 {
    font-size: 2.3rem;
  }

  .recordings-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .music-feature {
    padding: 1.2rem 1rem;
  }

  .cv-page {
    padding: 2.5rem 1.2rem 3rem;
  }

  .cv-page .cv-name {
    font-size: 2rem;
  }

  .article {
    margin-top: 3rem;
  }

  .article-title {
    font-size: 1.55rem;
  }

  .article-subtitle {
    font-size: 0.98rem;
  }

  .article-body {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .article-body p {
    text-align: left;
  }

  .article-body p:first-of-type::first-letter {
    font-size: 2.2rem;
  }

  .article-table {
    font-size: 0.85rem;
  }

  .article-table th,
  .article-table td {
    padding: 0.55rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .page-title h1 {
    font-size: 1.9rem;
  }

  nav {
    padding: 0.6rem 0.8rem;
  }

  main {
    padding: 1.5rem 1rem;
  }

  footer {
    padding: 1.5rem 1rem;
  }
}
