
:root {
  --ink: #211d1e;
  --ink-soft: #51484a;
  --muted: #74696b;
  --cream: #fff9ef;
  --paper: #fffdf9;
  --coral: #ff6b62;
  --coral-dark: #dc4f63;
  --gold: #f5bf4f;
  --gold-light: #ffe5a0;
  --berry: #aa355b;
  --line: rgba(33, 29, 30, 0.11);
  --shadow: 0 18px 50px rgba(78, 46, 39, 0.11);
  --shadow-strong: 0 28px 70px rgba(78, 46, 39, 0.18);
  --radius: 24px;
  --shell: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--berry); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: calc(100% - 40px);
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 9999;
  padding: 10px 14px; border-radius: 8px;
  background: #fff; color: #111;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 249, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  color: var(--ink);
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.desktop-nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav a:not(.btn):hover { color: var(--coral-dark); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] .mobile-nav-links { display: grid; }
.mobile-nav-links {
  display: none;
  position: absolute;
  right: 0;
  top: 52px;
  width: min(290px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: var(--shadow-strong);
}
.mobile-nav-links a {
  padding: 12px;
  border-radius: 11px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}
.mobile-nav-links a:hover { background: #fff2e4; }

/* Type */
h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}
h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.5vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.02;
}
h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
p { margin: 0 0 18px; }
.kicker {
  margin: 0 0 10px;
  color: var(--berry);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lead {
  color: var(--ink-soft);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 2.1vw, 1.6rem);
  line-height: 1.45;
}
.center { text-align: center; }

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-row.center { justify-content: center; }
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral-dark), var(--berry));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(170, 53, 91, 0.19);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(170, 53, 91, 0.25);
}
.btn-dark { background: var(--ink); }
.btn-light {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.btn-light:hover { color: var(--ink); }

/* Main homepage hero */
.home-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18,15,16,.22), rgba(18,15,16,.62)),
    url("https://raw.githubusercontent.com/3dudes1life/tresamigosunavida/refs/heads/main/ChatGPT%20Image%20Mar%2026%2C%202025%2C%2012_29_19%20PM.png") center center / cover no-repeat;
  color: #fff;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  z-index: -1;
  background: linear-gradient(to top, var(--cream), transparent);
}
.home-hero-content {
  width: calc(100% - 40px);
  max-width: 880px;
  padding: 130px 0 170px;
  text-align: center;
}
.home-hero .kicker, .home-hero h1 { color: #fff; }
.home-hero h1 { text-shadow: 0 10px 32px rgba(0,0,0,.34); }
.home-hero .hero-copy {
  max-width: 730px;
  margin: 0 auto 28px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
  text-shadow: 0 4px 17px rgba(0,0,0,.62);
}

/* Inner-page color hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 88px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.42), transparent 25%),
    radial-gradient(circle at 86% 20%, rgba(255,255,255,.24), transparent 25%),
    linear-gradient(115deg, var(--coral) 0%, #ff966a 47%, var(--gold) 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -115px;
  width: 460px;
  height: 230px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,.24);
  filter: blur(55px);
}
.page-hero .shell { position: relative; z-index: 1; max-width: 850px; }
.page-hero h1 { font-size: clamp(3.1rem, 7vw, 5.9rem); }
.page-hero p:last-child {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #463637;
  font-size: 1.08rem;
}

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 32px 0 88px; }
.color-band {
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.30), transparent 24%),
    linear-gradient(110deg, rgba(255,107,98,.94), rgba(245,191,79,.90));
}
.soft-band {
  background: linear-gradient(180deg, #fff8ec, #fff3df);
}
.dark-band {
  background: #292224;
  color: #fff;
}
.dark-band h2, .dark-band h3, .dark-band .kicker { color: #fff; }

.two-col {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}
.two-col.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}
.two-col.reverse > :first-child { order: 2; }
.two-col.reverse > :last-child { order: 1; }

.surface {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}
.cover {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
}
.author-art {
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 11px;
  border: 1px solid rgba(170,53,91,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--berry);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quote {
  margin-top: 26px;
  padding: 18px 0 18px 24px;
  border-left: 3px solid var(--coral);
  color: #493e40;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.42rem;
  font-style: italic;
  line-height: 1.45;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card-accent {
  background:
    linear-gradient(#fffdf9, #fffdf9) padding-box,
    linear-gradient(135deg, rgba(255,107,98,.75), rgba(245,191,79,.75)) border-box;
  border: 1px solid transparent;
}
.character-image {
  width: 112px;
  height: 112px;
  margin-bottom: 20px;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(78,46,39,.15);
}
.purchase-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
}
.purchase-card .btn { align-self: flex-start; margin-top: auto; }

/* Press */
.press-grid {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 40px;
  align-items: center;
}
.press-badge {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.contact-strip {
  margin-top: 24px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.70);
}
.contact-strip h2 { margin-bottom: 0; font-size: 2.4rem; }

/* Footer */
.site-footer {
  padding: 50px 0;
  background: #292224;
  color: rgba(255,255,255,.76);
  text-align: center;
}
.site-footer strong, .site-footer a { color: #fff; }
.site-footer p { margin: 5px 0; }
.small { font-size: .88rem; }

/* Mobile */
@media (max-width: 860px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .header-inner { min-height: 68px; }
  .two-col, .two-col.reverse, .cards, .press-grid {
    grid-template-columns: 1fr;
  }
  .two-col.reverse > :first-child, .two-col.reverse > :last-child { order: initial; }
  .two-col { gap: 38px; }
  .two-col > * { min-width: 0; }
  .two-col .content { text-align: center; }
  .two-col .content .btn-row { justify-content: center; }
  .character-image, .press-badge { margin-left: auto; margin-right: auto; }
  .card { text-align: center; }
  .purchase-card .btn { align-self: center; }
  .contact-strip { display: block; text-align: center; }
  .contact-strip .btn { margin-top: 14px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 28px); }
  .brand { font-size: 1.45rem; }
  .home-hero { min-height: 650px; }
  .home-hero-content { width: calc(100% - 28px); padding: 105px 0 145px; }
  .home-hero h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .page-hero { padding: 70px 0 64px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 20px 0 64px; }
  .surface { padding: 24px 20px; border-radius: 22px; }
  .card { padding: 24px 20px; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .cover { max-width: 300px; }
  .contact-strip { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* Fault Lines / Series additions */
:root {
  --fault-teal: #0f6f73;
  --fault-deep: #123f45;
  --fault-ink: #102f34;
  --fault-pool: #1ea7a3;
  --fault-gold: #d9a84c;
  --fault-cream: #fff3cf;
}
.series-reveal {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.18), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(255,255,255,.12), transparent 22%),
    linear-gradient(135deg, var(--fault-deep), var(--fault-teal) 56%, var(--fault-pool));
  color: #fff;
}
.series-reveal::after {
  content: "";
  position: absolute;
  inset: auto -8% -150px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 243, 207, .14);
  filter: blur(55px);
}
.series-reveal .shell {
  position: relative;
  z-index: 1;
}
.series-reveal h2,
.series-reveal h3,
.series-reveal .kicker,
.series-reveal .lead {
  color: #fff;
}
.series-reveal .lead {
  color: rgba(255,255,255,.84);
}
.series-reveal .btn-light {
  background: var(--fault-cream);
  color: var(--fault-ink);
  border-color: rgba(255,255,255,.35);
}
.fault-cover {
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 30px 75px rgba(0,0,0,.28);
}
.coming-pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fault-page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(circle at 10% 16%, rgba(255,244,202,.22), transparent 22%),
    linear-gradient(135deg, #123f45 0%, #0f6f73 54%, #1ea7a3 100%);
  color: #fff;
}
.fault-page-hero h1,
.fault-page-hero .kicker,
.fault-page-hero .lead {
  color: #fff;
}
.fault-page-hero .lead {
  color: rgba(255,255,255,.84);
}
.fault-page-hero .two-col {
  gap: clamp(42px, 7vw, 88px);
}
.fault-title-script {
  display: block;
  margin-top: 10px;
  color: var(--fault-cream);
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: .95;
}
.fault-theme-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.32), transparent 24%),
    linear-gradient(115deg, #e5b24e, #f2cc73 48%, #f7dfaa);
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.series-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.series-card img {
  width: 145px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(78,46,39,.15);
}
.series-card h3 {
  margin-bottom: 6px;
}
.series-status {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--berry);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fault-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.fault-meta .card {
  min-height: 180px;
}
@media (max-width: 860px) {
  .series-grid,
  .fault-meta {
    grid-template-columns: 1fr;
  }
  .series-card {
    grid-template-columns: 120px minmax(0, 1fr);
    text-align: left;
  }
  .series-card img {
    width: 120px;
  }
  .fault-page-hero .content {
    text-align: center;
  }
  .fault-page-hero .btn-row {
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .series-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .series-card img {
    width: 150px;
    margin: 0 auto;
  }
  .fault-page-hero {
    padding: 64px 0;
  }
}


/* Series navigation colors: Book One = sunset orange, Book Two = pool teal */
.desktop-nav a[href="/book.html"],
.mobile-nav-links a[href="/book.html"] {
  color: #d65a2f;
}

.desktop-nav a[href="/fault-lines.html"],
.mobile-nav-links a[href="/fault-lines.html"] {
  color: var(--fault-teal);
}

.desktop-nav a[href="/book.html"]:hover,
.mobile-nav-links a[href="/book.html"]:hover {
  color: #b94722;
}

.desktop-nav a[href="/fault-lines.html"]:hover,
.mobile-nav-links a[href="/fault-lines.html"]:hover {
  color: var(--fault-deep);
}

/* Keep both series links readable and balanced on small screens */
.mobile-nav-links a[href="/book.html"],
.mobile-nav-links a[href="/fault-lines.html"] {
  position: relative;
  padding-left: 40px;
  font-weight: 850;
}

.mobile-nav-links a[href="/book.html"]::before,
.mobile-nav-links a[href="/fault-lines.html"]::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.mobile-nav-links a[href="/book.html"]::before {
  background: linear-gradient(135deg, var(--coral), var(--gold));
}

.mobile-nav-links a[href="/fault-lines.html"]::before {
  background: linear-gradient(135deg, var(--fault-teal), var(--fault-pool));
}

@media (max-width: 860px) {
  .mobile-nav-links {
    width: min(310px, calc(100vw - 28px));
    padding: 10px;
  }

  .mobile-nav-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
    line-height: 1.25;
  }
}


.breadcrumbs{padding:14px 0;border-bottom:1px solid var(--line);background:rgba(255,253,249,.72)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0;padding:0;list-style:none;font-size:.76rem}
.breadcrumbs li:not(:last-child)::after{content:"/";margin-left:7px;color:var(--muted)}
.breadcrumbs a{color:var(--ink-soft);text-decoration:none}
.breadcrumbs [aria-current="page"]{color:var(--berry);font-weight:800}

