/* Haliey M. Weber — Actor Portfolio
   Palette: 90's cottagecore-grandma cozy — cream, dusty rose, sage, warm gold */

:root {
  /* Brand: Sky Blue 60% / White 30% / Soft Lime 10% */
  --sky: #9ED8F6;
  --lime: #E7F4C1;
  --ink: #111111;

  /* Legacy names mapped onto the brand palette */
  --cream: #FFFFFF;
  --cream-deep: #9ED8F6;
  --rose: #E7F4C1;
  --rose-deep: #111111;
  --sage: #9ED8F6;
  --sage-deep: #111111;
  --gold: #E7F4C1;
  --brown: #111111;
  --brown-soft: #444444;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.12);

  --font-head: 'Poppins', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --font-script: 'Just Another Hand', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  line-height: 1.65;
}

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

a { color: var(--rose-deep); text-decoration: none; }
a:hover { color: var(--sage-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brown);
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 0.5em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--sage-deep);
  font-weight: 700;
  margin-bottom: 0.6em;
  display: block;
}

/* ---------- Vine accents ---------- */
.hero {
  position: relative;
  overflow: hidden;
}


.hero-grid, .hero > .container { position: relative; z-index: 2; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 4px double rgba(107, 90, 78, 0.3);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--brown-soft);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose-deep);
  border-bottom-color: var(--rose);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--brown);
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--cream-deep);
    box-shadow: 0 8px 16px var(--shadow);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--rose-deep);
  color: var(--white);
}
.btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 14px var(--shadow); }

.btn-outline {
  background: transparent;
  border-color: var(--sage-deep);
  color: var(--sage-deep);
}
.btn-outline:hover { background: var(--sage-deep); color: var(--white); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  padding: 4rem 0 3rem;
}

.hero-motes {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream-deep), var(--rose) 150%);
}

.hero-motes .mote-beam {
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.3) 48%, transparent 62%);
  pointer-events: none;
}

.hero-motes .mote {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(255,255,255,0));
  filter: blur(0.3px);
  opacity: 0;
  animation: moteDrift ease-in-out infinite;
}

@keyframes moteDrift {
  0%   { opacity: 0; transform: translate(0, 20px); }
  15%  { opacity: 0.8; }
  50%  { transform: translate(var(--mx, 20px), -20px); }
  85%  { opacity: 0.6; }
  100% { opacity: 0; transform: translate(var(--mx2, -10px), -60px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-motes .mote { animation: none; opacity: 0.35; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
}

.hero h1 { margin-bottom: 0.3em; }
.hero-tagline {
  font-size: 1.2rem;
  color: var(--brown-soft);
  margin-bottom: 1.6rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.headshot-frame {
  background: var(--white);
  border: 8px solid var(--white);
  outline: 1px solid var(--cream-deep);
  border-radius: 12px;
  box-shadow: 0 18px 40px var(--shadow);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
}

.headshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.headshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  background: linear-gradient(160deg, var(--cream-deep), var(--rose) 140%);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
}

.headshot-placeholder svg { width: 64px; height: 64px; opacity: 0.85; }
.headshot-placeholder small { font-size: 0.78rem; opacity: 0.9; letter-spacing: 0.05em; }

/* ---------- Sections ---------- */
section { padding: 3.5rem 0; }
.section-tight { padding: 2rem 0; }

.section-alt {
  background: var(--white);
  border-bottom: 1px solid var(--cream-deep);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 6px 18px var(--shadow);
}

.card h3 { color: var(--rose-deep); }

.audience-tag {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

/* ---------- Selected work cards ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px var(--shadow);
  display: flex;
  flex-direction: column;
}

.work-card-image {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--cream-deep), var(--rose) 140%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--white);
  text-align: center;
  padding: 1rem;
}

.work-card-image svg { width: 34px; height: 34px; opacity: 0.85; }
.work-card-image small { font-size: 0.7rem; opacity: 0.9; letter-spacing: 0.03em; }

.work-card-body { padding: 1.1rem 1.3rem 1.3rem; }
.work-card-body h4 { font-family: var(--font-head); font-size: 1.25rem; margin: 0 0 0.35rem; color: var(--rose-deep); }

.role-badge {
  display: inline-block;
  background: var(--cream-deep);
  color: var(--brown-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.work-card-body p { margin: 0; font-size: 0.88rem; color: var(--brown-soft); }

.work-list {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 14px;
  box-shadow: 0 6px 18px var(--shadow);
  overflow: hidden;
}

.work-list-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--cream-deep);
  flex-wrap: wrap;
}

.work-list-row:last-child { border-bottom: none; }

.work-list-row .title-group {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.work-list-row h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin: 0;
  color: var(--brown);
}

.work-list-row .role-badge { margin-bottom: 0; }

.work-list-row .production {
  font-size: 0.85rem;
  color: var(--brown-soft);
  white-space: nowrap;
}

/* ---------- Credits tables ---------- */
.credit-block { margin-bottom: 2.5rem; }
.credit-block h3 {
  border-bottom: 2px solid var(--rose);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  color: var(--sage-deep);
}

table.credits {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px var(--shadow);
}

table.credits th, table.credits td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-deep);
  font-size: 0.95rem;
}

table.credits th {
  background: var(--cream-deep);
  color: var(--brown);
  font-family: var(--font-head);
  font-size: 1rem;
}

table.credits tr:last-child td { border-bottom: none; }
table.credits tr:hover td { background: var(--cream); }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px var(--shadow);
  display: flex;
  flex-direction: column;
}

.post-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--sage), var(--rose));
}

