/*
 * About / author static page
 * Comfortable 16px-first typography and reusable Blade-friendly sections.
 */

.about-template {
  --about-blue-soft: #edf5ff;
  --about-yellow-soft: #fff6cf;
  --about-border: rgba(16, 16, 16, .34);
  --about-muted-border: rgba(16, 16, 16, .14);
  --body: "Plus Jakarta Sans", Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}

.about-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-right: clamp(1rem, 3vw, 2rem);
  padding-left: clamp(1rem, 3vw, 2rem);
}

.about-skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2100;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
}

.about-site-header {
  background: rgba(248, 244, 236, .95);
  border-bottom: 1px solid rgba(16, 16, 16, .12);
  backdrop-filter: blur(14px);
  transition: box-shadow .2s ease;
}
.about-site-header.is-scrolled { box-shadow: 0 8px 28px rgba(45, 32, 20, .07); }
.about-site-header .navbar { min-height: 82px; }
.about-site-header .nav-link { font-size: .92rem; }
.about-site-header .dropdown-menu {
  background: var(--paper);
  border: 1px solid var(--about-border);
  border-radius: 6px 9px 5px 8px;
  box-shadow: var(--shadow);
}
.about-site-header .dropdown-item { font-size: .86rem; font-weight: 700; }
.about-nav-actions { display: flex; align-items: center; gap: .5rem; }
.about-nav-actions .btn { display: inline-flex; min-height: 42px; align-items: center; gap: .35rem; font-size: .84rem; }

.about-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  text-decoration: none;
}
.about-brand:hover { color: var(--ink); }
.about-brand > span:last-child { display: grid; }
.about-brand strong {
  font-family: var(--hand);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: .9;
}
.about-brand strong span { color: var(--blue); }
.about-brand small { margin-top: .25rem; color: var(--muted); font-size: .7rem; font-weight: 700; }
.about-brand-icon {
  position: relative;
  display: grid;
  width: 46px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  font-size: 2rem;
  transform: rotate(-4deg);
}
.about-brand-icon i:last-child {
  position: absolute;
  top: -5px;
  right: -3px;
  color: #d89e00;
  font-size: .9rem;
}

