/* ============================================================
   Mike Vendetti — Warm & Classic narrator portfolio
   Palette: ink, parchment, oxblood, brass
   Type: Cormorant Garamond (display/serif) + Inter (UI/body)
   ============================================================ */

:root {
  /* Color tokens */
  --ink: #1f1611;            /* near-black with warmth */
  --ink-soft: #322822;
  --parchment: #f5ede0;      /* page background */
  --parchment-deep: #ece1cd;
  --cream: #fbf7ef;
  --line: rgba(31, 22, 17, 0.14);
  --line-strong: rgba(31, 22, 17, 0.28);
  --muted: #6b5d52;
  --oxblood: #8b2e2a;
  --oxblood-deep: #6e201d;
  --brass: #c9a35e;
  --brass-deep: #a58542;

  /* Typography */
  --font-display: "Cormorant Garamond", "Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Sizing */
  --measure: 65ch;
  --container: 1200px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(31,22,17,.08), 0 1px 2px rgba(31,22,17,.04);
  --shadow-md: 0 8px 24px -8px rgba(31,22,17,.18), 0 2px 6px rgba(31,22,17,.06);
  --shadow-lg: 0 24px 48px -16px rgba(31,22,17,.25);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--parchment);
  background-image:
    radial-gradient(ellipse at top left, rgba(201,163,94,0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(139,46,42,0.05), transparent 50%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--oxblood); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,237,224,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-mark { color: var(--oxblood); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.01em;
}
.brand-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav a {
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.nav a:hover { color: var(--oxblood); }
.nav a:hover::after { transform: scaleX(1); }

@media (max-width: 640px) {
  .nav { display: none; }
}

/* ============ Hero ============ */
.hero {
  padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(31,22,17,0.012) 22px 23px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 920px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-weight: 600;
  margin: 0 0 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--oxblood);
  font-weight: 500;
}
.hero-lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--oxblood);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(31,22,17,0.04);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 640px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: var(--oxblood);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 540px) {
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ Sections ============ */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 8px 0 12px;
  color: var(--ink);
}
.section-head .eyebrow { margin-bottom: 8px; }
.section-sub {
  color: var(--muted);
  font-size: 16px;
  margin: 0 auto;
  max-width: 52ch;
}

/* ============ Recent Releases ============ */
.recent { background: var(--cream); }
.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.recent-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease;
}
.recent-card:hover { transform: translateY(-3px); }
.recent-card .cover-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
  background: var(--parchment-deep);
}
.recent-card:hover .cover-wrap { box-shadow: var(--shadow-lg); }
.recent-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.recent-card:hover img { transform: scale(1.03); }
.recent-card .badge-new {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--oxblood);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
}
.recent-card .r-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 4px;
  color: var(--ink);
}
.recent-card .r-author {
  font-size: 13px;
  color: var(--muted);
}

/* ============ Catalog ============ */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 20px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.search-wrap {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
  display: flex;
  align-items: center;
}
.search-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}
#search {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--parchment);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
#search:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--cream);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.chip .count {
  font-size: 11px;
  margin-left: 6px;
  opacity: 0.7;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(24px, 3vw, 36px);
}
.book-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease;
}
.book-card:hover { transform: translateY(-3px); }
.book-card .cover-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  background: var(--parchment-deep);
}
.book-card:hover .cover-wrap { box-shadow: var(--shadow-lg); }
.book-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.book-card:hover img { transform: scale(1.03); }
.book-card .b-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(31,22,17,0.85);
  color: var(--brass);
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.book-card .b-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--ink);
}
.book-card .b-author {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
}
.book-card .b-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.book-card .b-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brass-deep);
  font-weight: 600;
}
.book-card .b-series {
  font-size: 12px;
  color: var(--oxblood);
  font-style: italic;
  margin: 0 0 4px;
}

.empty-state {
  text-align: center;
  padding: 64px 0;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 20px;
}

/* ============ About ============ */
.about { background: var(--ink); color: var(--cream); border-top-color: var(--ink); }
.about .eyebrow { color: var(--brass); }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about-text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin: 0 0 32px;
  color: var(--cream);
}
.about-text h2 em {
  font-style: italic;
  color: var(--brass);
}
.about-text p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(251,247,239,0.82);
  margin: 0 0 20px;
  max-width: 58ch;
}
.about-card {
  background: rgba(251,247,239,0.04);
  border: 1px solid rgba(201,163,94,0.18);
  padding: 32px;
  border-radius: var(--radius);
}
.about-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--brass);
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.genre-list {
  list-style: none;
  margin: 0; padding: 0;
}
.genre-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(201,163,94,0.14);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.genre-list li:last-child { border-bottom: none; }
.genre-list span {
  font-weight: 500;
  color: var(--cream);
  font-size: 15px;
}
.genre-list em {
  font-style: italic;
  color: rgba(251,247,239,0.6);
  font-size: 13px;
  font-family: var(--font-display);
}
@media (max-width: 820px) {
  .about-inner { grid-template-columns: 1fr; }
}