.post-card-body { padding: 1.4rem; }
.post-date { font-size: 0.82rem; color: var(--sage-deep); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

.post-body {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 6px 18px var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}
.post-body p { margin-bottom: 1.2em; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  color: var(--brown-soft);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--cream-deep);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--brown);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--rose);
}

.rep-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 6px 18px var(--shadow);
  margin-bottom: 1.5rem;
}

.rep-card .eyebrow { margin-bottom: 0.3em; }

.social-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.social-links a {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--sage);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--sage-deep);
}
.social-links a:hover { background: var(--sage); color: var(--white); }

/* ---------- Plain list (About cards) ---------- */
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin: 0; }

/* ---------- Callout ---------- */
.callout {
  background: var(--sage-deep);
  color: var(--white);
  border-radius: 14px;
  padding: 3rem 2rem;
  text-align: center;
}
.callout h2 { color: var(--white); }
.callout p { color: var(--white); opacity: 0.92; max-width: 50ch; margin: 0 auto 1.5rem; }

.edit-note {
  border: 1.5px dashed var(--gold);
  background: #FFF8EA;
  color: var(--brown-soft);
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.edit-note strong { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown);
  color: var(--cream);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--rose); }

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-brand { font-family: var(--font-head); font-size: 1.4rem; }
.footer-note { font-size: 0.82rem; opacity: 0.7; text-align: center; }

/* ---------- Audiobook cover cards ---------- */
.book-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
}

.book-card {
  width: 250px;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px var(--shadow);
  display: flex;
  flex-direction: column;
}

.book-card img,
.book-card-placeholder {
  display: block;
  width: 100%;
}
.book-card img { height: auto; }
.book-card-placeholder { aspect-ratio: 2 / 3; }

.book-card-placeholder {
  background: linear-gradient(160deg, var(--cream-deep), var(--rose) 140%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 1rem;
}

.book-card-body { padding: 1.1rem 1.3rem 1.4rem; }
.book-card-body h3 { font-size: 1.2rem; color: var(--rose-deep); margin: 0 0 0.4rem; }
.book-card-body p { margin: 0; font-size: 0.88rem; color: var(--brown-soft); }
.book-card-body a { display: inline-block; margin-top: 0.8rem; font-size: 0.88rem; font-weight: 600; }

.status-tag {
  display: inline-block;
  background: var(--cream-deep);
  color: var(--brown-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.status-tag.status-done { background: var(--sage); color: var(--white); }
.status-tag.status-soon { background: var(--rose); color: var(--white); }

/* ---------- Film posters ---------- */
.poster-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.poster { margin: 0; width: 220px; max-width: 100%; }
.poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px var(--shadow);
}
.poster figcaption { margin-top: 0.7rem; font-size: 0.85rem; color: var(--brown-soft); text-align: center; }
.poster figcaption strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--rose-deep); }

