/* ============================================
   NEAL HARRELSON VOICE STUDIO
   Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;1,9..40,400&family=Montserrat:wght@400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --cream: #f5f0e8;
  --cream-dark: #ede8dd;
  --navy: #1c2744;
  --navy-light: #2a3a5c;
  --gold: #b8913a;
  --text: #2c2c2c;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --border: rgba(28, 39, 68, 0.12);
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- Navigation ---- */
nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background-color: var(--cream);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  height: var(--nav-height);
}

nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.3s ease;
  padding: 4px 0;
  position: relative;
  text-transform: uppercase;
}

nav a:hover { color: var(--navy); }
nav a.active { color: var(--navy); }

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--navy);
}

/* ---- Page Wrapper ---- */
.page {
  min-height: 100vh;
  padding-bottom: var(--nav-height);
  opacity: 0;
  animation: pageIn 0.5s ease forwards;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Header / Logo ---- */
.site-header {
  padding: 48px 60px 0;
}

.logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
}

.logo-wrap .logo-mark     { height: 56px; width: auto; }
.logo-wrap .logo-wordmark { height: 18px; width: auto; }

/* ---- Page Content ---- */
.page-content {
  padding: 80px 60px 60px;
  max-width: 760px;
}

/* ---- Typography ---- */

/* h1: Cormorant Garamond light — large, flowing, wraps naturally on small screens */
h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin-bottom: 48px;
}

/* h2: short titles — sized so they always fit one line */
h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin-bottom: 36px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

h3 {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 4px;
}

p {
  margin-bottom: 28px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 400;
}

p:last-child { margin-bottom: 0; }

/* ---- CTA ---- */
.cta-link {
  display: inline-block;
  margin-top: 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.3s ease;
  line-height: 1.6;
}

/* Kill the paragraph bottom margin just before the CTA on index */
.page-content p:last-of-type {
  margin-bottom: 0;
}

.cta-link:hover { color: var(--navy); }

/* ---- Divider ---- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 50px 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-content {
  padding: 80px 60px 60px;
  max-width: 860px;
}

.about-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* Studio section: b/w photo leads, text follows */
.about-studio {
  overflow: hidden;
}

.about-studio .about-photo-wrap {
  float: left;
  width: 200px;
  margin: 4px 44px 20px 0;
}

/* Neal section: performing photo leads */
.about-neal {
  overflow: hidden;
}

.about-neal .about-photo-wrap {
  float: left;
  width: 200px;
  margin: 4px 44px 20px 0;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
}

/* Studio photo: grayscale, color on hover */
.about-studio .about-photo {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
  border-radius: 18px;
}

@media (hover: hover) {
  .about-studio .about-photo-wrap:hover .about-photo { filter: grayscale(0%); }
}

/* Neal performing photo: grayscale, color on hover */
.about-neal .about-photo {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
  border-radius: 18px;
}

@media (hover: hover) {
  .about-neal .about-photo-wrap:hover .about-photo { filter: grayscale(0%); }
}

.photo-identity {
  margin-top: 12px;
  background: none;
  padding: 0;
}

.photo-identity h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.2;
}

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* No gap between last studio paragraph and get-in-touch link */
.about-studio p:last-of-type {
  margin-bottom: 0;
}
.about-studio .cta-link {
  display: block;
  margin-top: 18px;
}

/* ============================================
   TESTIMONY PAGE
   ============================================ */

.testimony-intro {
  padding: 80px 60px 20px;
  max-width: 720px;
}

.testimony-intro p { font-size: 1.05rem; }

.testimony-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 40px 60px 60px;
}

.testimony-card {
  cursor: pointer;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(28, 39, 68, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimony-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(28, 39, 68, 0.13);
}

.testimony-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.testimony-card[data-name="David L. Jones"] img {
  object-position: center 20%;
  object-fit: cover;
}

@media (hover: hover) {
  .testimony-card:hover img { filter: grayscale(0%); }
}

.testimony-card-info {
  padding: 20px 24px 24px;
  background: none;
}

.testimony-card-info h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.2;
}

.card-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  line-height: 1.4;
}

/* ---- Modal ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 39, 68, 0.45);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  max-width: 560px;
  width: 100%;
  padding: 52px 52px 44px;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(28, 39, 68, 0.18);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--navy); }

.modal-quote {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--navy);
  border-left: 2px solid var(--border);
  padding-left: 24px;
  margin-bottom: 32px;
  font-weight: 400;
}

.modal-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.2;
}

.modal-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-links a {
  font-size: 1.1rem;
  color: var(--navy);
  display: inline-block;
  width: fit-content;
  transition: color 0.3s ease;
}

.contact-links a:hover { color: var(--text-muted); }

/* ============================================
   NEAL PAGE
   ============================================ */

.neal-content {
  padding: 80px 60px 60px;
  max-width: 860px;
}

.neal-photo-wrap {
  float: left;
  width: 200px;
  margin: 4px 44px 20px 0;
}

.neal-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

@media (hover: hover) {
  .neal-photo-wrap:hover .neal-photo { filter: grayscale(0%); }
}

.neal-identity {
  margin-top: 12px;
  background: none;
  padding: 0;
}

.neal-identity h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.2;
}

.neal-bio { overflow: hidden; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  nav { gap: 24px; }
  .site-header { padding: 28px 24px 0; }
  .page-content { padding: 60px 24px 40px; }
  .about-content { padding: 60px 24px 40px; }
  .neal-content  { padding: 60px 24px 40px; }

  .about-studio .about-photo-wrap,
  .neal-photo-wrap {
    float: none;
    width: 160px;
    margin: 0 0 24px 0;
  }

  .testimony-intro { padding: 60px 24px 20px; }
  .testimony-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 24px 40px;
    gap: 14px;
  }
  .modal { padding: 40px 32px 36px; }
}

@media (max-width: 480px) {
  nav { gap: 16px; }
  nav a { font-size: 11px; }
  .testimony-grid { grid-template-columns: 1fr; }
}