.about-kicker {
  color: var(--blue);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-hero { padding: 1.25rem 0 2rem; border-bottom: 1px solid var(--about-muted-border); }
.about-breadcrumb { margin-bottom: 1rem; }
.about-breadcrumb .breadcrumb { margin: 0; font-size: .84rem; font-weight: 700; }
.about-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--muted); content: "›"; }
.about-breadcrumb a { color: var(--muted); text-decoration: none; }
.about-breadcrumb a:hover { color: var(--blue); }
.about-breadcrumb .active { color: var(--blue); }
.about-hero h1 {
  display: inline-block;
  margin: .25rem 0 .45rem;
  font-family: var(--hand);
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: .015em;
  line-height: .95;
  text-transform: uppercase;
}
.about-hero h1::after {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: .2rem;
  content: "";
  background: linear-gradient(90deg, var(--yellow) 0 82%, transparent 82%);
  border-radius: 50%;
  transform: rotate(-1deg);
}
.about-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.about-hero-doodles {
  position: relative;
  min-height: 190px;
}
.hero-lightbulb,
.hero-puzzle { position: absolute; color: var(--ink); font-size: 4rem; }
.hero-lightbulb { top: 35px; right: 27%; color: #a77900; transform: rotate(-4deg); }
.hero-puzzle { right: 6%; bottom: 25px; transform: rotate(5deg); }
.hero-network {
  position: absolute;
  top: 25px;
  left: 8%;
  width: 190px;
  height: 135px;
  background:
    linear-gradient(28deg, transparent 47%, rgba(16, 16, 16, .8) 48% 49%, transparent 50%),
    linear-gradient(-25deg, transparent 47%, rgba(16, 16, 16, .65) 48% 49%, transparent 50%);
}
.hero-network::before,
.hero-network::after {
  position: absolute;
  content: "";
  background: rgba(16, 16, 16, .68);
  transform-origin: left center;
}
.hero-network::before { top: 30px; left: 20px; width: 145px; height: 2px; transform: rotate(30deg); }
.hero-network::after { top: 108px; left: 40px; width: 125px; height: 2px; transform: rotate(-45deg); }
.hero-network i {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.hero-network i:nth-child(1) { top: 5px; left: 20px; }
.hero-network i:nth-child(2) { top: 20px; right: 24px; }
.hero-network i:nth-child(3) { top: 62px; left: 82px; background: var(--yellow); }
.hero-network i:nth-child(4) { bottom: 3px; left: 28px; }
.hero-network i:nth-child(5) { right: 3px; bottom: 14px; }
.hero-network i:nth-child(6) { top: 5px; left: 96px; width: 10px; height: 10px; }

.about-author-section { padding: 2.5rem 0; }
.author-portrait {
  position: relative;
  height: 540px;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(218, 235, 252, .65), transparent 65%),
    rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(16, 16, 16, .18);
  border-radius: 48% 52% 8px 8px;
}
.author-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.author-portrait figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: .35rem .6rem;
  color: var(--muted);
  background: rgba(248, 244, 236, .88);
  border: 1px solid rgba(16, 16, 16, .2);
  border-radius: 4px 6px 4px 5px;
  font-size: .76rem;
  font-weight: 700;
}
.author-intro h2 {
  display: inline-block;
  margin: .2rem 0 .75rem;
  color: var(--blue);
  font-family: var(--hand);
  font-size: clamp(2.2rem, 4.3vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
}
.author-intro h2::after {
  display: block;
  width: 100%;
  height: 6px;
  margin-top: .18rem;
  content: "";
  border-top: 3px solid var(--yellow);
  border-radius: 50%;
  transform: rotate(-1deg);
}
.author-roles {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.author-roles li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .65rem;
  background: rgba(255, 255, 255, .35);
  border: 1px solid var(--about-muted-border);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
}
.author-roles i { color: var(--blue); }
.author-intro > p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.author-principle {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  max-width: 680px;
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  background: var(--about-blue-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 6px 0;
}
.author-principle > i { flex: 0 0 auto; color: var(--blue); font-size: 1.5rem; }
.author-principle p { margin: 0; font-family: var(--hand); font-size: 1.15rem; line-height: 1.45; }

.about-details-section { padding: 1rem 0 2.5rem; }
.about-journey-panel,
.about-series-panel,
.about-interests-panel {
  background: rgba(255, 255, 255, .28);
  border: 1px solid var(--about-border);
  border-radius: 8px 12px 7px 10px;
}
.about-journey-panel { height: 100%; padding: 1.25rem; }
.about-section-heading { margin-bottom: 1rem; }
.about-section-heading h2,
.about-interests-panel h2 {
  display: inline-block;
  margin: .15rem 0 0;
  font-family: var(--hand);
  font-size: 1.75rem;
  font-weight: 700;
}
.about-section-heading h2::after,
.about-interests-panel h2::after {
  display: block;
  width: 72px;
  height: 5px;
  margin-top: .15rem;
  content: "";
  border-top: 2px solid var(--blue);
  border-radius: 50%;
}
.about-section-heading.text-center h2::after { margin-right: auto; margin-left: auto; border-color: var(--yellow); }
.about-journey-list { display: grid; }
.about-journey-list article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--about-muted-border);
}
.about-journey-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.journey-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--blue);
  background: var(--about-blue-soft);
  border: 1px solid rgba(6, 69, 142, .22);
  border-radius: 50% 46% 52% 48%;
  font-size: 1.75rem;
  transform: rotate(-4deg);
}
.journey-number { color: var(--blue); font-size: .76rem; font-weight: 900; }
.about-journey-list h3 { margin: .05rem 0 .35rem; color: var(--blue); font-family: var(--hand); font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
.about-journey-list p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.7; }