.contact-photo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px var(--shadow);
}

/* ---------- Side-by-side headshots (About) ---------- */
.headshot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.headshot-pair .headshot-frame { aspect-ratio: 2 / 3; border-width: 5px; }
.headshot-pair .headshot-frame img { object-position: center 20%; }
.headshot-pair .headshot-frame img.fullbody { object-position: center 40%; }

/* ---------- Blog images & tags ---------- */
.post-card-photo { display: block; width: 100%; height: 160px; object-fit: cover; }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 0.5rem 0 1.2rem; }
.post-body .post-featured { display: block; width: 100%; max-height: 420px; object-fit: cover; margin: 0 0 1.8rem; }
.post-body h2, .post-body h3 { margin: 1.6em 0 0.5em; }
.post-body blockquote { margin: 1.4em 0; padding-left: 1.2rem; border-left: 3px solid var(--rose); color: var(--brown-soft); font-style: italic; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.tag-pill {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border: 1.5px solid var(--sage);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage-deep);
}
.tag-pill:hover { background: var(--sage); color: var(--white); }

/* ---------- SAG-AFTRA badge ---------- */
.sag-badge {
  display: inline-block;
  margin: -0.2rem 0 1rem;
  padding: 0.3rem 0.9rem;
  border: 1.5px solid var(--sage);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

/* ---------- Video embeds ---------- */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.video-grid .video-frame { flex: 0 1 calc((100% - 3rem) / 3); min-width: 280px; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--brown, #4a3b32);
  box-shadow: 0 6px 20px rgba(74, 59, 50, 0.12);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Form extras ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.form-field .optional { font-weight: 500; opacity: 0.75; font-size: 0.85em; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 1rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--sage-deep); }
.form-status.err { color: #a2453d; }
.form-aside { margin-top: 1.5rem; color: var(--brown-soft); }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Footer social icons ---------- */
.social-icons { display: flex; gap: 1rem; margin-top: 0.6rem; }
.social-icons a { display: inline-flex; color: var(--cream); opacity: 0.9; transition: color .15s, transform .15s; }
.social-icons a:hover { color: var(--rose); transform: translateY(-2px); }
.social-icons svg { width: 24px; height: 24px; fill: currentColor; display: block; }

/* ---------- Brand overrides ---------- */
h1 { font-size: 2.8rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.35rem; line-height: 1.25; }

.site-header { border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-bottom-color: var(--ink); }

.hero { background: var(--sky); }
.hero-motes { background: var(--sky); }
.section-alt { background: var(--sky); border-bottom: 0; }

p a:not(.btn), .hero-tagline a, .form-aside a {
  text-decoration: underline; text-decoration-color: var(--sky);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.section-alt p a:not(.btn), .hero p a:not(.btn) { text-decoration-color: var(--ink); }

.btn-primary { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn-primary:hover { color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.callout { background: var(--lime); color: var(--ink); }
.callout h2, .callout p { color: var(--ink); opacity: 1; }
.callout .btn { background: var(--ink); color: var(--white); border-color: var(--ink); }

.audience-tag, .status-tag.status-done, .status-tag.status-soon,
.social-links a:hover, .tag-pill:hover { color: var(--ink); }
.social-links a { border-color: var(--ink); color: var(--ink); }
.social-links a:hover { background: var(--lime); }

.site-footer { background: var(--sky); color: var(--ink); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.social-icons a { color: var(--ink); opacity: 1; }
.social-icons a:hover { color: var(--ink); }
.footer-note { opacity: 0.8; }

/* Brand follow-ups */
.credit-block h3 { border-bottom-color: var(--sky); }
.edit-note { border-color: rgba(0, 0, 0, 0.35); }
.edit-note strong { color: var(--ink); }
.site-footer { margin-top: 0; }

/* Center the page-title block on inner pages so it lines up with the content below */
.hero:not(.pb-hero) > .container:not(.hero-grid) { text-align: center; }
.hero:not(.pb-hero) > .container:not(.hero-grid) .hero-tagline { margin-left: auto; margin-right: auto; }
