/* ============================================================
   PROFONDO - Andrew Harris
   profile.css

   Styles for profile.html - the AI-optimized artist profile page.
   No gallery aesthetic required; clean, readable, minimal.
   Uses the same font and colour tokens as the main site.
   ============================================================ */


/* ============================================================
   Reset & Base
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #0f0f0f;
  background-color: #f2f0ec;
}


/* ============================================================
   Layout
   ============================================================ */

.profile-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}


/* ============================================================
   Page header
   ============================================================ */

.profile-header {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e4e4e0;
}

.profile-header__pretitle {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6a6a6a;
  margin-bottom: 0.5rem;
}

.profile-header__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.profile-header__subtitle {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #6a6a6a;
}

.profile-header__home-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #6a6a6a;
  text-decoration: none;
  border-bottom: 1px solid #b4b4b4;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.profile-header__home-link:hover {
  color: #0f0f0f;
  border-color: #0f0f0f;
}


/* ============================================================
   Section
   ============================================================ */

.profile-section {
  margin-bottom: 3.5rem;
}

.profile-section__title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6a6a6a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e4e4e0;
}


/* ============================================================
   Biography
   ============================================================ */

.bio-short {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.65;
  color: #0f0f0f;
  margin-bottom: 1.5rem;
}

.bio-full p {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: #0f0f0f;
  margin-bottom: 1rem;
}

.bio-full p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   Performance table
   ============================================================ */

.perf-season-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #0f0f0f;
  margin: 2rem 0 0.75rem;
}

.perf-season-heading:first-of-type {
  margin-top: 0;
}

.perf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.perf-table th {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b4b4b4;
  text-align: left;
  padding: 0 0.75rem 0.5rem 0;
  border-bottom: 1px solid #e4e4e0;
}

.perf-table td {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: #0f0f0f;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid #e4e4e0;
  vertical-align: top;
}

.perf-table tr:last-child td {
  border-bottom: none;
}

.perf-table .col-date  { white-space: nowrap; color: #6a6a6a; width: 15%; }
.perf-table .col-opera { width: 30%; }
.perf-table .col-role  { width: 25%; color: #6a6a6a; }
.perf-table .col-venue { width: 30%; color: #6a6a6a; }

.perf-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #b4b4b4;
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}

.perf-link:hover {
  border-color: #0f0f0f;
}

/* Upcoming badge */
.upcoming-label {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2f0ec;
  background: #0f0f0f;
  padding: 0.15em 0.55em;
  margin-left: 0.4rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}


/* ============================================================
   Press
   ============================================================ */

.press-item {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e4e4e0;
}

.press-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.press-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  color: #0f0f0f;
  margin-bottom: 0.6rem;
}

.press-quote::before { content: '\201C'; }
.press-quote::after  { content: '\201D'; }

.press-source {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #6a6a6a;
}

.press-source a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #b4b4b4;
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}

.press-source a:hover {
  border-color: #6a6a6a;
}


/* ============================================================
   Contact / Management
   ============================================================ */

.contact-block {
  margin-bottom: 1.5rem;
}

.contact-agency {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.contact-detail {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #0f0f0f;
  line-height: 1.7;
}

.contact-detail a {
  color: #0f0f0f;
  text-decoration: none;
  border-bottom: 1px solid #b4b4b4;
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}

.contact-detail a:hover {
  border-color: #0f0f0f;
}


/* ============================================================
   External links / profiles
   ============================================================ */

.external-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.external-links li a {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #0f0f0f;
  text-decoration: none;
  border-bottom: 1px solid #b4b4b4;
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}

.external-links li a:hover {
  border-color: #0f0f0f;
}


/* ============================================================
   Page footer
   ============================================================ */

.profile-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e4e4e0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: #b4b4b4;
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 600px) {
  .profile-wrap {
    padding: 2rem 1.25rem 4rem;
  }

  .profile-header__name {
    font-size: 2rem;
  }

  /* Stack table on narrow screens */
  .perf-table,
  .perf-table thead,
  .perf-table tbody,
  .perf-table th,
  .perf-table td,
  .perf-table tr {
    display: block;
  }

  .perf-table thead {
    display: none;
  }

  .perf-table td {
    padding: 0.2rem 0;
    border-bottom: none;
    color: #0f0f0f;
  }

  .perf-table td.col-date {
    font-size: 0.75rem;
    color: #b4b4b4;
    padding-top: 0.75rem;
  }

  .perf-table td.col-role,
  .perf-table td.col-venue {
    font-size: 0.8125rem;
    color: #6a6a6a;
  }

  .perf-table tr {
    border-bottom: 1px solid #e4e4e0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
  }

  .perf-table tr:last-child {
    border-bottom: none;
  }
}