.about-work-column { display: grid; height: 100%; grid-template-rows: minmax(0, 1fr) auto; gap: 1rem; }
.about-series-panel { min-height: 600px; padding: 1.25rem; overflow: hidden; }
.about-series-panel .carousel { padding: .5rem 2.5rem 2.25rem; }
.about-book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.about-book-card {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: center;
  flex-direction: column;
  padding: 1.4rem 1.1rem 1.2rem;
  overflow: hidden;
  background: #fffdf7;
  border: 1px solid rgba(16, 16, 16, .42);
  border-radius: 5px 8px 5px 7px;
  box-shadow: 5px 7px 0 rgba(16, 16, 16, .06);
  text-align: center;
}
.about-book-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 3px;
  content: "";
  border-left: 1px solid rgba(16, 16, 16, .18);
  border-right: 1px solid rgba(16, 16, 16, .09);
}
.book-card-number {
  align-self: flex-end;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 900;
}
.about-book-card h3 {
  margin: 1.2rem 0 .65rem;
  font-family: var(--hand);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: .95;
}
.about-book-card p { max-width: 220px; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.book-card-doodle { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: auto 0 1rem; color: var(--blue); font-size: 2.4rem; }
.book-card-doodle i:last-child { color: #d69c00; }
.about-book-card a { display: inline-flex; align-items: center; gap: .35rem; color: var(--blue); font-size: .9rem; font-weight: 900; text-decoration: none; }
.about-book-card a:hover { gap: .55rem; color: var(--blue-dark); }
.about-series-panel .carousel-control-prev,
.about-series-panel .carousel-control-next {
  top: 44%;
  bottom: auto;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: rgba(248, 244, 236, .94);
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: 1;
  transform: translateY(-50%);
}
.about-series-panel .carousel-control-prev { left: -.1rem; }
.about-series-panel .carousel-control-next { right: -.1rem; }
.about-series-panel .carousel-indicators { bottom: -.5rem; gap: .25rem; margin-bottom: 0; }
.about-series-panel .carousel-indicators button {
  width: 10px;
  height: 10px;
  background: #858585;
  border: 0;
  border-radius: 50%;
}
.about-series-panel .carousel-indicators .active { background: var(--blue); }

.about-interests-panel { padding: 1.1rem 1.2rem; }
.about-interests-panel header { margin-bottom: .8rem; }
.about-interest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.about-interest-grid > div { display: flex; align-items: center; gap: .6rem; font-size: .94rem; font-weight: 800; }
.about-interest-grid i { color: var(--blue); font-size: 1.35rem; }

.about-quote-section { padding: 0 0 1.5rem; }
.about-quote-section blockquote {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1.5rem 2rem;
  overflow: hidden;
  background: linear-gradient(95deg, var(--about-yellow-soft), rgba(255, 255, 255, .35));
  border: 1px solid rgba(201, 145, 0, .42);
  border-radius: 7px 11px 6px 9px;
}
.quote-mark { align-self: start; color: var(--yellow); font-family: Georgia, serif; font-size: 4rem; font-weight: 900; line-height: .8; }
.about-quote-section p { margin: 0; color: var(--blue); font-family: var(--hand); font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; }
.about-quote-section blockquote > i { color: var(--blue); font-size: 4rem; transform: rotate(-8deg); }

.about-cta-section { padding: 0 0 2.6rem; }
.about-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  min-height: 300px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.8rem;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(255, 255, 255, .4), var(--about-blue-soft));
  border: 2px solid var(--blue);
  border-radius: 8px 12px 7px 10px;
}
.about-cta-panel h2 { margin: .2rem 0 .45rem; font-family: var(--hand); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
.about-cta-panel h2::after { display: block; width: 80%; height: 6px; margin-top: .2rem; content: ""; border-top: 2px solid var(--yellow); border-radius: 50%; }
.about-cta-panel p { max-width: 680px; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.about-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.about-cta-actions .btn { display: inline-flex; min-height: 48px; align-items: center; gap: .45rem; font-size: .88rem; }
.about-cta-panel > img { display: block; width: 100%; max-height: 265px; object-fit: contain; }

.about-footer { padding: 2.2rem 0 .8rem; background: rgba(241, 235, 225, .88); border-top: 1px solid rgba(16, 16, 16, .22); }
.about-footer .about-brand { margin-bottom: .8rem; }
.about-footer p { max-width: 290px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.about-footer h2 { margin: .25rem 0 .7rem; font-family: var(--hand); font-size: 1.12rem; font-weight: 700; }
.about-footer ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.about-footer li a { color: var(--muted); font-size: .88rem; font-weight: 600; text-decoration: none; }
.about-footer li a:hover { color: var(--blue); }
.about-social { display: flex; gap: .45rem; }
.about-social a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: .82rem;
  text-decoration: none;
}
.about-social a:hover { color: var(--ink); background: var(--yellow); transform: translateY(-2px); }
.about-newsletter-form { display: grid; grid-template-columns: minmax(0, 1fr) 48px; }
.about-newsletter-form .form-control {
  min-height: 48px;
  background: rgba(255, 255, 255, .5);
  border-color: rgba(16, 16, 16, .36);
  border-radius: 6px 0 0 7px;
  font-size: .88rem;
}
.about-newsletter-form button {
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 0 8px 6px 0;
  font-size: 1rem;
}
.about-newsletter-form button:hover { background: var(--blue-dark); }
.about-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: .8rem;
  color: var(--muted);
  border-top: 1px solid var(--about-muted-border);
  font-size: .84rem;
}

.about-modal { background: var(--paper); border: 1px solid var(--ink); border-radius: 8px 12px 7px 10px; }
.about-modal h2 { font-family: var(--hand); font-size: 1.7rem; font-weight: 700; }
.about-modal .form-label { font-size: .86rem; font-weight: 800; }
.about-modal .form-control { min-height: 46px; background: rgba(255, 255, 255, .55); border-color: rgba(16, 16, 16, .36); font-size: .92rem; }
.about-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1090;
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: min(360px, calc(100vw - 2rem));
  padding: .8rem 1rem;
  color: #fff;
  background: #174f00;
  border-radius: 6px 9px 5px 8px;
  box-shadow: 0 12px 35px rgba(16, 16, 16, .18);
  font-size: .86rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .2s ease, transform .2s ease;
}
.about-toast.is-visible { opacity: 1; transform: translateY(0); }
.about-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.about-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991.98px) {
  .about-site-header .navbar-collapse { padding: .75rem 0 1rem; }
  .about-site-header .navbar-nav { align-items: flex-start !important; }
  .about-nav-actions { margin-top: .5rem; }
  .about-hero-doodles { min-height: 150px; }
  .author-portrait { height: 500px; }
  .about-work-column { height: auto; }
  .about-series-panel { min-height: auto; }
  .about-cta-panel { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 767.98px) {
  .about-site-header .navbar { min-height: 66px; }
  .about-brand strong { font-size: 1.45rem; }
  .about-brand small { display: none; }
  .about-brand-icon { width: 38px; height: 38px; font-size: 1.7rem; }
  .about-hero { padding-top: .9rem; }
  .about-breadcrumb { display: none; }
  .about-hero h1 { font-size: 3.35rem; }
  .about-hero p { font-size: .95rem; }
  .about-hero-doodles { display: none; }
  .about-author-section { padding: 1.5rem 0 2rem; }
  .author-portrait { height: 430px; }
  .author-intro h2 { font-size: 2.5rem; }
  .author-intro > p { font-size: .95rem; line-height: 1.75; }
  .about-journey-panel,
  .about-series-panel,
  .about-interests-panel { border-radius: 7px; }
  .about-series-panel { padding: 1rem; }
  .about-series-panel .carousel { padding-right: 2rem; padding-left: 2rem; }
  .about-book-card { min-height: 390px; }
  .about-interest-grid { grid-template-columns: 1fr; }
  .about-quote-section blockquote { grid-template-columns: auto minmax(0, 1fr); padding: 1.25rem; }
  .about-quote-section blockquote > i { display: none; }
  .about-cta-panel { grid-template-columns: 1fr; padding: 1.3rem; }
  .about-cta-panel > img { max-height: 230px; }
  .about-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 575.98px) {
  .about-hero h1 { font-size: 2.85rem; }
  .author-portrait { height: 370px; }
  .author-portrait figcaption { display: none; }
  .author-roles { align-items: stretch; flex-direction: column; }
  .about-journey-panel { padding: 1rem; }
  .about-journey-list article { grid-template-columns: 58px minmax(0, 1fr); gap: .75rem; }
  .journey-icon { width: 54px; height: 54px; font-size: 1.4rem; }
  .about-journey-list h3 { font-size: 1.2rem; }
  .about-journey-list p { font-size: .9rem; }
  .about-book-grid { grid-template-columns: 1fr; }
  .about-book-card { min-height: 360px; }
  .about-series-panel .carousel-control-prev,
  .about-series-panel .carousel-control-next { top: 48%; }
  .about-quote-section p { font-size: 1.5rem; }
  .quote-mark { font-size: 3rem; }
  .about-cta-actions { align-items: stretch; flex-direction: column; }
  .about-cta-actions .btn { width: 100%; justify-content: center; }
  .about-footer .about-brand small { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .about-reveal { opacity: 1; transform: none; transition: none; }
}