/* ============ Samples ============ */
.samples { background: var(--parchment-deep); }
.sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 28px);
  margin-bottom: 28px;
}
.sample-card {
  background: var(--cream);
  border: 1px solid rgba(31,22,17,0.12);
  border-radius: 6px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  box-shadow: 0 1px 0 rgba(31,22,17,0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.sample-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,22,17,0.08);
}
.sample-meta { margin: 0; }
.sample-genre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 6px;
}
.sample-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.2;
}
.sample-author {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.sample-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
}
.sample-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.samples-note {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.samples-note a {
  color: var(--oxblood);
  border-bottom: 1px solid currentColor;
}
.samples-note a:hover { color: var(--oxblood-deep); }
@media (max-width: 600px) {
  .sample-card { padding: 18px 18px 16px; }
}

/* ============ Testimonials ============ */
.testimonials { background: var(--cream); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: 32px;
}
.testimonial {
  background: var(--parchment);
  padding: 32px 28px;
  border-radius: var(--radius);
  border-left: 3px solid var(--oxblood);
  margin: 0;
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 4px; left: 16px;
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--brass);
  line-height: 1;
  opacity: 0.5;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 16px;
  padding-left: 8px;
}
.testimonial figcaption {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.testimonial figcaption em {
  font-style: italic;
  color: var(--ink-soft);
}
.testimonials-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 17px;
  margin: 24px 0 0;
}
.testimonials-note a {
  color: var(--oxblood);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ Contact ============ */
.contact { text-align: center; }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: 8px 0 20px;
}
.contact-lede {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 auto 36px;
  max-width: 52ch;
}
.contact-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: rgba(251,247,239,0.7);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.site-footer .brand-name {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.footer-tag {
  font-size: 12px;
  color: rgba(251,247,239,0.55);
  margin: 4px 0 0;
  letter-spacing: 0.04em;
}
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  font-size: 14px;
}
.footer-nav a { color: rgba(251,247,239,0.7); }
.footer-nav a:hover { color: var(--brass); }
.copyright {
  font-size: 12px;
  color: rgba(251,247,239,0.4);
  margin: 0;
  text-align: right;
}
.affiliate-disclosure {
  grid-column: 1 / -1;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(251,247,239,0.45);
  margin: 14px 0 0 0;
  text-align: center;
  border-top: 1px solid rgba(251,247,239,0.08);
  padding-top: 14px;
  max-width: 760px;
  justify-self: center;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .copyright { text-align: center; }
  .footer-nav { justify-content: center; }
}

/* ============ Loading shimmer ============ */
.skeleton-card {
  aspect-ratio: 1;
  background: linear-gradient(90deg, var(--parchment-deep) 0%, var(--cream) 50%, var(--parchment-deep) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--radius);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ Email signup section ============ */
.signup {
  background: var(--cream);
  border-top: 1px solid rgba(31,22,17,0.06);
  border-bottom: 1px solid rgba(31,22,17,0.06);
}
.signup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.signup-copy h2 {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.1;
  margin: 8px 0 18px;
  color: var(--ink);
}
.signup-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 460px;
}
.signup-form {
  /* MailerLite injects its own container here; we reset its max-width */
  width: 100%;
}
@media (max-width: 860px) {
  .signup-inner { grid-template-columns: 1fr; gap: 32px; }
  .signup-copy h2 { font-size: 32px; }
}

/* ============ MailerLite embedded form overrides ============
   The MailerLite Universal script injects a deeply-nested form
   structure inside an #mlb2-41081699 wrapper. MailerLite also injects
   a stylesheet that includes high-specificity rules like
     #mlb2-XXXXXX.ml-form-embedContainer .ml-form-embedWrapper
     .ml-form-embedBody .ml-form-embedSubmit button { ... !important; }
   To beat that we chain to the #mlb2-41081699 attribute selector and
   replicate the descendant chain. Specificity (1,1,N) > (1,0,5).
============================================================ */
#mlb2-41081699.ml-form-embedContainer {
  max-width: 100% !important;
  font-family: var(--font-body) !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-embedHeader,
#mlb2-41081699.ml-form-embedContainer .ml-form-embedHeader img {
  display: none !important; /* hide MailerLite's default header image */
}
/* Hide MailerLite's built-in title + description — every placement on this
   site provides its own external copy column or label, so the embedded
   text is pure duplication. */
#mlb2-41081699.ml-form-embedContainer .ml-form-embedContent {
  display: none !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-embedBody {
  padding: 0 !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-formContent .ml-form-fieldRow {
  margin-bottom: 12px !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input[type="email"],
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input[type="text"] {
  width: 100% !important;
  padding: 14px 16px !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  color: var(--ink) !important;
  background: var(--parchment) !important;
  border: 1px solid rgba(31,22,17,0.18) !important;
  border-radius: 6px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 160ms ease;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input[type="email"]:focus,
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input[type="text"]:focus {
  border-color: var(--ink) !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::placeholder {
  color: rgba(31,22,17,0.45) !important;
}
/* Submit button: chain through the same descendants MailerLite uses so we
   exceed its (1,0,5) specificity. */
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button[type="submit"],
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary {
  width: 100% !important;
  padding: 14px 20px !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: var(--cream) !important;
  background: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: background 160ms ease;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button[type="submit"]:hover,
#mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover {
  background: var(--ink-soft) !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-checkboxRow,
#mlb2-41081699.ml-form-embedContainer .ml-form-fieldRow.ml-last-item {
  font-size: 13px !important;
  color: var(--ink-soft) !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-recaptcha {
  margin: 12px 0 !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-successBody {
  text-align: left !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-successBody h4 {
  font-family: var(--font-display) !important;
  font-size: 22px !important;
  color: var(--ink) !important;
  margin: 0 0 8px !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-form-successBody p {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  color: var(--ink-soft) !important;
}
#mlb2-41081699.ml-form-embedContainer .ml-error-displayName {
  color: #b13a2a !important;
  font-size: 13px !important;
  margin-top: 4px !important;
}

/* ============ Footer signup variant ============ */
.footer-signup {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(251,247,239,0.08);
  padding-top: 18px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
  justify-self: center;
  width: 100%;
}
.footer-signup-label {
  font-size: 13px;
  color: rgba(251,247,239,0.7);
  margin: 0;
  text-align: center;
}
/* Footer variant: lighter chrome on the dark footer background.
   MailerLite injects high-specificity rules under #mlb2-41081699 (the form's
   wrapper id, shared by every embed of this form). To beat them we have to
   chain to that id and the inner descendant selectors. */
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input[type="email"] {
  background: rgba(251,247,239,0.06) !important;
  color: var(--cream) !important;
  border: 1px solid rgba(251,247,239,0.18) !important;
}
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::placeholder {
  color: rgba(251,247,239,0.4) !important;
}
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input[type="email"]:focus {
  border-color: var(--brass) !important;
}
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button[type="submit"],
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary {
  background: var(--brass) !important;
  border-color: var(--brass) !important;
  color: var(--ink) !important;
}
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button[type="submit"]:hover,
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover {
  background: var(--brass-deep) !important;
}
/* Footer already has its own label/copy; hide MailerLite's built-in heading
   and description so we don't duplicate the message. */
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-embedContent {
  display: none !important;
}
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-successBody h4,
.footer-signup #mlb2-41081699.ml-form-embedContainer .ml-form-successBody p {
  color: var(--cream) !important;
/* ============ Hire form ============
   Inline inquiry form replacing the old mailto: button. Submitted via
   Netlify Forms (data-netlify="true" on the <form>); a static HTML copy
   of the form must exist at deploy time so Netlify's build bot can
   register the schema. */
.hire-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hire-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}
.hire-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hire-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hire-field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hire-field__req {
  color: var(--oxblood);
  margin-left: 2px;
}
.hire-field input[type="text"],
.hire-field input[type="email"],
.hire-field select,
.hire-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--parchment);
  border: 1px solid rgba(31,22,17,0.18);
  border-radius: 6px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
  box-sizing: border-box;
}
.hire-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
  line-height: 1.5;
}
.hire-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%231f1611' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.hire-field input:focus,
.hire-field select:focus,
.hire-field textarea:focus {
  border-color: var(--ink);
  background: #fff;
}
.hire-field input::placeholder,
.hire-field textarea::placeholder {
  color: rgba(31,22,17,0.4);
}
.hire-form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.hire-form__submit .btn-primary {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.hire-form__samples {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(31,22,17,0.15);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.hire-form__samples:hover {
  color: var(--oxblood);
  border-color: var(--oxblood);
}
.hire-form__note {
  font-size: 13px;
  color: rgba(31,22,17,0.55);
  margin: 4px 0 0;
  text-align: center;
}

/* Override the centered .contact alignment so the form lede is centered
   but the form itself reads left-aligned. */
.contact .hire-form { text-align: left; }

@media (max-width: 600px) {
  .hire-form__row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hire-form__submit {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hire-form__submit .btn-primary { width: 100%; text-align: center; }
  .hire-form__samples { text-align: center; }
}

/* ============ Thanks page ============ */
.thanks-page main { min-height: 60vh; }
.thanks {
  text-align: center;
  padding: 100px 0 80px;
}
.thanks-inner { max-width: 640px; margin: 0 auto; }
.thanks-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: 8px 0 20px;
}
.thanks-lede {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 auto 36px;
  max-width: 52ch;
  line-height: 1.55;
}
.thanks-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
