
@font-face {
  font-family: "Nexa Rust Slab Shadow";
  src: url("../fonts/nexa-rust/nexa-rust.slab-black-shadow-01.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/

/* Fonts */
:root {
  --default-font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-rust-slab: "Nexa Rust Slab Shadow", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --cover-white: #FEFEFE;
  --cover-charcoal: #272727;
  --cover-blue-soft: #6E80B4;
  --cover-blue: #264090;
  --cover-red: #D2232A;
  --blue-pale-sky: #B9D6F2;
  --blue-prussian: #061A40;
  --blue-sapphire: #0353A4;
  --blue-cornflower: #006DAA;
  --blue-deep-space: #003559;
  --surface-blue-mist: #EEF5FB;
  --text-muted: #4B4B4B;
  --text-soft: #666666;
  --red-deep: #A8181F;
  --red-soft: #F8D7DA;
  --border-soft: rgba(6, 26, 64, 0.14);
  --border-blue: rgba(38, 64, 144, 0.25);
  --shadow-soft: 0 18px 45px rgba(6, 26, 64, 0.12);

  --background-color: var(--cover-white); /* Background color for the entire website, including individual sections */
  --default-color: var(--cover-charcoal); /* Default color used for the majority of the text content across the entire website */
  --heading-color: var(--blue-prussian); /* Color for headings, subheadings and title throughout the website */
  --accent-color: var(--cover-red); /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: var(--cover-white); /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: var(--cover-white); /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: var(--cover-charcoal);  /* The default color of the main navmenu links */
  --nav-hover-color: var(--cover-red); /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: var(--cover-white); /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: var(--cover-white); /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: var(--cover-charcoal); /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: var(--cover-red); /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: var(--surface-blue-mist);
  --surface-color: var(--cover-white);
}

.dark-background {
  --background-color: var(--blue-prussian);
  --default-color: var(--cover-white);
  --heading-color: var(--cover-white);
  --surface-color: rgba(254, 254, 254, 0.08);
  --contrast-color: var(--cover-white);
  --text-muted: rgba(254, 254, 254, 0.76);
  --text-soft: rgba(254, 254, 254, 0.68);
  --border-soft: rgba(254, 254, 254, 0.18);
  --border-blue: rgba(185, 214, 242, 0.32);
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Project Button Foundations
------------------------------*/
.btn-primary,
.btn-getstarted,
.btn-discover,
.php-email-form button {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-getstarted:hover,
.btn-getstarted:focus,
.btn-discover:hover,
.btn-discover:focus,
.php-email-form button:hover,
.php-email-form button:focus {
  background-color: var(--red-deep);
  border-color: var(--red-deep);
  color: var(--contrast-color);
}

.btn-secondary {
  background-color: var(--cover-blue);
  border-color: var(--cover-blue);
  color: var(--contrast-color);
  padding: clamp(0.7rem, 0.62rem + 0.24vw, 0.9rem) clamp(1.15rem, 0.95rem + 0.7vw, 1.75rem);
  font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--blue-sapphire);
  border-color: var(--blue-sapphire);
  color: var(--contrast-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--cover-blue);
  color: var(--cover-blue);
  padding: clamp(0.7rem, 0.62rem + 0.24vw, 0.9rem) clamp(1.15rem, 0.95rem + 0.7vw, 1.75rem);
  font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--cover-blue);
  border-color: var(--cover-blue);
  color: var(--contrast-color);
}

.dark-background .btn-outline,
.section-authority .btn-outline,
.section-deep .btn-outline,
.section-book .btn-outline,
.section-red-accent .btn-outline {
  border-color: rgba(254, 254, 254, 0.82);
  color: var(--cover-white);
}

.dark-background .btn-outline:hover,
.dark-background .btn-outline:focus,
.section-authority .btn-outline:hover,
.section-authority .btn-outline:focus,
.section-deep .btn-outline:hover,
.section-deep .btn-outline:focus,
.section-book .btn-outline:hover,
.section-book .btn-outline:focus,
.section-red-accent .btn-outline:hover,
.section-red-accent .btn-outline:focus {
  background-color: var(--cover-white);
  border-color: var(--cover-white);
  color: var(--blue-prussian);
}

.btn-link {
  color: var(--cover-blue);
  font-weight: 700;
}

.btn-link:hover,
.btn-link:focus {
  color: var(--blue-sapphire);
}

/* Project Card & Callout Foundations
------------------------------*/
.card-light,
.card-blue,
.card-dark,
.callout-trust,
.callout-source {
  border-radius: 8px;
  padding: clamp(1.25rem, 1rem + 0.9vw, 2rem);
}

.card-light {
  background: var(--cover-white);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  color: var(--cover-charcoal);
}

.card-blue,
.callout-trust {
  background: var(--surface-blue-mist);
  border: 1px solid var(--border-blue);
  color: var(--blue-prussian);
}

.card-dark {
  background: rgba(254, 254, 254, 0.08);
  border: 1px solid rgba(254, 254, 254, 0.18);
  color: var(--cover-white);
}

.callout-source {
  background: color-mix(in srgb, var(--blue-pale-sky), var(--cover-white) 76%);
  border-left: 4px solid var(--cover-blue);
  color: var(--blue-prussian);
}

.card-light h1,
.card-light h2,
.card-light h3,
.card-light h4,
.card-light h5,
.card-light h6,
.card-blue h1,
.card-blue h2,
.card-blue h3,
.card-blue h4,
.card-blue h5,
.card-blue h6,
.callout-trust h1,
.callout-trust h2,
.callout-trust h3,
.callout-trust h4,
.callout-trust h5,
.callout-trust h6,
.callout-source h1,
.callout-source h2,
.callout-source h3,
.callout-source h4,
.callout-source h5,
.callout-source h6 {
  color: var(--blue-prussian);
}

.card-dark h1,
.card-dark h2,
.card-dark h3,
.card-dark h4,
.card-dark h5,
.card-dark h6 {
  color: var(--cover-white);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--cover-charcoal);
  background-color: var(--cover-white);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid var(--border-soft);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo .sitename {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--blue-prussian);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: var(--red-deep);
  border-color: var(--red-deep);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  background-color: rgba(254, 254, 254, 0.95);
  box-shadow: 0 10px 30px rgba(6, 26, 64, 0.08);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(6, 26, 64, 0.92);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  --background-color: var(--blue-prussian);
  --default-color: var(--cover-white);
  --heading-color: var(--cover-white);
  --surface-color: rgba(254, 254, 254, 0.08);
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
}

.footer .footer-about p {
  color: color-mix(in srgb, var(--default-color), transparent 22%);
  font-size: 15px;
  font-family: var(--default-font);
  line-height: 1.6;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(185, 214, 242, 0.35);
  font-size: 16px;
  color: var(--blue-pale-sky);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--cover-white);
  border-color: var(--cover-white);
  background-color: rgba(254, 254, 254, 0.08);
}

.footer h4 {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--blue-pale-sky), transparent 8%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--cover-white);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid rgba(185, 214, 242, 0.18);
}

.footer .copyright p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 82px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 63px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Project Section Variants
--------------------------------------------------------------*/
.section-plain {
  --background-color: var(--cover-white);
  --default-color: var(--cover-charcoal);
  --heading-color: var(--blue-prussian);
  --surface-color: var(--cover-white);
}

.section-muted {
  --background-color: var(--surface-blue-mist);
  --default-color: var(--cover-charcoal);
  --heading-color: var(--blue-prussian);
  --surface-color: var(--cover-white);
}

.section-pale {
  --background-color: color-mix(in srgb, var(--blue-pale-sky), var(--cover-white) 68%);
  --default-color: var(--cover-charcoal);
  --heading-color: var(--blue-prussian);
  --surface-color: var(--cover-white);
}

.section-authority,
.section-deep,
.section-book,
.section-red-accent {
  --default-color: var(--cover-white);
  --heading-color: var(--cover-white);
  --contrast-color: var(--cover-white);
  --text-muted: rgba(254, 254, 254, 0.76);
  --text-soft: rgba(254, 254, 254, 0.68);
  --border-soft: rgba(254, 254, 254, 0.18);
  --border-blue: rgba(185, 214, 242, 0.32);
}

.section-authority h1,
.section-authority h2,
.section-authority h3,
.section-authority h4,
.section-authority h5,
.section-authority h6,
.section-deep h1,
.section-deep h2,
.section-deep h3,
.section-deep h4,
.section-deep h5,
.section-deep h6,
.section-book h1,
.section-book h2,
.section-book h3,
.section-book h4,
.section-book h5,
.section-book h6,
.section-red-accent h1,
.section-red-accent h2,
.section-red-accent h3,
.section-red-accent h4,
.section-red-accent h5,
.section-red-accent h6 {
  color: var(--heading-color);
}

.section-authority p,
.section-authority li,
.section-deep p,
.section-deep li,
.section-book p,
.section-book li,
.section-red-accent p,
.section-red-accent li {
  color: var(--default-color);
}

.section-authority a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-getstarted):not(.btn-discover),
.section-deep a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-getstarted):not(.btn-discover),
.section-book a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-getstarted):not(.btn-discover),
.section-red-accent a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-getstarted):not(.btn-discover) {
  color: var(--blue-pale-sky);
}

.section-authority a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-getstarted):not(.btn-discover):hover,
.section-deep a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-getstarted):not(.btn-discover):hover,
.section-book a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-getstarted):not(.btn-discover):hover,
.section-red-accent a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-getstarted):not(.btn-discover):hover {
  color: var(--cover-white);
}

.section-authority .text-muted,
.section-authority .text-soft,
.section-authority .section-title p,
.section-deep .text-muted,
.section-deep .text-soft,
.section-deep .section-title p,
.section-book .text-muted,
.section-book .text-soft,
.section-book .section-title p,
.section-red-accent .text-muted,
.section-red-accent .text-soft,
.section-red-accent .section-title p {
  color: var(--text-muted) !important;
}

.section-authority {
  --background-color: var(--blue-prussian);
  --surface-color: rgba(254, 254, 254, 0.08);
}

.section-deep {
  --background-color: var(--blue-deep-space);
  --surface-color: rgba(254, 254, 254, 0.08);
}

.section-book {
  --background-color: var(--cover-blue);
  --surface-color: rgba(254, 254, 254, 0.1);
}

.section-red-accent {
  --background-color: var(--red-deep);
  --surface-color: rgba(254, 254, 254, 0.1);
}

.praise-section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.praise-section .section-title {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: clamp(36px, 5vw, 56px);
}

.praise-section .section-title h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.praise-section .praise-card {
  position: relative;
  height: 100%;
  padding: clamp(28px, 4vw, 42px);
  border-color: rgba(254, 254, 254, 0.2);
}

.praise-section .praise-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--cover-red);
}

.praise-section .praise-quote {
  margin: 0;
}

.praise-section .praise-quote p {
  margin: 0;
  color: var(--cover-white);
  font-size: clamp(1.06rem, 1.8vw, 1.22rem);
  line-height: 1.74;
  font-weight: 600;
}

.praise-section .praise-attribution {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(254, 254, 254, 0.18);
}

.praise-section .praise-attribution strong,
.praise-section .praise-attribution span {
  display: block;
}

.praise-section .praise-attribution strong {
  color: var(--cover-white);
  font-family: var(--heading-font);
  font-size: 1.12rem;
  line-height: 1.2;
}

.praise-section .praise-attribution span {
  margin-top: 8px;
  color: rgba(254, 254, 254, 0.72);
  font-size: 0.98rem;
  line-height: 1.55;
}

.stay-connected-section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.stay-connected-section .stay-connected-intro {
  position: sticky;
  top: 110px;
}

.stay-connected-section .stay-connected-intro h2 {
  margin-bottom: 20px;
  color: var(--blue-prussian);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
}

.stay-connected-section .stay-connected-intro p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.stay-connected-section .stay-connected-intro .btn {
  margin-top: 14px;
}

.stay-connected-section .connection-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cover-red);
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.stay-connected-section .connection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stay-connected-section .connection-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: clamp(22px, 3vw, 30px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stay-connected-section .connection-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-blue);
  box-shadow: 0 22px 50px rgba(6, 26, 64, 0.14);
}

.stay-connected-section .connection-visual-card {
  min-height: 245px;
  display: flex;
  align-items: flex-end;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(6, 26, 64, 0.94), rgba(0, 53, 89, 0.9)), radial-gradient(circle at 18% 18%, rgba(210, 35, 42, 0.42), transparent 28%), radial-gradient(circle at 82% 24%, rgba(185, 214, 242, 0.26), transparent 30%);
  box-shadow: var(--shadow-soft);
}

.stay-connected-section .connection-visual-card span {
  max-width: 320px;
  color: var(--cover-white);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
}

.stay-connected-section .connection-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--cover-blue);
  background: color-mix(in srgb, var(--blue-pale-sky), var(--cover-white) 58%);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  font-size: 1.1rem;
}

.stay-connected-section .connection-card-title {
  margin-bottom: 10px;
  color: var(--blue-prussian);
  font-size: 1.18rem;
  line-height: 1.2;
}

.stay-connected-section .connection-card-text {
  flex: 1 1 auto;
  margin-bottom: 22px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.stay-connected-section .connection-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--cover-blue);
  font-family: var(--nav-font);
  font-weight: 800;
  text-decoration: none;
}

.stay-connected-section .connection-card-link:hover,
.stay-connected-section .connection-card-link:focus {
  color: var(--blue-sapphire);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .stay-connected-section .stay-connected-intro {
    position: static;
  }
}

@media (max-width: 575px) {
  .stay-connected-section .connection-grid {
    grid-template-columns: 1fr;
  }

  .stay-connected-section .connection-card {
    min-height: auto;
  }

  .stay-connected-section .connection-visual-card {
    min-height: 220px;
  }
}

.speaking-media-section {
  padding: clamp(76px, 8vw, 118px) 0;
}

.speaking-media-section .speaking-media-intro {
  max-width: 650px;
}

.speaking-media-section .speaking-media-intro .connection-label {
  color: var(--blue-pale-sky);
}

.speaking-media-section .speaking-media-intro h2 {
  margin-bottom: 22px;
  color: var(--cover-white);
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  line-height: 1.04;
}

.speaking-media-section .speaking-media-intro .lead {
  margin-bottom: 18px;
  color: var(--cover-white);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.64;
  font-weight: 600;
}

.speaking-media-section .speaking-media-intro p {
  color: rgba(254, 254, 254, 0.78);
  font-size: 1.04rem;
  line-height: 1.72;
}

.speaking-media-section .speaking-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.speaking-media-section .speaking-actions .btn-outline {
  color: var(--cover-white);
  border-color: rgba(254, 254, 254, 0.62);
}

.speaking-media-section .speaking-actions .btn-outline:hover,
.speaking-media-section .speaking-actions .btn-outline:focus {
  color: var(--blue-prussian);
  background: var(--cover-white);
  border-color: var(--cover-white);
}

.speaking-media-section .speaking-media-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-pale-sky);
  font-family: var(--nav-font);
  font-weight: 800;
  text-decoration: none;
}

.speaking-media-section .speaking-media-link:hover,
.speaking-media-section .speaking-media-link:focus {
  color: var(--cover-white);
  text-decoration: underline;
}

.speaking-media-section .event-format-panel {
  padding: clamp(22px, 3vw, 30px);
  background: rgba(254, 254, 254, 0.06);
  border: 1px solid rgba(254, 254, 254, 0.16);
  border-radius: 8px;
}

.speaking-media-section .speaking-visual-panel {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(185, 214, 242, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 53, 89, 0.85), rgba(6, 26, 64, 0.96)), radial-gradient(circle at 16% 20%, rgba(210, 35, 42, 0.38), transparent 26%), linear-gradient(90deg, rgba(185, 214, 242, 0.12), transparent 62%);
}

.speaking-media-section .speaking-visual-panel span {
  max-width: 430px;
  color: var(--cover-white);
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.06;
}

.speaking-media-section .event-format-heading {
  margin-bottom: 22px;
}

.speaking-media-section .event-format-heading h3 {
  margin-bottom: 10px;
  color: var(--cover-white);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
}

.speaking-media-section .event-format-heading p {
  margin: 0;
  color: rgba(254, 254, 254, 0.76);
  font-size: 0.98rem;
  line-height: 1.58;
}

.speaking-media-section .event-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.speaking-media-section .event-format-card {
  padding: clamp(20px, 2.5vw, 26px);
  border-color: rgba(254, 254, 254, 0.18);
}

.speaking-media-section .event-format-card h4 {
  margin: 10px 0 12px;
  color: var(--cover-white);
  font-size: 1.08rem;
  line-height: 1.24;
}

.speaking-media-section .event-format-card p {
  margin: 0;
  color: rgba(254, 254, 254, 0.74);
  font-size: 0.96rem;
  line-height: 1.62;
}

.speaking-media-section .event-format-meta {
  display: inline-flex;
  color: var(--blue-pale-sky);
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .speaking-media-section .event-format-grid {
    grid-template-columns: 1fr;
  }

  .speaking-media-section .speaking-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .speaking-media-section .speaking-actions .btn,
  .speaking-media-section .speaking-actions .speaking-media-link {
    justify-content: center;
    width: 100%;
  }
}

.subpage-hero {
  padding: clamp(126px, 11vw, 168px) 0 clamp(68px, 8vw, 110px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue-prussian), #000 8%) 0%, var(--blue-deep-space) 58%, var(--cover-blue) 100%);
}

.subpage-hero .subpage-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue-pale-sky);
  font-family: var(--nav-font);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.subpage-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--cover-white);
  font-size: clamp(2.25rem, 4vw, 4.05rem);
  line-height: 1.02;
}

.subpage-hero .subpage-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(254, 254, 254, 0.82);
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.62;
}

.subpage-hero .subpage-hero-image {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  border: 1px solid rgba(254, 254, 254, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.subpage-hero .subpage-author-image {
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 35%;
}

@media (max-width: 991px) {
  .subpage-hero {
    padding: clamp(108px, 18vw, 136px) 0 clamp(58px, 10vw, 82px);
  }

  .subpage-hero .subpage-hero-image {
    margin: 36px 0 0;
  }
}

@media (max-width: 575px) {
  .subpage-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.1rem);
  }
}

.subpage-content {
  padding: clamp(56px, 7vw, 92px) 0;
}

.subpage-hero .contact-placeholder-form,
.subpage-content .contact-placeholder-form {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(254, 254, 254, 0.96);
  border: 1px solid rgba(254, 254, 254, 0.28);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.subpage-hero .contact-placeholder-form h2,
.subpage-content .contact-placeholder-form h2 {
  margin-bottom: 10px;
  color: var(--blue-prussian);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.subpage-hero .contact-placeholder-form .form-note,
.subpage-content .contact-placeholder-form .form-note {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.subpage-hero .contact-placeholder-form label,
.subpage-content .contact-placeholder-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-prussian);
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subpage-hero .contact-placeholder-form .form-control,
.subpage-hero .contact-placeholder-form .form-select,
.subpage-content .contact-placeholder-form .form-control,
.subpage-content .contact-placeholder-form .form-select {
  min-height: 48px;
  color: var(--default-color);
  background: var(--cover-white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  box-shadow: none;
}

.subpage-hero .contact-placeholder-form textarea.form-control,
.subpage-content .contact-placeholder-form textarea.form-control {
  min-height: 112px;
}

.subpage-hero .contact-placeholder-form .form-control:focus,
.subpage-hero .contact-placeholder-form .form-select:focus,
.subpage-content .contact-placeholder-form .form-control:focus,
.subpage-content .contact-placeholder-form .form-select:focus {
  border-color: var(--cover-blue);
  box-shadow: 0 0 0 0.2rem rgba(38, 64, 144, 0.16);
}

.subpage-hero .contact-placeholder-form .btn[disabled],
.subpage-content .contact-placeholder-form .btn[disabled] {
  cursor: not-allowed;
  opacity: 0.78;
}

.subpage-content .subpage-content-inner {
  box-sizing: border-box;
  width: min(100%, 1160px);
  margin-inline: auto;
}

.subpage-content .subpage-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.subpage-content h2 {
  max-width: 920px;
  color: var(--blue-prussian);
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.06;
}

.subpage-content .placeholder-panel {
  max-width: 100%;
  padding: 0;
}

.subpage-content .placeholder-panel.card-light {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
}

.subpage-content .placeholder-copy {
  max-width: 920px;
  color: var(--text-muted);
  font-size: clamp(1.04rem, 1rem + 0.25vw, 1.18rem);
  line-height: 1.7;
}

.subpage-content .subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.subpage-content .placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(28px, 4vw, 42px);
}

.subpage-content .placeholder-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.subpage-content .placeholder-card h3 {
  color: var(--blue-prussian);
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.subpage-content .placeholder-card p {
  flex: 1 1 auto;
  color: var(--text-muted);
  line-height: 1.62;
}

@media (max-width: 767px) {
  .subpage-content .subpage-content-grid {
    grid-template-columns: 1fr;
  }

  .subpage-content .placeholder-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .subpage-content .placeholder-grid {
    gap: 22px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 80px 0;
}

.hero .hero-content {
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .hero .hero-content {
    margin-bottom: 0;
  }
}

.hero .hero-tag {
  display: inline-flex;
  align-items: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.hero .hero-tag i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

.hero .hero-tag span {
  color: var(--accent-color);
  font-weight: 600;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  color: var(--accent-color);
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero .lead {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 1.5rem;
}

.hero .hero-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.hero .hero-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.hero .hero-features li i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

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

.hero .hero-cta .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero .hero-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
}

.hero .hero-cta .btn-link {
  color: var(--heading-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.hero .hero-cta .btn-link i {
  margin-right: 0.5rem;
}

.hero .hero-cta .btn-link:hover {
  color: var(--accent-color);
}

.hero .hero-image-wrapper {
  position: relative;
  padding: 0 40px;
}

.hero .hero-image-wrapper .hero-image {
  border-radius: 10px;
}

.hero .hero-image-wrapper .stat-card {
  position: absolute;
  background-color: var(--surface-color);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 150px;
}

.hero .hero-image-wrapper .stat-card.top-right {
  top: 40px;
  right: 0px;
}

.hero .hero-image-wrapper .stat-card.bottom-left {
  bottom: 40px;
  left: 0px;
}

.hero .hero-image-wrapper .stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.hero .hero-image-wrapper .stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.hero .hero-image-wrapper .stat-card .stat-icon {
  align-self: flex-end;
  font-size: 1.25rem;
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

@media (max-width: 575px) {
  .hero .hero-image-wrapper {
    padding: 0;
  }

  .hero .hero-image-wrapper .stat-card {
    position: relative;
  }

  .hero .hero-image-wrapper .stat-card.top-right,
  .hero .hero-image-wrapper .stat-card.bottom-left {
    inset: auto;
    margin-top: 30px;
  }
}

.hero.hero-book {
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue-prussian), #000 8%) 0%, var(--blue-deep-space) 52%, var(--cover-blue) 100%);
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px);
}

.hero.hero-book .hero-content {
  max-width: 680px;
}

.hero.hero-book .hero-tag {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid rgba(185, 214, 242, 0.36);
  border-radius: 0;
  padding: 0 0 0.55rem;
}

.hero.hero-book .hero-tag span {
  color: var(--blue-pale-sky);
}

.hero.hero-book .hero-tag span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero.hero-book h1 {
  color: var(--cover-white);
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  margin-bottom: 1.35rem;
  max-width: 760px;
}

.hero.hero-book .lead {
  color: rgba(254, 254, 254, 0.84);
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.55;
  max-width: 660px;
  margin-bottom: 1.25rem;
}

.hero.hero-book .hero-proofline {
  color: var(--cover-white);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  margin: 0 0 2rem;
  padding: 0.72rem 0.95rem;
  background: rgba(254, 254, 254, 0.08);
  border: 1px solid rgba(254, 254, 254, 0.16);
  border-radius: 4px;
  font-weight: 700;
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.15rem);
}

.hero.hero-book .hero-proofline::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--cover-red);
  border-radius: 50%;
}

.hero.hero-book .hero-cta {
  align-items: center;
}

.hero.hero-book .hero-cta .btn-primary,
.hero.hero-book .hero-cta .btn-outline {
  border-radius: 4px;
  padding: clamp(0.78rem, 0.7rem + 0.28vw, 0.95rem) clamp(1.15rem, 0.9rem + 0.9vw, 1.85rem);
}

.hero.hero-book .hero-cta .btn-primary:hover {
  background-color: var(--red-deep);
  border-color: var(--red-deep);
}

.hero.hero-book .hero-image-wrapper {
  display: flex;
  justify-content: center;
  padding: 0;
}

.hero.hero-book .hero-image-wrapper .hero-book-cover {
  width: min(100%, 410px);
  border-radius: 8px;
  border: 1px solid rgba(254, 254, 254, 0.18);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

@media (max-width: 1430px) and (min-width: 992px) {
  .hero.hero-book {
    padding: clamp(12px, 2vw, 32px) 0 clamp(42px, 5vw, 72px);
  }
}

@media (max-width: 991px) {
  .hero.hero-book {
    min-height: auto;
    text-align: left;
  }

  .hero.hero-book .hero-image-wrapper {
    justify-content: flex-start;
    margin-top: 2.5rem;
  }

  .hero.hero-book .hero-image-wrapper .hero-book-cover {
    width: min(78vw, 340px);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .section-heading {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
  font-weight: 700;
}

.about .section-heading:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.about .lead {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about .section-kicker {
  color: var(--cover-red);
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.about .feature-box {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.about .feature-box:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  z-index: -1;
  transition: height 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  border-radius: 12px;
}

.about .feature-box:hover {
  transform: translateY(-10px);
  box-shadow: none;
}

.about .feature-box:hover:before {
  height: 100%;
}

.about .feature-box:hover .icon-container {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .feature-box .icon-container {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.about .feature-box h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.about .feature-box p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about .about-content-box {
  padding: 2rem;
}

.about .about-content-box h3 {
  font-size: 2rem;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.about .about-content-box p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about .about-content-box .progress-item {
  margin-bottom: 1.2rem;
}

.about .about-content-box .progress-item .progress-title {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 1rem;
}

.about .about-content-box .progress-item .progress-percent {
  font-weight: 700;
  color: var(--accent-color);
}

.about .about-content-box .progress-item .progress {
  height: 8px;
  border-radius: 4px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  margin-top: 0.5rem;
  overflow: hidden;
}

.about .about-content-box .progress-item .progress .progress-bar {
  background-color: var(--accent-color);
  border-radius: 4px;
}

.about .about-content-box .btn-discover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.about .about-content-box .btn-discover:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 30px;
}

.about .about-content-box .btn-discover:hover {
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.about .about-content-box .btn-discover:hover:before {
  width: 100%;
}

.about .about-image-grid {
  position: relative;
  height: 540px;
  margin: 0 2rem;
}

.about .about-image-grid .img-grid-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.about .about-image-grid .img-grid-secondary {
  position: absolute;
  bottom: 0;
  right: 30%;
  width: 50%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.about .about-image-grid .img-grid-tertiary {
  position: absolute;
  left: 0;
  bottom: 70px;
  width: 40%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.about .about-image-grid .experience-badge {
  position: absolute;
  right: 10px;
  bottom: 30px;
  width: 120px;
  height: 120px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 4;
}

.about .about-image-grid .experience-badge .years {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.about .about-image-grid .experience-badge .text {
  font-size: 0.8rem;
  text-align: center;
  max-width: 90px;
  line-height: 1.2;
}

@media (max-width: 1199px) {
  .about .about-image-grid {
    height: 480px;
  }

  .about .about-image-grid .img-grid-main {
    height: 300px;
  }

  .about .about-image-grid .img-grid-secondary {
    height: 200px;
  }

  .about .about-image-grid .img-grid-tertiary {
    height: 220px;
  }
}

@media (max-width: 991px) {
  .about .section-heading {
    font-size: 2.2rem;
  }

  .about .about-content-box {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .about .about-content-box h3 {
    font-size: 1.8rem;
  }

  .about .about-image-grid {
    height: 450px;
    margin: 0 auto;
    max-width: 500px;
  }

  .about .about-image-grid .experience-badge {
    width: 100px;
    height: 100px;
  }

  .about .about-image-grid .experience-badge .years {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .about .section-heading {
    font-size: 1.8rem;
  }

  .about .feature-box {
    padding: 1.8rem 1rem;
  }

  .about .feature-box .icon-container {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .about .about-image-grid {
    height: 400px;
    margin-bottom: 2rem;
  }

  .about .about-image-grid .img-grid-main {
    width: 75%;
    height: 250px;
  }

  .about .about-image-grid .img-grid-secondary {
    width: 55%;
    height: 180px;
  }

  .about .about-image-grid .img-grid-tertiary {
    width: 40%;
    height: 180px;
  }
}

.about.why-book {
  padding: clamp(64px, 8vw, 110px) 0;
}

.about.why-book .section-heading {
  max-width: 800px;
  font-size: clamp(2rem, 3.25vw, 3.25rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.45rem;
}

.about.why-book .section-heading:after {
  left: 0;
  transform: none;
  background: var(--cover-blue);
}

.about.why-book .lead {
  max-width: 860px;
  margin-left: 0;
  margin-right: 0;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 1rem + 0.38vw, 1.28rem);
  line-height: 1.65;
}

.about.why-book .why-book-callout {
  max-width: 920px;
  margin: 1.75rem 0 1.5rem;
  border-left: 4px solid var(--cover-red);
}

.about.why-book .why-book-callout p {
  margin: 0;
  color: var(--blue-prussian);
  font-size: clamp(1.02rem, 0.98rem + 0.24vw, 1.18rem);
  line-height: 1.65;
}

.about.why-book .theme-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.about.why-book .theme-marker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-blue);
  border-radius: 4px;
  background: var(--cover-white);
  color: var(--blue-prussian);
  padding: 0.42rem 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}





.about.why-book .why-book-testimonial {
  max-width: 620px;
  margin: clamp(1.6rem, 2.8vw, 2.25rem) auto;
}
.about.why-book .why-book-testimonial blockquote {
  position: relative;
  margin: 0;
  padding: clamp(1.35rem, 2.4vw, 1.9rem) clamp(2.35rem, 4vw, 3.35rem);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 82%);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(8, 30, 60, 0.055);
}
.about.why-book .why-book-testimonial blockquote::before,
.about.why-book .why-book-testimonial blockquote::after {
  position: absolute;
  color: color-mix(in srgb, var(--cover-blue), transparent 66%);
  font-family: var(--heading-font);
  font-size: clamp(3.25rem, 6vw, 5rem);
  font-weight: 800;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
}
.about.why-book .why-book-testimonial blockquote::before {
  content: "“";
  top: 0.28rem;
  left: 0.75rem;
}
.about.why-book .why-book-testimonial blockquote::after {
  content: "”";
  right: 0.85rem;
  bottom: -0.42em;
}
.about.why-book .why-book-testimonial blockquote p {
  margin: 0;
  color: var(--blue-prussian);
  font-family: var(--default-font);
  font-size: clamp(1.02rem, 0.98rem + 0.28vw, 1.17rem);
  font-weight: 700;
  line-height: 1.58;
  letter-spacing: -0.006em;
}
.about.why-book .why-book-testimonial .testimonial-tail {
  width: 0;
  height: 0;
  margin-left: clamp(2.25rem, 5vw, 3.75rem);
  border-left: 0 solid transparent;
  border-right: 22px solid transparent;
  border-top: 20px solid rgba(255, 255, 255, 0.68);
  filter: drop-shadow(0 5px 5px rgba(8, 30, 60, 0.035));
}
.about.why-book .why-book-testimonial figcaption {
  display: grid;
  gap: 0.18rem;
  margin: 0.55rem 0 0 clamp(1.25rem, 3vw, 2rem);
  color: var(--text-muted);
  text-align: left;
}
.about.why-book .why-book-testimonial .quote-author {
  color: var(--blue-prussian);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}
.about.why-book .why-book-testimonial .quote-role {
  max-width: 54ch;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.about.why-book .why-book-layout {
  align-items: center;
}


.about.why-book .why-book-visual {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 72%);
  box-shadow: 0 24px 70px rgba(8, 30, 60, 0.12);
}
.about.why-book .why-book-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
}

.about.why-book .why-book-visual-placeholder {
  position: relative;
  min-height: clamp(320px, 38vw, 520px);
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 24% 18%, rgba(223, 32, 42, 0.18), transparent 30%), radial-gradient(circle at 78% 76%, rgba(38, 62, 147, 0.2), transparent 34%), linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(216, 230, 242, 0.88));
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 72%);
  box-shadow: 0 24px 70px rgba(8, 30, 60, 0.12);
}
.about.why-book .why-book-visual-placeholder::before,
.about.why-book .why-book-visual-placeholder::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.about.why-book .why-book-visual-placeholder::before {
  inset: 22px;
  border: 1px solid rgba(38, 62, 147, 0.18);
  border-radius: 18px;
}
.about.why-book .why-book-visual-placeholder::after {
  width: 58%;
  height: 58%;
  right: -16%;
  bottom: -18%;
  border-radius: 50%;
  background: rgba(38, 62, 147, 0.1);
  filter: blur(2px);
}
.about.why-book .why-book-visual-placeholder__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.about.why-book .why-book-visual-placeholder__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.8rem;
  color: var(--accent-color);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.about.why-book .why-book-visual-placeholder__title {
  max-width: 12ch;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.about.why-book .why-book-visual-placeholder__note {
  max-width: 26ch;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
@media (max-width: 991px) {
  .about.why-book .why-book-visual-placeholder {
    min-height: 300px;
    margin-top: 0.5rem;
  }
}

.about.why-book .why-audience {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.35rem, 4vw, 3.5rem);
  border-top: 1px solid color-mix(in srgb, var(--cover-blue), transparent 82%);
}
.about.why-book .why-audience-heading {
  max-width: 780px;
  margin: 0 0 1.35rem;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.about.why-book .why-audience-lead {
  max-width: 860px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 1rem + 0.38vw, 1.28rem);
  line-height: 1.65;
}
.about.why-book .audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.about.why-book .audience-card {
  min-height: 100%;
  padding: clamp(1.4rem, 2vw, 2rem);
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 78%);
  border-top: 4px solid var(--cover-blue);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(8, 30, 60, 0.08);
}
.about.why-book .audience-card h4 {
  margin: 0 0 0.8rem;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.38rem);
  font-weight: 800;
  line-height: 1.18;
}
.about.why-book .audience-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.about.why-book .who-closing {
  max-width: 860px;
  margin: clamp(1.6rem, 3vw, 2.25rem) 0 0;
  color: var(--blue-prussian);
  font-weight: 800;
  line-height: 1.45;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
}
@media (max-width: 991px) {
  .about.why-book .audience-grid {
    grid-template-columns: 1fr;
  }
}


/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-overview {
  height: 100%;
  padding: 30px;
}

.stats .stats-overview h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.stats .stats-overview h3::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .stats .stats-overview h3::after {
    margin: 0;
  }
}

.stats .stats-overview p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.7;
  margin-bottom: 0;
}

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

.stats .stats-card {
  background: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats .stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stats .stats-card .stats-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.stats .stats-card .stats-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.stats .stats-card .stats-content {
  flex-grow: 1;
}

.stats .stats-card .stats-content .stats-number {
  display: flex;
  align-items: baseline;
}

.stats .stats-card .stats-content .stats-number .purecounter {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1;
}

.stats .stats-card .stats-content .stats-number .plus {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  margin-left: 2px;
}

.stats .stats-card .stats-content p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 5px 0 0;
  font-weight: 500;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .stats .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stats .stats-card {
    padding: 15px;
  }

  .stats .stats-card .stats-icon {
    width: 50px;
    height: 50px;
  }

  .stats .stats-card .stats-icon i {
    font-size: 20px;
  }

  .stats .stats-card .stats-content .stats-number .purecounter {
    font-size: 28px;
  }

  .stats .stats-card .stats-content .stats-number .plus {
    font-size: 20px;
  }
}

.stats.who-section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.stats.who-section .section-kicker {
  color: var(--cover-red);
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.stats.who-section h2 {
  color: var(--blue-prussian);
  font-size: clamp(2rem, 3.9vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  max-width: 940px;
}

.stats.who-section .lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.65;
  max-width: 900px;
  margin: 0;
}

.stats.who-section .audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.stats.who-section .audience-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-top: 4px solid var(--cover-blue);
  box-shadow: 0 16px 38px rgba(6, 26, 64, 0.08);
}

.stats.who-section .audience-card h3 {
  color: var(--blue-prussian);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.stats.who-section .audience-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.62;
  margin-bottom: 0;
}

.stats.who-section .who-closing {
  max-width: 840px;
  margin: 2rem 0 0;
  color: var(--blue-prussian);
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
}

@media (max-width: 991px) {
  .stats.who-section .audience-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding-top: 60px;
  padding-bottom: 30px;
}

.services .services-row {
  position: relative;
}

.services .services-headline .services-subtitle {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.services .services-headline .services-title {
  color: var(--heading-color);
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.services .services-description {
  margin-bottom: 30px;
}

.services .services-description p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.services .services-image-container {
  position: relative;
  margin-bottom: 30px;
}

.services .services-image-container .services-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 460px;
}

.services .services-image-container .services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services .services-grid {
  margin-left: 50px;
}

@media (max-width: 991px) {
  .services .services-grid {
    margin-left: 0;
    margin-top: 70px;
  }
}

.services .service-card {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 25px;
  padding: 30px 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(154, 154, 154, 0.3);
  transition: all 0.3s ease;
  height: 100%;
}

.services .service-card:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.services .service-card:hover .service-icon {
  color: var(--contrast-color);
  transform: scale(0.95);
}

.services .service-card:hover .service-info h3 a,
.services .service-card:hover .service-info p {
  color: var(--contrast-color);
  transform: scale(0.95);
}

.services .service-card:hover .service-content .read-more-btn {
  background-color: color-mix(in srgb, var(--contrast-color), transparent 84%);
  color: var(--contrast-color);
}

.services .service-content .service-icon {
  width: 65px;
  height: 65px;
  line-height: 65px;
  margin: 0 auto;
  font-size: 48px;
  color: var(--heading-color);
  transition: all 0.3s ease;
}

.services .service-content .service-info h3 {
  font-size: 1.4rem;
  margin: 15px 0;
  transition: all 0.3s ease;
}

.services .service-content .service-info h3 a {
  color: var(--heading-color);
  text-decoration: none;
}

.services .service-content .service-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.services .service-content .service-action {
  margin-top: 20px;
}

.services .service-content .service-action .read-more-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.84rem;
  transition: all 0.3s ease;
}

.services .service-content .service-action .read-more-btn:hover {
  transform: translateX(5px);
}

.services .service-content .service-action .read-more-btn i {
  margin-left: 5px;
}

@media (max-width: 767px) {
  .services .services-headline .services-title {
    font-size: 2rem;
  }

  .services .services-image-container .services-image {
    height: 350px;
  }

  .services .services-image-container .circular-btn {
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
  }

  .services .services-image-container .circular-btn .circular-link {
    width: 130px;
    height: 130px;
    font-size: 0.9rem;
  }
}

.services.themes-section {
  padding: clamp(72px, 8vw, 118px) 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(7, 27, 58, 0.12) 0%,
      rgba(7, 27, 58, 0.08) 18%,
      rgba(7, 27, 58, 0.52) 38%,
      rgba(7, 27, 58, 0.90) 46%,
      rgba(30, 37, 44, 0.96) 50%,
      rgba(7, 27, 58, 0.90) 54%,
      rgba(7, 27, 58, 0.52) 62%,
      rgba(7, 27, 58, 0.08) 82%,
      rgba(7, 27, 58, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 27, 58, 0.68) 0%,
      rgba(30, 37, 44, 0.74) 100%
    ),
    url("../img/illustration/what-this-book-takes-on-background.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.services.themes-section > .container {
  position: relative;
  z-index: 1;
}

.services.themes-section .services-subtitle {
  color: var(--blue-pale-sky);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services.themes-section .services-title {
  color: var(--cover-white);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.services.themes-section .services-description p {
  color: rgba(254, 254, 254, 0.78);
  font-size: clamp(1.03rem, 0.98rem + 0.28vw, 1.2rem);
  line-height: 1.65;
}

.services.themes-section .services-grid {
  margin-left: 30px;
}

.services.themes-section .theme-card {
  background: rgba(254, 254, 254, 0.08);
  border: 1px solid rgba(185, 214, 242, 0.22);
  border-radius: 8px;
  box-shadow: none;
  padding: 1.35rem;
  margin-bottom: 0;
}

.services.themes-section .theme-card:hover {
  background: rgba(254, 254, 254, 0.12);
  transform: translateY(-4px);
}

.services.themes-section .service-content {
  display: flex;
  gap: 1rem;
  text-align: left;
}

.services.themes-section .service-content .service-icon {
  width: 44px;
  height: 44px;
  line-height: 44px;
  margin: 0;
  flex: 0 0 44px;
  border-radius: 4px;
  background: rgba(185, 214, 242, 0.14);
  color: var(--blue-pale-sky);
  font-size: 1.35rem;
  text-align: center;
}

.services.themes-section .service-content .service-info h3 {
  color: var(--cover-white);
  font-size: 1.18rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
}

.services.themes-section .service-content .service-info p {
  color: rgba(254, 254, 254, 0.76);
  font-size: 0.98rem;
  line-height: 1.58;
  margin: 0;
}

.services.themes-section .theme-synthesis-card {
  background: rgba(185, 214, 242, 0.1);
  border-color: rgba(185, 214, 242, 0.28);
  margin-top: 0.25rem;
}

.services.themes-section .theme-synthesis-card p {
  margin: 0;
  color: var(--cover-white);
  font-weight: 800;
  line-height: 1.5;
  font-size: clamp(1.04rem, 1rem + 0.28vw, 1.22rem);
}

@media (max-width: 991px) {
  .services.themes-section .services-grid {
    margin-left: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 575px) {
  .services.themes-section .service-content {
    flex-direction: column;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  overflow-x: hidden;
  padding: 40px 0;
  /* Responsive adjustments */
}

.clients .clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.clients .clients-slider:not(:last-child) {
  margin-bottom: 20px;
}

.clients .clients-track {
  display: flex;
  width: fit-content;
  animation-duration: 30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.clients .clients-track.track-1 {
  animation-name: scroll-left;
}

.clients .clients-track.track-2 {
  animation-name: scroll-right;
}

.clients .clients-track:hover {
  animation-play-state: paused;
}

.clients .clients-slide {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  margin: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.clients .clients-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--default-color), transparent 96%), transparent);
  transition: 0.5s;
}

.clients .clients-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.clients .clients-slide:hover::before {
  left: 100%;
}

.clients .clients-slide:hover img {
  filter: none;
  opacity: 1;
}

.clients .clients-slide img {
  max-width: 80%;
  max-height: 60%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-2080px);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-2080px);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .clients .clients-slide {
    width: 180px;
    height: 90px;
    margin: 0 20px;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-1760px);
    }
  }

  @keyframes scroll-right {
    0% {
      transform: translateX(-1760px);
    }

    100% {
      transform: translateX(0);
    }
  }
}

@media (max-width: 767px) {
  .clients .clients-slide {
    width: 150px;
    height: 75px;
    margin: 0 15px;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-1440px);
    }
  }

  @keyframes scroll-right {
    0% {
      transform: translateX(-1440px);
    }

    100% {
      transform: translateX(0);
    }
  }
}

.clients.why-bill-section {
  overflow-x: visible;
  padding: clamp(72px, 8vw, 112px) 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(232, 223, 210, 0.40) 0%,
      rgba(232, 223, 210, 0.26) 24%,
      rgba(232, 223, 210, 0.16) 40%,
      rgba(244, 245, 247, 0.78) 58%,
      rgba(244, 245, 247, 0.92) 72%,
      rgba(244, 245, 247, 0.97) 100%
    ),
    linear-gradient(
      180deg,
      rgba(244, 245, 247, 0.20) 0%,
      rgba(244, 245, 247, 0.32) 100%
    ),
    url("../img/illustration/about-background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
}

.clients.why-bill-section .bill-photo-wrap {
  position: relative;
  max-width: 470px;
  margin: 0 auto;
  padding: 14px;
  background: var(--surface-blue-mist);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.clients.why-bill-section .bill-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 28px -14px -14px 28px;
  z-index: -1;
  border-radius: 8px;
  background: color-mix(in srgb, var(--cover-blue), transparent 82%);
}

.clients.why-bill-section .bill-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 6px;
}

.clients.why-bill-section .why-bill-content {
  max-width: 780px;
}

.clients.why-bill-section .credibility-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cover-red);
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clients.why-bill-section h2 {
  margin-bottom: 20px;
  color: var(--blue-prussian);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  max-width: 720px;
}

.clients.why-bill-section .lead {
  margin-bottom: 18px;
  color: var(--cover-charcoal);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.62;
  font-weight: 600;
}

.clients.why-bill-section p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.16vw, 1.1rem);
  line-height: 1.74;
}

.clients.why-bill-section .lead + p {
  margin-top: 1.25rem;
}

.clients.why-bill-section p:last-child {
  margin-bottom: 0;
}

.clients.why-bill-section .credibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.clients.why-bill-section .credibility-card {
  height: 100%;
  padding: clamp(20px, 3vw, 26px);
}

.clients.why-bill-section .credibility-card h3 {
  margin-bottom: 10px;
  color: var(--blue-prussian);
  font-size: 1.05rem;
  line-height: 1.2;
}

.clients.why-bill-section .credibility-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.clients.why-bill-section .credibility-closing {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 4px solid var(--cover-blue);
  color: var(--blue-prussian);
  font-weight: 700;
}

@media (max-width: 991px) {
  .clients.why-bill-section .why-bill-content {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .clients.why-bill-section .credibility-grid {
    grid-template-columns: 1fr;
  }

  .clients.why-bill-section .bill-photo-wrap {
    padding: 10px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
  color: #FFD700;
}

.testimonials .testimonial-item .stars i {
  margin-right: 2px;
}

.testimonials .testimonial-item p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--default-color);
}

.testimonials .testimonial-item .testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author {
  display: flex;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.testimonials .testimonial-item .testimonial-footer .quote-icon {
  font-size: 36px;
  color: color-mix(in srgb, var(--accent-color), transparent 70%);
  line-height: 1;
}

.testimonials .testimonial-item .testimonial-footer .quote-icon i {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .testimonials .testimonial-item {
    padding: 25px 20px;
  }

  .testimonials .testimonial-item p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 45px;
    height: 45px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
    font-size: 16px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
    font-size: 13px;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .testimonials .testimonial-item {
    padding: 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
}

.testimonials.media-section {
  background: var(--surface-blue-mist);
}

.testimonials.media-section .section-title {
  max-width: 860px;
}

.testimonials.media-section .section-title h2 {
  color: var(--blue-prussian);
}

.testimonials.media-section .section-title p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
}

.testimonials.media-section .media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.testimonials.media-section .media-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-blue);
  box-shadow: 0 22px 50px rgba(6, 26, 64, 0.14);
}

.testimonials.media-section .media-card-header {
  margin-bottom: 18px;
}

.testimonials.media-section .media-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cover-blue);
  font-family: var(--nav-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.testimonials.media-section .media-label i {
  color: var(--cover-red);
  font-size: 1rem;
}

.testimonials.media-section .media-card-title {
  margin-bottom: 14px;
  color: var(--blue-prussian);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.18;
}

.testimonials.media-section .media-card-text {
  flex: 1 1 auto;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.testimonials.media-section .media-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--cover-blue);
  font-family: var(--nav-font);
  font-weight: 800;
  text-decoration: none;
}

.testimonials.media-section .media-card-link:hover,
.testimonials.media-section .media-card-link:focus {
  color: var(--blue-sapphire);
  text-decoration: underline;
}

.testimonials.media-section .media-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 576px) {
  .testimonials.media-section .media-card {
    padding: 22px 20px;
  }

  .testimonials.media-section .media-section-cta {
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# How We Work Section
--------------------------------------------------------------*/
.how-we-work .steps-wrapper {
  position: relative;
  padding: 20px 0;
}

.how-we-work .steps-wrapper::before {
  content: "";
  position: absolute;
  width: 2px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.how-we-work .step-item {
  margin-bottom: 50px;
  width: 100%;
  position: relative;
}

.how-we-work .step-item:last-child {
  margin-bottom: 0;
}

.how-we-work .step-item:nth-child(even) .step-content {
  flex-direction: row-reverse;
}

.how-we-work .step-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.how-we-work .step-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background-color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: all 0.3s ease-in-out;
}

.how-we-work .step-icon i {
  font-size: 32px;
  color: var(--accent-color);
  transition: transform 0.3s ease-in-out;
}

.how-we-work .step-info {
  flex: 1;
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease-in-out;
}

.how-we-work .step-info:hover {
  transform: translateY(-5px);
}

.how-we-work .step-number {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.how-we-work h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--heading-color);
}

.how-we-work p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .how-we-work .steps-wrapper::before {
    left: 25px;
  }

  .how-we-work .step-item .step-content {
    flex-direction: row !important;
  }

  .how-we-work .step-icon {
    width: 60px;
    height: 60px;
  }

  .how-we-work .step-icon i {
    font-size: 24px;
  }

  .how-we-work .step-info {
    padding: 20px;
  }

  .how-we-work h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .how-we-work .step-content {
    gap: 20px;
  }

  .how-we-work .step-icon {
    width: 50px;
    height: 50px;
  }

  .how-we-work .step-icon i {
    font-size: 20px;
  }

  .how-we-work .step-info {
    padding: 15px;
  }

  .how-we-work h3 {
    font-size: 1.2rem;
  }

  .how-we-work p {
    font-size: 0.95rem;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-tabs .nav-pills {
  display: inline-flex;
  padding: 8px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 50px;
}

.faq .faq-tabs .nav-pills .nav-item {
  margin: 0 5px;
}

.faq .faq-tabs .nav-pills .nav-item:first-child {
  margin-left: 0;
}

.faq .faq-tabs .nav-pills .nav-item:last-child {
  margin-right: 0;
}

.faq .faq-tabs .nav-pills .nav-link {
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.faq .faq-tabs .nav-pills .nav-link:hover {
  color: var(--accent-color);
}

.faq .faq-tabs .nav-pills .nav-link.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq .faq-tabs .nav-pills .nav-link i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .faq .faq-tabs .nav-pills {
    flex-wrap: wrap;
    justify-content: center;
  }

  .faq .faq-tabs .nav-pills .nav-item {
    margin: 5px;
  }
}

.faq .faq-list .faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  background-color: var(--surface-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq .faq-list .faq-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.faq .faq-list .faq-item h3 {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--surface-color);
  transition: all 0.3s ease;
  position: relative;
}

.faq .faq-list .faq-item h3:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.faq .faq-list .faq-item h3 .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 15px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faq .faq-list .faq-item h3 .question {
  flex: 1;
}

.faq .faq-list .faq-item h3 .faq-toggle {
  font-size: 1.2rem;
  transition: all 0.3s ease;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-left: 15px;
}

.faq .faq-list .faq-item .faq-content {
  padding: 15px;
  display: none;
}

.faq .faq-list .faq-item .faq-content p {
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.faq .faq-list .faq-item .faq-content p:last-child {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-list .faq-item.faq-active h3 {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.faq .faq-list .faq-item.faq-active h3 .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.faq .faq-list .faq-item.faq-active .faq-content {
  display: block;
}

.faq .faq-cta {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  padding: 30px;
  border-radius: 10px;
}

.faq .faq-cta p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.faq .faq-cta .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.faq .faq-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
  border-color: color-mix(in srgb, var(--accent-color), #000 15%);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .faq .faq-list .faq-item h3 {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .faq .faq-list .faq-item h3 .num {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    font-size: 0.8rem;
  }

  .faq .faq-list .faq-item .faq-content .content-inner {
    padding: 0 20px;
  }

  .faq .faq-list .faq-item .faq-content.faq-active .content-inner {
    padding: 15px 20px;
  }
}

.faq.section-muted .section-title {
  max-width: 860px;
  margin: 0 auto;
}

.faq.section-muted .section-title h2 {
  color: var(--blue-prussian);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
}

.faq.section-muted .section-title p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
}

.faq.section-muted .faq-list {
  display: grid;
  gap: 16px;
}

.faq.section-muted .faq-list .faq-item {
  margin-bottom: 0;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(6, 26, 64, 0.08);
}

.faq.section-muted .faq-list .faq-item:hover {
  border-color: var(--border-blue);
  box-shadow: 0 20px 44px rgba(6, 26, 64, 0.12);
}

.faq.section-muted .faq-list .faq-item h3 {
  padding: 0;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 800;
  line-height: 1.25;
}

.faq.section-muted .faq-list .faq-item h3:hover {
  background-color: color-mix(in srgb, var(--blue-pale-sky), var(--cover-white) 76%);
}

.faq.section-muted .faq-list .faq-item h3 .faq-question-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: clamp(18px, 2.5vw, 24px);
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.faq.section-muted .faq-list .faq-item h3 .faq-question-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--cover-blue), var(--cover-white) 35%);
  outline-offset: -3px;
}

.faq.section-muted .faq-list .faq-item h3 .num {
  background-color: color-mix(in srgb, var(--cover-blue), var(--cover-white) 84%);
  color: var(--cover-blue);
}

.faq.section-muted .faq-list .faq-item h3 .faq-toggle {
  color: var(--cover-blue);
}

.faq.section-muted .faq-list .faq-item .faq-content {
  padding: 0 clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 26px);
}

.faq.section-muted .faq-list .faq-item .faq-content p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.faq.section-muted .faq-list .faq-item.faq-active h3 {
  background-color: color-mix(in srgb, var(--blue-pale-sky), var(--cover-white) 76%);
}

.faq.section-muted .faq-list .faq-item.faq-active h3 .faq-toggle {
  color: var(--cover-red);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action .cta-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
  background-color: var(--surface-color);
  border-radius: 1rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.call-to-action .cta-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.call-to-action .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.call-to-action .cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0.9;
}

.call-to-action .cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.call-to-action .cta-buttons .btn-primary {
  padding: 0.8rem 2rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.call-to-action .cta-buttons .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), white 15%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.call-to-action .cta-buttons .btn-outline {
  padding: 0.8rem 2rem;
  background-color: transparent;
  color: var(--default-color);
  border: 2px solid var(--default-color);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.call-to-action .cta-buttons .btn-outline:hover {
  background-color: var(--contrast-color);
  color: var(--heading-color);
  transform: translateY(-3px);
}

.call-to-action .cta-image {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.call-to-action .cta-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.call-to-action .cta-image img:hover {
  transform: translateY(-5px);
}

@media (max-width: 992px) {
  .call-to-action .cta-wrapper {
    flex-direction: column;
    padding: 2.5rem;
  }

  .call-to-action .cta-content {
    text-align: center;
  }

  .call-to-action .cta-content h2 {
    font-size: 2rem;
  }

  .call-to-action .cta-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .call-to-action .cta-buttons {
    justify-content: center;
  }

  .call-to-action .cta-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .call-to-action .cta-wrapper {
    padding: 2rem;
  }

  .call-to-action .cta-content h2 {
    font-size: 1.8rem;
  }

  .call-to-action .cta-content p {
    font-size: 1rem;
  }

  .call-to-action .cta-buttons .btn-primary,
  .call-to-action .cta-buttons .btn-outline {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .row {
  align-items: center;
}

@media (max-width: 991px) {
  .team .team-intro {
    margin-bottom: 40px;
  }
}

.team .team-intro .team-intro-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.team .team-intro .team-intro-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.team .team-intro .team-intro-content h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.team .team-intro .team-intro-content p {
  margin-bottom: 30px;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .team-intro .team-navigation {
  display: flex;
  gap: 10px;
}

.team .team-intro .team-navigation button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team .team-intro .team-navigation button:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.team .member-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team .member-card:hover {
  transform: translateY(-10px);
}

.team .member-card:hover .member-image:before {
  opacity: 0.7;
}

.team .member-card .member-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.team .member-card .member-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0.4;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.team .member-card .member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team .member-card .member-image:hover img {
  transform: scale(1.05);
}

.team .member-card .member-info {
  padding: 25px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team .member-card .member-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.team .member-card .member-info span {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.team .member-card .member-social {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.team .member-card .member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.team .member-card .member-social a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.team .member-card .member-bio p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
}

.team .team-carousel-wrap {
  overflow-x: hidden;
  padding: 30px 20px;
}

.team .team-carousel {
  overflow: visible;
}

.team .team-carousel .swiper-slide {
  height: auto;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background-color: color-mix(in srgb, var(--background-color), #f5f8fd 30%);
}

.contact .container {
  max-width: 1200px;
}

.contact .contact-main-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .contact .contact-main-wrapper {
    grid-template-columns: 45% 55%;
    min-height: 600px;
  }
}

.contact .map-wrapper {
  height: 300px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .contact .map-wrapper {
    height: 100%;
    position: sticky;
    top: 100px;
  }
}

.contact .contact-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .contact-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 576px) {
  .contact .contact-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact .contact-card {
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact .contact-card .icon-box {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact .contact-card .icon-box i {
  font-size: 22px;
  color: var(--accent-color);
}

.contact .contact-card .contact-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.contact .contact-card .contact-text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--default-color);
  margin-bottom: 0;
}

.contact .contact-form-container {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact .contact-form-container h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  position: relative;
  padding-left: 15px;
}

.contact .contact-form-container h3:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.contact .contact-form-container>p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--default-color);
}

.contact .contact-form-container .php-email-form .form-control {
  height: auto;
  padding: 14px 20px;
  border-radius: 10px;
  background-color: color-mix(in srgb, var(--background-color), #f5f8fd 30%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .contact-form-container .php-email-form .form-control:focus {
  background-color: var(--surface-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.contact .contact-form-container .php-email-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.contact .contact-form-container .php-email-form textarea.form-control {
  min-height: 140px;
}

.contact .contact-form-container .php-email-form .form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}

@media (max-width: 576px) {
  .contact .contact-form-container .php-email-form .form-submit {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contact .contact-form-container .php-email-form button {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.contact .contact-form-container .php-email-form button:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.contact .contact-form-container .php-email-form .social-links {
  display: flex;
  gap: 12px;
}

.contact .contact-form-container .php-email-form .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--background-color), #f5f8fd 20%);
  color: var(--heading-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact .contact-form-container .php-email-form .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .contact .contact-form-container {
    padding: 25px 20px;
  }

  .contact .contact-form-container h3 {
    font-size: 22px;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .swiper-wrapper {
  height: auto !important;
}

.service-details .service-sidebar {
  position: sticky;
  top: 100px;
}

.service-details .service-sidebar .service-overview {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.service-details .service-sidebar .service-overview .overview-header {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-details .service-sidebar .service-overview .overview-header i {
  font-size: 24px;
}

.service-details .service-sidebar .service-overview .overview-header h3 {
  color: var(--contrast-color);
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.service-details .service-sidebar .service-overview .overview-content {
  padding: 30px;
}

.service-details .service-sidebar .service-overview .overview-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.service-details .service-sidebar .service-overview .overview-content p {
  margin-bottom: 25px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details .service-sidebar .service-overview .overview-content .cta-button .btn-get-started {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
  text-align: center;
  width: 100%;
}

.service-details .service-sidebar .service-overview .overview-content .cta-button .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-sidebar .key-benefits {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-details .service-sidebar .key-benefits h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.service-details .service-sidebar .key-benefits h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.service-details .service-sidebar .key-benefits ul {
  padding-left: 0;
  list-style: none;
}

.service-details .service-sidebar .key-benefits ul li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.service-details .service-sidebar .key-benefits ul li i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 12px;
}

.service-details .service-sidebar .contact-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-details .service-sidebar .contact-card .contact-header {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-details .service-sidebar .contact-card .contact-header i {
  font-size: 24px;
}

.service-details .service-sidebar .contact-card .contact-header h4 {
  color: var(--contrast-color);
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.service-details .service-sidebar .contact-card .contact-info {
  padding: 30px;
}

.service-details .service-sidebar .contact-card .contact-info .info-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.service-details .service-sidebar .contact-card .contact-info .info-row:last-child {
  margin-bottom: 0;
}

.service-details .service-sidebar .contact-card .contact-info .info-row i {
  font-size: 20px;
  color: var(--accent-color);
  margin-right: 15px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
}

.service-details .service-sidebar .contact-card .contact-info .info-row div span {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 5px;
}

.service-details .service-sidebar .contact-card .contact-info .info-row div p {
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.service-details .service-content .image-gallery {
  margin-bottom: 40px;
}

.service-details .service-content .image-gallery .service-details-slider {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-details .service-content .image-gallery .service-details-slider .swiper-pagination {
  bottom: 20px;
}

.service-details .service-content .image-gallery .service-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--contrast-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.service-details .service-content .image-gallery .service-details-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
  width: 25px;
  border-radius: 5px;
}

.service-details .service-content .image-gallery .service-details-slider .swiper-button-next,
.service-details .service-content .image-gallery .service-details-slider .swiper-button-prev {
  width: 45px;
  height: 45px;
  background: var(--accent-color);
  border-radius: 50%;
  color: var(--contrast-color);
  transition: 0.3s;
}

.service-details .service-content .image-gallery .service-details-slider .swiper-button-next::after,
.service-details .service-content .image-gallery .service-details-slider .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

.service-details .service-content .image-gallery .service-details-slider .swiper-button-next:hover,
.service-details .service-content .image-gallery .service-details-slider .swiper-button-prev:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: scale(1.1);
}

.service-details .service-content .section-header {
  margin-bottom: 25px;
}

.service-details .service-content .section-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-details .service-content .section-header .divider {
  width: 70px;
  height: 3px;
  background: var(--accent-color);
}

.service-details .service-content .details-content {
  margin-bottom: 40px;
}

.service-details .service-content .details-content p {
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
}

.service-details .service-content .details-content p:last-child {
  margin-bottom: 0;
}

.service-details .service-content .service-features {
  margin-bottom: 40px;
}

.service-details .service-content .service-features .feature-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-details .service-content .service-features .feature-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  z-index: -1;
  transition: 0.4s;
}

.service-details .service-content .service-features .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-details .service-content .service-features .feature-card:hover:before {
  height: 100%;
}

.service-details .service-content .service-features .feature-card:hover .icon-wrapper {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.service-details .service-content .service-features .feature-card .icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 26px;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: 0.3s;
}

.service-details .service-content .service-features .feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-details .service-content .service-features .feature-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
}

.service-details .service-content .implementation-steps .step-container {
  position: relative;
}

.service-details .service-content .implementation-steps .step-container:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.service-details .service-content .implementation-steps .step-container .step {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.service-details .service-content .implementation-steps .step-container .step:last-child {
  margin-bottom: 0;
}

.service-details .service-content .implementation-steps .step-container .step .step-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 700;
  border-radius: 50%;
  margin-right: 20px;
  z-index: 2;
  font-size: 14px;
}

.service-details .service-content .implementation-steps .step-container .step .step-content {
  flex: 1;
}

.service-details .service-content .implementation-steps .step-container .step .step-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-details .service-content .implementation-steps .step-container .step .step-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .service-details .service-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .service-details .service-content .service-features .feature-card {
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* Dev test: base CSS-only 3D book reproduction */
.hero.hero-book .hero-book-3d {
  --book-thickness: 30px;
  --cover-color: #273f95;
  perspective: 1000px;
  max-width: min(100%, 410px);
  margin: 0 auto;
  overflow: visible;
}

.hero.hero-book .book-3d__inner {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-25deg);
}

.hero.hero-book .book-3d__inner::before {
  position: absolute;
  content: " ";
  left: 100%;
  top: 1%;
  width: calc(var(--book-thickness) * 2);
  height: 98%;
  transform: translate(-55%, 0) rotateY(90deg);
  background: linear-gradient(90deg, #fff 0%, hsl(0, 0%, 94%) 5%, #fff 10%, hsl(0, 0%, 94%) 15%, #fff 20%, hsl(0, 0%, 94%) 25%, #fff 30%, hsl(0, 0%, 94%) 35%, #fff 40%, hsl(0, 0%, 94%) 45%, #fff 50%, hsl(0, 0%, 94%) 55%, #fff 60%, hsl(0, 0%, 94%) 65%, #fff 70%, hsl(0, 0%, 94%) 75%, #fff 80%, hsl(0, 0%, 94%) 85%, #fff 90%, hsl(0, 0%, 94%) 95%, #fff 100%);
}

.hero.hero-book .book-3d__inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1%;
  width: 100%;
  height: 100%;
  transform: translateZ(calc(var(--book-thickness) * -1));
  background-color: var(--cover-color);
  border-radius: 0 2px 2px 0;
  box-shadow: -10px 0 50px 10px rgba(0, 0, 0, 0.3);
}

.hero.hero-book .book-3d__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4.25%;
  z-index: 5;
  pointer-events: none;
  transform: translateZ(calc(var(--book-thickness) + 2px));
  backface-visibility: hidden;
  background: linear-gradient(90deg, rgba(3, 12, 46, 0.42) 0%, rgba(3, 12, 46, 0.36) 36%, rgba(255, 255, 255, 0.20) 48%, rgba(3, 12, 46, 0.24) 62%, rgba(3, 12, 46, 0) 100%);
}

.hero.hero-book .book-3d__cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 2px 2px 0;
  transform: translateZ(var(--book-thickness));
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}


/* Final nudge — align theme markers under testimonial */
.about.why-book .theme-markers {
  transform: translateX(60px) !important;
}

/* Watch / Listen / Read Prototype */
.media-prototype .section-title {
  max-width: 860px;
}
.media-prototype .section-title h2 {
  color: var(--blue-prussian);
  font-size: clamp(2.2rem, 4.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.media-prototype .section-title p {
  max-width: 720px;
  margin-inline: auto;
  color: var(--text-muted);
}
.media-prototype .media-prototype-swiper {
  overflow: visible;
  padding: 0.25rem 0 3.25rem;
}
.media-prototype .media-prototype-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 82%);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(8, 30, 60, 0.09);
}
.media-prototype .media-prototype-visual {
  position: relative;
  display: grid;
  min-height: clamp(180px, 22vw, 260px);
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 28% 20%, rgba(223, 32, 42, 0.18), transparent 28%), linear-gradient(135deg, rgba(38, 62, 147, 0.96), rgba(6, 26, 61, 0.96));
}




.media-prototype .media-prototype-visual-image {
  background: rgba(255, 255, 255, 0.86);
}
.media-prototype .media-prototype-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
}
.media-prototype .media-prototype-visual-image::before {
  z-index: 1;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(6, 26, 61, 0.04), rgba(38, 62, 147, 0.02));
}
.media-prototype .media-prototype-visual-image::after {
  display: none;
}
.media-prototype .media-prototype-visual-image .media-prototype-icon {
  display: none;
}
.media-prototype .media-prototype-visual-image .media-prototype-play {
  z-index: 2;
}

.media-prototype .media-prototype-visual::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}
.media-prototype .media-prototype-visual::after {
  content: "";
  position: absolute;
  width: 58%;
  height: 58%;
  right: -18%;
  bottom: -18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.media-prototype .media-prototype-icon,
.media-prototype .media-prototype-play {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: var(--contrast-color);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 2.2rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}
.media-prototype .media-prototype-play {
  background: color-mix(in srgb, var(--accent-color), transparent 8%);
}
.media-prototype .media-prototype-visual-audio {
  background: radial-gradient(circle at 70% 30%, rgba(223, 32, 42, 0.16), transparent 26%), linear-gradient(135deg, rgba(234, 242, 250, 0.92), rgba(38, 62, 147, 0.92));
}
.media-prototype .media-prototype-visual-reel {
  background: radial-gradient(circle at 34% 24%, rgba(247, 241, 229, 0.2), transparent 30%), linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(38, 62, 147, 0.96));
}
.media-prototype .media-prototype-visual-read {
  background: radial-gradient(circle at 70% 28%, rgba(223, 32, 42, 0.14), transparent 28%), linear-gradient(135deg, rgba(247, 241, 229, 0.98), rgba(234, 242, 250, 0.96));
}
.media-prototype .media-prototype-visual-read .media-prototype-icon,
.media-prototype .media-prototype-visual-audio .media-prototype-icon {
  color: var(--blue-prussian);
  background: rgba(255, 255, 255, 0.46);
}
.media-prototype .media-prototype-content {
  display: grid;
  align-content: start;
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
}
.media-prototype .media-prototype-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.8rem;
  color: var(--accent-color);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.media-prototype .media-prototype-content h3 {
  margin: 0 0 0.75rem;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 1.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.032em;
}
.media-prototype .media-prototype-content p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.media-prototype .media-prototype-content a {
  align-self: end;
  width: fit-content;
  color: var(--cover-blue);
  font-weight: 900;
  text-decoration: none;
}
.media-prototype .media-prototype-content a:hover,
.media-prototype .media-prototype-content a:focus {
  color: var(--accent-color);
}
.media-prototype .media-prototype-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
}
.media-prototype .media-prototype-prev,
.media-prototype .media-prototype-next {
  position: relative;
  inset: auto;
  width: 42px;
  height: 42px;
  margin: 0;
  color: var(--cover-blue);
}
.media-prototype .media-prototype-prev::after,
.media-prototype .media-prototype-next::after {
  font-size: 1.2rem;
  font-weight: 900;
}
.media-prototype .media-prototype-pagination {
  position: static;
  width: auto !important;
}
.media-prototype .media-prototype-pagination .swiper-pagination-bullet {
  background: var(--cover-blue);
  opacity: 0.22;
}
.media-prototype .media-prototype-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent-color);
}
.media-prototype .media-prototype-cta {
  margin-top: clamp(1rem, 2vw, 1.75rem);
  text-align: center;
}


/* Prototype card equal-height structure */
.media-prototype .media-prototype-swiper .swiper-wrapper {
  align-items: stretch;
}

.media-prototype .media-prototype-swiper .swiper-slide {
  display: flex;
  height: auto;
}

.media-prototype .media-prototype-card {
  width: 100%;
  height: 100%;
  grid-template-rows: clamp(210px, 19vw, 260px) 1fr;
}

.media-prototype .media-prototype-visual {
  min-height: 0;
  height: clamp(210px, 19vw, 260px);
}

.media-prototype .media-prototype-content {
  min-height: clamp(250px, 20vw, 310px);
}

/* References Page */
.references-page .references-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(38, 62, 147, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(232, 242, 250, 0.92)),
    var(--surface-color);
}

.references-page .references-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.82fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.references-page .references-note {
  position: relative;
  top: auto;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 84%);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 54px rgba(8, 30, 60, 0.08);
}

.references-page .references-note h2,
.references-page .references-intro h2,
.references-page .reference-chapter-heading h3,
.references-page .reference-group h4 {
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.references-page .references-note h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 1.8vw, 1.85rem);
  line-height: 1.08;
}

.references-page .references-note p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.references-page .references-note p:last-child {
  margin-bottom: 0;
}

.references-page .references-section .section-kicker,
.references-page .reference-chapter-heading .section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 82%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cover-blue), white 88%);
  color: var(--blue-prussian);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.references-page .references-note > .section-kicker {
  margin-bottom: 1rem;
}

.references-page .references-chapter-nav {
  margin: 1.25rem 0 1.4rem;
  padding-top: 1.05rem;
  border-top: 1px solid color-mix(in srgb, var(--cover-blue), transparent 84%);
}

.references-page .references-chapter-nav h3 {
  margin: 0 0 0.7rem;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.references-page .references-chapter-nav ol {
  display: grid;
  gap: 0.38rem;
  margin: 0;
  padding: 0;
  list-style: none;
}


.references-page .references-chapter-nav li {
  margin: 0;
}

.references-page .references-chapter-nav a {
  display: grid;
  gap: 0.16rem;
  min-height: 2.35rem;
  padding: 0.48rem 0.62rem;
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 86%);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--blue-prussian);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.references-page .references-chapter-nav a:hover,
.references-page .references-chapter-nav a:focus {
  border-color: color-mix(in srgb, var(--accent-color), transparent 42%);
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-color);
  padding-left: 0.82rem;
}

.references-page .chapter-nav-number {
  display: block;
  color: color-mix(in srgb, var(--blue-prussian), transparent 20%);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.references-page .chapter-nav-title {
  display: block;
  color: var(--blue-prussian);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.18;
}

.references-page .chapter-nav-interview a {
  border-color: color-mix(in srgb, var(--accent-color), transparent 72%);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent-color), white 88%), rgba(255, 255, 255, 0.68));
}

.references-page .chapter-nav-interview .chapter-nav-number {
  color: var(--accent-color);
}

.references-page .chapter-nav-interview .chapter-nav-title {
  color: var(--blue-prussian);
}

.references-page .reference-chapter {
  scroll-margin-top: 120px;
}

.references-page .references-main {
  display: grid;
  gap: clamp(1rem, 2vw, 1.45rem);
  max-width: 920px;
}

.references-page .references-intro {
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.references-page .references-intro h2 {
  max-width: 760px;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 1.05;
}

.references-page .references-intro p {
  max-width: 72ch;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.22vw, 1.16rem);
  line-height: 1.7;
}

.references-page .reference-chapter {
  padding: clamp(1.35rem, 2.8vw, 2.1rem);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 84%);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 48px rgba(8, 30, 60, 0.045);
}

.references-page .reference-chapter-heading {
  max-width: 78ch;
}


.references-page .reference-chapter-heading h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.12;
}

.references-page .reference-chapter-heading p {
  margin: 0;
  color: var(--default-color);
  font-size: clamp(1rem, 0.98rem + 0.16vw, 1.08rem);
  line-height: 1.62;
}

.references-page .reference-group {
  padding: clamp(1.15rem, 2.2vw, 1.75rem) 0 0;
  margin-top: clamp(1.15rem, 2.2vw, 1.75rem);
  border-top: 1px solid color-mix(in srgb, var(--cover-blue), transparent 84%);
}

.references-page .reference-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.references-page .reference-group h4 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.22rem, 1.5vw, 1.55rem);
  line-height: 1.14;
}

.references-page .reference-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.references-page .reference-entry {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 84%);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(8, 30, 60, 0.045);
}

.references-page .reference-type {
  display: inline-flex;
  width: fit-content;
  color: var(--accent-color);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.references-page .reference-entry p {
  margin: 0;
  color: var(--default-color);
  font-size: clamp(1rem, 0.98rem + 0.16vw, 1.08rem);
  line-height: 1.72;
  hanging-punctuation: first;
  overflow-wrap: anywhere;
}

.references-page .reference-entry cite {
  color: var(--blue-prussian);
  font-style: italic;
}

.references-page .reference-entry a {
  color: var(--blue-prussian);
  font-weight: 700;
  text-decoration-color: color-mix(in srgb, var(--accent-color), transparent 35%);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.references-page .reference-entry a:hover,
.references-page .reference-entry a:focus {
  color: var(--accent-color);
}

.references-page .reference-url {
  font-size: clamp(0.88rem, 0.86rem + 0.08vw, 0.95rem);
  line-height: 1.45;
}

.references-page .reference-url a {
  color: color-mix(in srgb, var(--blue-prussian), transparent 18%);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.references-page .reference-note {
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  font-size: clamp(0.95rem, 0.92rem + 0.12vw, 1rem);
}

.references-page .reference-note strong {
  color: var(--blue-prussian);
}

@supports (text-indent: -2rem) {
  .references-page .reference-entry p:not(.reference-note) {
    padding-left: 2rem;
    text-indent: -2rem;
  }
}

@media (max-width: 991px) {
  .references-page .references-layout {
    grid-template-columns: 1fr;
  }

  .references-page .references-note {
    position: relative;
    top: auto;
  }
}

@media (max-width: 575px) {
  .references-page .references-section .container {
    padding-inline: 1rem;
  }

  .references-page .references-note,
  .references-page .reference-chapter {
    border-radius: 20px;
  }

  .references-page .reference-entry p {
    font-size: 1rem;
    line-height: 1.68;
  }

  @supports (text-indent: -1.4rem) {
    .references-page .reference-entry p:not(.reference-note) {
      padding-left: 1.4rem;
      text-indent: -1.4rem;
    }
  }
}

/* Book Page — Preorder Panel */
.book-page .book-preorder-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(38, 62, 147, 0.08), transparent 34%),
    var(--surface-color);
}

.book-page .book-preorder-header {
  max-width: 780px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.book-page .book-preorder-header h2 {
  margin: 0 0 1rem;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(2.15rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.book-page .book-preorder-header p:not(.section-kicker) {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.24vw, 1.16rem);
  line-height: 1.68;
}

.book-page .book-preorder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.book-page .book-preorder-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  min-height: 100%;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border-radius: 22px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.book-page .book-preorder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 72px rgba(8, 30, 60, 0.12);
}

.book-page .book-preorder-card-featured {
  border-color: color-mix(in srgb, var(--accent-color), transparent 58%);
}

.book-page .preorder-label {
  display: inline-flex;
  width: fit-content;
  color: var(--accent-color);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.book-page .book-preorder-card h3 {
  margin: 0;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.book-page .book-preorder-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.58;
}

.book-page .preorder-price {
  margin-top: auto;
  color: var(--blue-prussian) !important;
  font-size: clamp(2.25rem, 3.4vw, 3.25rem) !important;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  text-align: center;
}

.book-page .book-preorder-card .btn {
  align-self: end;
  width: 100%;
  margin-top: 0.35rem;
}

.book-page .book-details-panel {
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: 18px;
}

.book-page .book-details-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.book-page .book-details-list div {
  padding: 0.85rem 1rem;
  border-right: 1px solid color-mix(in srgb, var(--cover-blue), transparent 86%);
}

.book-page .book-details-list div:last-child {
  border-right: 0;
}

.book-page .book-details-list dt {
  margin-bottom: 0.25rem;
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.book-page .book-details-list dd {
  margin: 0;
  color: var(--blue-prussian);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

@media (max-width: 991px) {
  .book-page .book-preorder-grid {
    grid-template-columns: 1fr;
  }

  .book-page .book-details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-page .book-details-list div {
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--cover-blue), transparent 88%);
  }

  .book-page .book-details-list div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 575px) {
  .book-page .book-details-list {
    grid-template-columns: 1fr;
  }

  .book-page .book-details-list div:nth-last-child(-n + 2) {
    border-bottom: 1px solid color-mix(in srgb, var(--cover-blue), transparent 88%);
  }

  .book-page .book-details-list div:last-child {
    border-bottom: 0;
  }
}


/* Book page — reduce hero vertical height only */
.book-page .hero {
  min-height: clamp(440px, 58vh, 600px);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.book-page .hero .container {
  align-items: center;
}

@media (max-width: 991px) {
  .book-page .hero {
    min-height: auto;
    padding-block: clamp(3rem, 8vw, 4.5rem);
  }
}

/* Book page — reduce subpage hero vertical height only */
.book-page .subpage-hero {
  padding-block: clamp(3.25rem, 5vw, 5rem);
}

.book-page .subpage-hero .row {
  min-height: auto;
}

.book-page .subpage-hero h1 {
  margin-bottom: 1rem;
}

.book-page .subpage-hero .subpage-lead {
  margin-bottom: 0;
}

.book-page .subpage-hero-image {
  max-height: clamp(300px, 38vw, 430px);
  width: auto;
}

@media (max-width: 991px) {
  .book-page .subpage-hero {
    padding-block: clamp(2.75rem, 8vw, 4.25rem);
  }

  .book-page .subpage-hero-image {
    max-height: 360px;
  }
}

/* Book page — hero quote */
.book-page .book-hero-quote {
  max-width: 680px;
  margin: clamp(1.35rem, 2.4vw, 1.9rem) 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.book-page .book-hero-quote blockquote {
  position: relative;
  margin: 0;
  padding: 0 0 0 clamp(1rem, 2vw, 1.4rem);
  border-left: 3px solid rgba(223, 32, 42, 0.95);
}

.book-page .book-hero-quote blockquote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.1rem);
  font-weight: 700;
  line-height: 1.58;
}

.book-page .book-hero-quote figcaption {
  display: grid;
  gap: 0.14rem;
  margin-top: 0.75rem;
  padding-left: clamp(1rem, 2vw, 1.4rem);
}

.book-page .book-hero-quote .quote-author {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.25;
}

.book-page .book-hero-quote .quote-role {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  line-height: 1.42;
}

@media (max-width: 991px) {
  .book-page .book-hero-quote {
    max-width: none;
  }
}

/* Book page — hero preorder action */
.book-page .book-hero-actions {
  margin-top: clamp(1.25rem, 2.4vw, 1.9rem);
}

.book-page .book-hero-actions .btn {
  min-width: 180px;
}


/* Book page — center and emphasize hero preorder button */
.book-page .book-hero-actions {
  display: flex;
  justify-content: center;
  max-width: 680px;
}

.book-page .book-hero-actions .btn {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.book-page .book-hero-actions .btn:hover,
.book-page .book-hero-actions .btn:focus {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  color: var(--contrast-color);
}

/* Book page — enlarge hero cover without distortion */
.book-page .subpage-hero-image {
  width: min(100%, 390px);
  max-height: none;
  height: auto;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .book-page .subpage-hero-image {
    width: min(100%, 430px);
  }
}

@media (max-width: 991px) {
  .book-page .subpage-hero-image {
    width: min(78vw, 340px);
    max-height: none;
  }
}

/* Book page — enlarge hero quote material */
.book-page .book-hero-quote {
  max-width: 760px;
}

.book-page .book-hero-quote blockquote p {
  font-size: clamp(1.12rem, 1.02rem + 0.42vw, 1.34rem);
  line-height: 1.52;
}

.book-page .book-hero-quote .quote-author {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
}

.book-page .book-hero-quote .quote-role {
  max-width: 64ch;
  font-size: clamp(0.9rem, 0.86rem + 0.16vw, 1rem);
  line-height: 1.45;
}

/* Book page — enlarge hero quote material */
.book-page .book-hero-quote {
  max-width: 760px;
}

.book-page .book-hero-quote blockquote p {
  font-size: clamp(1.12rem, 1.02rem + 0.42vw, 1.34rem);
  line-height: 1.52;
}

.book-page .book-hero-quote .quote-author {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
}

.book-page .book-hero-quote .quote-role {
  max-width: 64ch;
  font-size: clamp(0.9rem, 0.86rem + 0.16vw, 1rem);
  line-height: 1.45;
}

/* References page — hero cover */
.references-page .references-hero-cover {
  width: min(100%, 330px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

@media (min-width: 1200px) {
  .references-page .references-hero-cover {
    width: min(100%, 370px);
  }
}

@media (max-width: 991px) {
  .references-page .references-hero-cover {
    width: min(74vw, 300px);
  }
}


/* References page — tighten hero after adding cover */
.references-page .references-hero {
  padding-block: clamp(3.25rem, 5vw, 5.25rem);
}

.references-page .references-hero .row {
  min-height: auto;
}

.references-page .references-hero h1 {
  margin-bottom: 1rem;
}

.references-page .references-hero .subpage-lead {
  margin-bottom: 0;
}

.references-page .references-hero-cover {
  width: min(100%, 270px);
  max-height: 390px;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .references-page .references-hero-cover {
    width: min(100%, 300px);
  }
}

@media (max-width: 991px) {
  .references-page .references-hero {
    padding-block: clamp(2.75rem, 8vw, 4.25rem);
  }

  .references-page .references-hero-cover {
    width: min(68vw, 260px);
    max-height: 360px;
  }
}

/* References page — cover-only refinement */
.references-page .references-hero-cover {
  width: min(100%, 360px);
  max-height: none;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

@media (min-width: 1200px) {
  .references-page .references-hero-cover {
    width: min(100%, 400px);
  }
}

@media (max-width: 991px) {
  .references-page .references-hero-cover {
    width: min(74vw, 330px);
    max-height: none;
  }
}

/* Speaking / Events section refinement */
.speaking-media-section .speaking-actions .btn {
  padding-inline: 1.45rem;
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 16px 38px rgba(223, 32, 42, 0.22);
}

.speaking-media-section .speaking-actions .btn:hover,
.speaking-media-section .speaking-actions .btn:focus {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.speaking-media-section .event-format-panel {
  padding: clamp(1.2rem, 2.6vw, 1.9rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
}

.speaking-media-section .event-format-heading {
  margin-bottom: clamp(1.25rem, 2.4vw, 1.75rem);
}

.speaking-media-section .event-format-heading h3 {
  margin: 0 0 0.65rem;
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.speaking-media-section .event-format-heading p {
  max-width: 64ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

.speaking-media-section .event-list {
  display: grid;
  gap: 1rem;
}

.speaking-media-section .event-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: start;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
}

.speaking-media-section .event-date {
  display: grid;
  place-items: center;
  min-height: 82px;
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 18%));
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.speaking-media-section .event-month {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.speaking-media-section .event-day {
  margin-top: 0.25rem;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.speaking-media-section .event-type {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.45rem;
  color: color-mix(in srgb, var(--accent-color), white 24%);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.speaking-media-section .event-card h4 {
  margin: 0 0 0.8rem;
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-size: clamp(1.2rem, 1.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}


.speaking-media-section .event-card .event-description {
  margin: 0.7rem 0 1.2rem;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem);
  line-height: 1.62;
  font-weight: 500;
}

.speaking-media-section .event-card .event-description + .event-meta {
  margin-top: 1rem;
}

.speaking-media-section .event-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.speaking-media-section .event-meta div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.7rem;
}

.speaking-media-section .event-meta dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.speaking-media-section .event-meta dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.45;
}

.speaking-media-section .event-meta a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration-color: rgba(255, 255, 255, 0.36);
  text-underline-offset: 0.18em;
}

.speaking-media-section .event-meta a:hover,
.speaking-media-section .event-meta a:focus {
  color: var(--accent-color);
}

@media (max-width: 575px) {
  .speaking-media-section .event-card {
    grid-template-columns: 1fr;
  }

  .speaking-media-section .event-date {
    width: 82px;
  }

  .speaking-media-section .event-meta div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}


/* Scoped reproduction of the open-book component */
.book-page .open-book {
  position: relative;
  background: #fffaf0;
  color: #121212;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: rgba(8, 30, 60, 0.22) 0 1em 3em;
  border-radius: 10px;
}

.book-page .open-book * {
  position: relative;
}

.book-page .open-book header {
  padding-bottom: 1em;
}

.book-page .open-book header *,
.book-page .open-book footer * {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.125em;
  line-height: 1.25;
}

.book-page .open-book header * {
  color: rgba(8, 30, 60, 0.7);
  font-size: 0.75em;
  text-transform: uppercase;
}

.book-page .open-book footer {
  padding-top: 1em;
}

.book-page .open-book footer .page-numbers {
  display: none;
  list-style: none;
  padding: 0;
  text-align: left;
}

.book-page .open-book footer .page-numbers > li:last-child {
  text-align: right;
}

.book-page .open-book .chapter-title {
  margin: 0 0 1em;
  padding: 1em 0;
  position: relative;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 7vw, 4.25rem);
  font-weight: 700;
  letter-spacing: 0.125em;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
}

.book-page .open-book .chapter-title::before,
.book-page .open-book .chapter-title::after {
  content: "";
  position: absolute;
  bottom: calc((0.125em / 2) * 3);
  width: calc(50% - (1em / 2));
  height: 0.15em;
  border: solid 0 #111;
  border-width: 0.05em 0;
}

.book-page .open-book .chapter-title::before {
  left: 0;
}

.book-page .open-book .chapter-title::after {
  right: 0;
}

.book-page .open-book article {
  color: #151515;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

.book-page .open-book article *:not(.chapter-title):not(hr):not(dl) {
  max-width: 28.125em;
  margin-inline: auto;
}

.book-page .open-book article p {
  margin-block: 0;
  color: #151515;
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.1rem);
  line-height: 1.58;
  text-indent: 2em;
}

.book-page .open-book article p + p {
  margin-top: 0.75em;
}

.book-page .open-book .chapter-title + p {
  text-indent: 0;
}

.book-page .open-book .chapter-title + p::first-letter {
  float: left;
  padding: 0.15em 0.05em 0 0;
  color: var(--blue-prussian);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3em;
  font-weight: 700;
  line-height: 0.65;
  text-transform: uppercase;
}

@media only screen and (min-width: 50em) {
  .book-page .open-book {
    margin: 1em;
  }

  .book-page .open-book::before {
    content: "";
    position: absolute;
    inset: -1em;
    z-index: -1;
    background: var(--blue-prussian);
    border-radius: 0.25em;
  }

  .book-page .open-book::after {
    content: "";
    position: absolute;
    top: -1em;
    bottom: -1em;
    left: 50%;
    z-index: 1;
    width: 4em;
    transform: translateX(-50%);
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.12) 46%,
      rgba(0, 0, 0, 0.34) 49%,
      rgba(0, 0, 0, 0.42) 50%,
      rgba(0, 0, 0, 0.34) 51%,
      rgba(0, 0, 0, 0.12) 52%,
      transparent 100%
    );
    pointer-events: none;
  }

  .book-page .open-book > * {
    position: relative;
    z-index: 2;
    column-count: 2;
    column-gap: 6em;
  }

  .book-page .open-book header::before,
  .book-page .open-book header::after,
  .book-page .open-book footer::before,
  .book-page .open-book footer::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: calc(50% + 2em);
    height: 2em;
    background: #fffaf0;
    border-radius: 25%;
  }

  .book-page .open-book header::before,
  .book-page .open-book footer::before,
  .book-page .open-book footer::after {
    border-top-left-radius: 0;
  }

  .book-page .open-book header::after,
  .book-page .open-book footer::before,
  .book-page .open-book footer::after {
    border-top-right-radius: 0;
  }

  .book-page .open-book header::before,
  .book-page .open-book header::after,
  .book-page .open-book footer::after {
    border-bottom-right-radius: 0;
  }

  .book-page .open-book header::before,
  .book-page .open-book header::after,
  .book-page .open-book footer::before {
    border-bottom-left-radius: 0;
  }

  .book-page .open-book header::before,
  .book-page .open-book header::after {
    top: -2.65em;
  }

  .book-page .open-book header::before,
  .book-page .open-book footer::before {
    right: 50%;
  }

  .book-page .open-book header::before {
    transform: rotate(-2deg);
  }

  .book-page .open-book header::after,
  .book-page .open-book footer::after {
    left: 50%;
  }

  .book-page .open-book header::after {
    transform: rotate(2deg);
  }

  .book-page .open-book footer::before,
  .book-page .open-book footer::after {
    bottom: -2.65em;
  }

  .book-page .open-book footer::before {
    transform: rotate(2deg);
  }

  .book-page .open-book footer::after {
    transform: rotate(-2deg);
  }

  .book-page .open-book header > *:last-child,
  .book-page .open-book footer > *:last-child {
    text-align: right;
  }

  .book-page .open-book footer .page-numbers {
    display: block;
  }

  .book-page .open-book .chapter-title {
    font-size: 3em;
  }

  .book-page .open-book .chapter-title::before,
  .book-page .open-book .chapter-title::after {
    height: 0.125em;
  }

  .book-page .open-book article p {
    text-indent: 3em;
  }

  .book-page .open-book .chapter-title + p {
    text-indent: 0;
  }
}

@media (max-width: 575px) {
  .book-page .open-book {
    padding: 1.2rem;
  }

  .book-page .open-book article p {
    text-indent: 1.25em;
  }
}

/* Book Page — Interactive Book Sample Reader */
.book-page .book-sample-reader-section {
  background:
    radial-gradient(circle at 12% 4%, rgba(223, 32, 42, 0.055), transparent 30%),
    linear-gradient(180deg, rgba(247, 241, 229, 0.82), rgba(255, 255, 255, 0.96));
}

.book-page .book-sample-reader-header {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.book-page .book-sample-reader-header h2 {
  margin: 0 0 1rem;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(2.15rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.book-page .book-sample-reader-header p:not(.section-kicker) {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.24vw, 1.16rem);
  line-height: 1.68;
}

.book-page .book-spread-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.book-page .book-spread-controls {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.book-page .book-spread-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 0.72rem 1rem;
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 72%);
  border-radius: 999px;
  color: var(--blue-prussian);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--default-font);
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.book-page .book-spread-control:hover,
.book-page .book-spread-control:focus {
  transform: translateY(-2px);
  background: #fff;
  border-color: color-mix(in srgb, var(--cover-blue), transparent 45%);
}

.book-page .book-spread-control.active {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.book-page .book-spread-stage {
  position: relative;
  padding: clamp(0.75rem, 2vw, 1.2rem);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(8, 30, 60, 0.12), rgba(223, 32, 42, 0.055)),
    rgba(255, 255, 255, 0.54);
  box-shadow: 0 30px 90px rgba(8, 30, 60, 0.12);
}

.book-page .book-spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(480px, 45vw, 620px);
  overflow: hidden;
  border-radius: 18px;
  background: #fff8e8;
  box-shadow:
    inset 0 0 0 1px rgba(8, 30, 60, 0.08),
    0 20px 60px rgba(8, 30, 60, 0.12);
}

.book-page .book-spread[hidden] {
  display: none;
}

.book-page .book-spread::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: 2;
  width: clamp(1.5rem, 3vw, 3rem);
  transform: translateX(-50%);
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(8, 30, 60, 0.12) 36%,
      rgba(8, 30, 60, 0.24) 49%,
      rgba(8, 30, 60, 0.28) 50%,
      rgba(8, 30, 60, 0.18) 52%,
      transparent
    );
}

.book-page .book-page {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(90deg, rgba(8, 30, 60, 0.035), transparent 22%, transparent 78%, rgba(8, 30, 60, 0.025)),
    #fff8e8;
}

.book-page .book-page-left {
  padding-right: clamp(2rem, 5vw, 4.2rem);
}

.book-page .book-page-right {
  padding-left: clamp(2rem, 5vw, 4.2rem);
}

.book-page .book-page-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
  color: rgba(8, 30, 60, 0.58);
  font-family: var(--default-font);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.book-page .book-page h3 {
  margin: 0 0 1.1rem;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 2.7vw, 2.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.book-page .book-page p {
  max-width: 36ch;
  margin: 0;
  color: #1f1f1f;
  font-family: var(--default-font);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.12rem);
  line-height: 1.68;
}

.book-page .book-page p + p,
.book-page .book-page blockquote + p,
.book-page .book-page p + blockquote {
  margin-top: 0.9rem;
}

.book-page .book-page blockquote {
  max-width: 38ch;
  margin: 1.15rem 0;
  padding: 0.95rem 1.1rem;
  color: var(--blue-prussian);
  background: rgba(223, 32, 42, 0.06);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 14px 14px 0;
}

.book-page .book-page blockquote p {
  color: inherit;
  font-weight: 900;
  line-height: 1.5;
}

.book-page .book-page-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1rem;
  color: var(--accent-color);
  font-family: var(--default-font);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.book-page .book-page-note {
  background:
    radial-gradient(circle at 80% 20%, rgba(223, 32, 42, 0.08), transparent 30%),
    #fff8e8;
}

@media (max-width: 991px) {
  .book-page .book-spread {
    grid-template-columns: 1fr;
  }

  .book-page .book-spread::before {
    display: none;
  }

  .book-page .book-page-left,
  .book-page .book-page-right {
    padding: clamp(1.35rem, 5vw, 2rem);
  }

  .book-page .book-page + .book-page {
    border-top: 1px solid rgba(8, 30, 60, 0.12);
  }

  .book-page .book-page p,
  .book-page .book-page blockquote {
    max-width: 62ch;
  }
}

@media (max-width: 575px) {
  .book-page .book-spread-stage {
    padding: 0.6rem;
  }

  .book-page .book-spread {
    min-height: auto;
    border-radius: 16px;
  }

  .book-page .book-page-head {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Book Page — Reader width and side page controls */
.book-page .book-spread-shell {
  max-width: min(1500px, 94vw);
  position: relative;
}

.book-page .book-spread-stage {
  padding: clamp(0.8rem, 1.6vw, 1.1rem);
}

.book-page .book-spread {
  min-height: clamp(640px, 70vh, 820px);
}

.book-page .book-page {
  padding-top: clamp(2rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}

.book-page .book-page-left {
  padding-left: clamp(2rem, 4vw, 4.6rem);
  padding-right: clamp(2.4rem, 5vw, 5rem);
}

.book-page .book-page-right {
  padding-left: clamp(2.4rem, 5vw, 5rem);
  padding-right: clamp(2rem, 4vw, 4.6rem);
}

.book-page .book-page h3 {
  max-width: 13.5ch;
  font-size: clamp(1.8rem, 2.15vw, 2.55rem);
  line-height: 1.06;
}

.book-page .book-page p {
  max-width: 48ch;
  font-size: clamp(1.02rem, 0.96rem + 0.2vw, 1.14rem);
  line-height: 1.74;
}

.book-page .book-page blockquote {
  max-width: 48ch;
}

.book-page .book-spread-arrows {
  position: absolute;
  inset: 50% -3.25rem auto -3.25rem;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.book-page .book-spread-arrow {
  display: grid;
  place-items: center;
  width: clamp(2.6rem, 4vw, 3.4rem);
  height: clamp(2.6rem, 4vw, 3.4rem);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 62%);
  border-radius: 999px;
  color: var(--blue-prussian);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(8, 30, 60, 0.16);
  font-family: var(--heading-font);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.book-page .book-spread-arrow:hover,
.book-page .book-spread-arrow:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.book-page .book-spread-arrow:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), white 16%);
  outline-offset: 3px;
}

@media (max-width: 1240px) {
  .book-page .book-spread-arrows {
    inset-inline: -1.25rem;
  }
}

@media (max-width: 991px) {
  .book-page .book-spread-shell {
    max-width: min(820px, 94vw);
  }

  .book-page .book-spread {
    min-height: auto;
  }

  .book-page .book-spread-arrows {
    position: relative;
    inset: auto;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    transform: none;
  }

  .book-page .book-page h3,
  .book-page .book-page p,
  .book-page .book-page blockquote {
    max-width: 62ch;
  }
}

/* Book Page — Reader paper, height, and prose density tuning */
.book-page .book-spread-stage {
  background:
    linear-gradient(135deg, rgba(8, 30, 60, 0.09), rgba(223, 32, 42, 0.035)),
    rgba(255, 255, 255, 0.62);
}

.book-page .book-spread {
  min-height: clamp(760px, 82vh, 940px);
  background: #fffdf7;
}

.book-page .book-page {
  background:
    linear-gradient(90deg, rgba(8, 30, 60, 0.025), transparent 20%, transparent 80%, rgba(8, 30, 60, 0.018)),
    #fffdf7;
  padding-top: clamp(2.15rem, 3.2vw, 3.35rem);
  padding-bottom: clamp(2.15rem, 3.2vw, 3.35rem);
}

.book-page .book-page-left {
  padding-left: clamp(2.4rem, 4.8vw, 5.25rem);
  padding-right: clamp(2.65rem, 5.4vw, 5.65rem);
}

.book-page .book-page-right {
  padding-left: clamp(2.65rem, 5.4vw, 5.65rem);
  padding-right: clamp(2.4rem, 4.8vw, 5.25rem);
}

.book-page .book-page h3 {
  max-width: 15ch;
  margin-bottom: clamp(1.25rem, 2vw, 1.65rem);
  font-size: clamp(1.85rem, 2vw, 2.35rem);
}

.book-page .book-page p {
  max-width: 54ch;
  font-size: clamp(1rem, 0.94rem + 0.16vw, 1.1rem);
  line-height: 1.72;
}

.book-page .book-page blockquote {
  max-width: 54ch;
}

.book-page .book-page-note {
  background:
    radial-gradient(circle at 80% 20%, rgba(223, 32, 42, 0.055), transparent 30%),
    #fffdf7;
}

@media (max-width: 991px) {
  .book-page .book-spread {
    min-height: auto;
  }

  .book-page .book-page {
    background: #fffdf7;
  }
}

/* Book Page — refined page-turn arrows */
.book-page .book-spread-arrow {
  color: var(--blue-prussian);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 229, 0.94));
  border: 1px solid rgba(8, 30, 60, 0.18);
  box-shadow:
    0 18px 44px rgba(8, 30, 60, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.book-page .book-spread-arrow i {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
}

.book-page .book-spread-arrow:hover,
.book-page .book-spread-arrow:focus {
  color: var(--contrast-color);
  background:
    linear-gradient(180deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 10%));
  border-color: var(--accent-color);
}

.book-page .book-spread-arrow:active {
  transform: translateY(0) scale(0.97);
}

/* Book Page — quiet Phosphor page-turn arrows */
.book-page .book-spread-arrow {
  color: rgba(8, 30, 60, 0.72);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 30, 60, 0.13);
  box-shadow:
    0 10px 28px rgba(8, 30, 60, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.book-page .book-spread-arrow i {
  display: block;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1;
  font-weight: 400;
}

.book-page .book-spread-arrow:hover,
.book-page .book-spread-arrow:focus {
  color: var(--blue-prussian);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(8, 30, 60, 0.24);
  transform: translateY(-1px);
}

.book-page .book-spread-arrow:active {
  transform: translateY(0) scale(0.98);
}

/* Book Page — remove top spread buttons spacing */
.book-page .book-spread-controls {
  display: none !important;
}


/* Book Page — blue-white paper and cover-frame refinement */
.book-page .book-spread-stage {
  background:
    linear-gradient(135deg, rgba(8, 30, 60, 0.14), rgba(38, 62, 147, 0.08)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 90px rgba(8, 30, 60, 0.16);
}

.book-page .book-spread {
  background: #f8fbff;
  border: 1px solid rgba(8, 30, 60, 0.26);
  box-shadow:
    0 20px 60px rgba(8, 30, 60, 0.14),
    0 0 0 10px color-mix(in srgb, var(--blue-prussian), white 8%),
    0 0 0 12px rgba(8, 30, 60, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82);
}

.book-page .book-page {
  background:
    linear-gradient(90deg, rgba(38, 62, 147, 0.045), transparent 20%, transparent 80%, rgba(38, 62, 147, 0.03)),
    #f8fbff;
}

.book-page .book-page-note {
  background:
    radial-gradient(circle at 80% 20%, rgba(38, 62, 147, 0.075), transparent 30%),
    #f8fbff;
}

.book-page .book-spread::before {
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(8, 30, 60, 0.13) 36%,
      rgba(8, 30, 60, 0.28) 49%,
      rgba(8, 30, 60, 0.34) 50%,
      rgba(8, 30, 60, 0.22) 52%,
      transparent
    );
}

@media (max-width: 991px) {
  .book-page .book-page {
    background: #f8fbff;
  }
}

/* Book page — hero excerpt button */
.book-page .book-hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.book-page .book-hero-actions .book-hero-excerpt-btn {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.book-page .book-hero-actions .book-hero-excerpt-btn:hover,
.book-page .book-hero-actions .book-hero-excerpt-btn:focus {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* Book page - first chapter signup bar */
.book-page .book-chapter-signup {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  padding: 0 clamp(1rem, 3vw, 2rem) calc(1.5rem + env(safe-area-inset-bottom));
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 360ms ease, opacity 240ms ease;
}

.book-page .book-chapter-signup.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.book-page .book-chapter-signup-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(0.9rem, 2vw, 1.45rem);
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(0.95rem, 1.7vw, 1.12rem) clamp(3rem, 4vw, 3.7rem) clamp(0.85rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(254, 254, 254, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(6, 26, 64, 0.98), rgba(38, 64, 144, 0.96)),
    var(--blue-prussian);
  box-shadow:
    0 18px 44px rgba(8, 30, 60, 0.24),
    inset 0 1px 0 rgba(254, 254, 254, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.book-page .book-chapter-signup-title {
  flex: 0 0 auto;
  max-width: 26ch;
  margin: 0.52rem 0 0;
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-size: clamp(1rem, 0.95rem + 0.32vw, 1.22rem);
  font-weight: 800;
  line-height: 1.16;
}

.book-page .book-chapter-signup-form {
  flex: 1 1 auto;
  min-width: 0;
}

.book-page .book-chapter-signup-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.book-page .book-chapter-signup-field {
  flex: 1 1 13rem;
  min-width: 0;
}

.book-page .book-chapter-signup input[type="text"],
.book-page .book-chapter-signup input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(254, 254, 254, 0.28);
  border-radius: 8px;
  color: var(--blue-prussian);
  background: rgba(254, 254, 254, 0.94);
  font: 600 0.96rem/1.2 var(--default-font);
}

.book-page .book-chapter-signup input[type="text"]::placeholder,
.book-page .book-chapter-signup input[type="email"]::placeholder {
  color: rgba(8, 30, 60, 0.58);
}

.book-page .book-chapter-signup input:focus-visible,
.book-page .book-chapter-signup-submit:focus-visible,
.book-page .book-chapter-signup-close:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), white 24%);
  outline-offset: 3px;
}

.book-page .book-chapter-signup-submit {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 1.05rem;
  white-space: nowrap;
}

.book-page .book-chapter-signup-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.48rem;
  width: fit-content;
  margin: 0.62rem 0 0;
  color: rgba(254, 254, 254, 0.78);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.book-page .book-chapter-signup-consent input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.08rem;
  accent-color: var(--accent-color);
  cursor: pointer;
}

.book-page .book-chapter-signup-status {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.book-page .book-chapter-signup-close {
  position: absolute;
  top: 50%;
  right: clamp(0.75rem, 2vw, 1.1rem);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1px solid rgba(254, 254, 254, 0.16);
  border-radius: 999px;
  color: var(--contrast-color);
  background: rgba(254, 254, 254, 0.08);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.book-page .book-chapter-signup-close:hover,
.book-page .book-chapter-signup-close:focus {
  background: rgba(254, 254, 254, 0.18);
  border-color: rgba(254, 254, 254, 0.4);
}

.book-page .book-chapter-signup-close:active {
  transform: translateY(-50%) scale(0.96);
}

@media (max-width: 767px) {
  .book-page .book-chapter-signup {
    padding: 0 0.85rem calc(1rem + env(safe-area-inset-bottom));
  }

  .book-page .book-chapter-signup-inner {
    display: block;
    padding: 1rem 3.05rem 1rem 1rem;
  }

  .book-page .book-chapter-signup-title {
    max-width: 100%;
    margin: 0 0 0.75rem;
  }

  .book-page .book-chapter-signup-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .book-page .book-chapter-signup-submit {
    width: 100%;
  }

  .book-page .book-chapter-signup-consent {
    margin-top: 0.7rem;
  }
}

/* Who It's For — image + audience layout */
.why-audience-layout {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.why-audience-visual {
  margin: 0;
  position: relative;
}

.why-audience-visual img {
  display: block;
  width: 100%;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 70%);
  box-shadow: 0 28px 80px rgba(8, 30, 60, 0.14);
}

.why-audience-layout .why-audience-heading {
  font-size: clamp(2.15rem, 4vw, 4rem);
}

.why-audience-layout .audience-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.why-audience-layout .audience-card {
  padding: clamp(1.2rem, 2vw, 1.6rem);
}

.why-audience-layout .audience-card h4 {
  min-height: 2.4em;
  display: flex;
  align-items: flex-start;
}

.why-audience-layout .who-closing {
  max-width: 60ch;
}

@media (max-width: 991px) {
  .why-audience-visual {
    max-width: 620px;
    margin: 0 auto;
  }
}


/* Why This Book — simplified spacing before Who It's For */
.about.why-book > .container.why-audience {
  margin-top: clamp(0.75rem, 1.5vw, 1.5rem);
  border-top: 0;
  padding-top: 0;
}

.about.why-book .why-audience-layout {
  margin-top: clamp(0.75rem, 2vw, 1.25rem);
}



.services.themes-section .service-card {
}

.services.themes-section .theme-card {
  background: rgba(56, 72, 110, 0.58);
  border-color: rgba(244, 234, 216, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.services.themes-section .theme-card h3,
.services.themes-section .theme-card .service-info h3 {
  color: rgba(255, 255, 255, 0.98);
}

.services.themes-section .theme-card p,
.services.themes-section .theme-card .service-info p {
  color: rgba(255, 255, 255, 0.92);
}

.services.themes-section .theme-card .service-icon,
.services.themes-section .theme-card .service-icon i {
  color: rgba(255, 255, 255, 0.92);
}

/* Media prototype cards — aligned CTA buttons */
.media-prototype-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.media-prototype-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.media-prototype-content p {
  margin-bottom: 1.25rem;
}

.media-prototype-content a {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(38, 62, 147, 0.18);
  border-radius: 999px;
  background: rgba(38, 62, 147, 0.06);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
}

.media-prototype-content a:hover,
.media-prototype-content a:focus-visible {
  background: rgba(38, 62, 147, 0.12);
  border-color: rgba(38, 62, 147, 0.28);
}

/* Media prototype slides — equal height + centered button placement */
.media-prototype-swiper .swiper-wrapper {
  align-items: stretch;
}

.media-prototype-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.media-prototype-swiper .swiper-slide .media-prototype-card {
  width: 100%;
}

.media-prototype-content a {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.media-prototype-visual-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.media-prototype-visual-link:hover,
.media-prototype-visual-link:focus-visible {
  text-decoration: none;
}

/* Media cards — force consistent button alignment */
.media-prototype-swiper .swiper-slide {
  height: auto !important;
  display: flex !important;
}

.media-prototype-swiper .swiper-slide .media-prototype-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.media-prototype-swiper .media-prototype-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.media-prototype-swiper .media-prototype-content h3 {
  min-height: 2.6em;
  margin-bottom: 0.9rem;
}

.media-prototype-swiper .media-prototype-content p {
  min-height: 4.8em;
  margin-bottom: 1.25rem;
}

.media-prototype-swiper .media-prototype-content a {
  margin-top: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
}

/* Media prototype socials */
.media-prototype-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.media-prototype-socials a {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: #263e93;
  background: rgba(38, 62, 147, 0.08);
  border: 1px solid rgba(38, 62, 147, 0.16);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.media-prototype-socials a:hover,
.media-prototype-socials a:focus-visible {
  transform: translateY(-2px);
  background: rgba(38, 62, 147, 0.14);
  border-color: rgba(38, 62, 147, 0.28);
  color: #071b3a;
}

.media-prototype-socials i {
  font-size: 1.45rem;
  line-height: 1;
}

/* Why Bill — landscape backdrop */
.why-bill-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(232, 223, 210, 0.40) 0%,
      rgba(232, 223, 210, 0.26) 24%,
      rgba(232, 223, 210, 0.16) 40%,
      rgba(244, 245, 247, 0.78) 58%,
      rgba(244, 245, 247, 0.92) 72%,
      rgba(244, 245, 247, 0.97) 100%
    ),
    linear-gradient(
      180deg,
      rgba(244, 245, 247, 0.20) 0%,
      rgba(244, 245, 247, 0.32) 100%
    ),
    url("../img/illustration/about-background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
}

.why-bill-section > .container {
  position: relative;
  z-index: 1;
}


.clients.why-bill-section > .container {
  position: relative;
  z-index: 1;
}

/* Praise cards — align attribution blocks */
.praise-grid > [class*="col-"] {
  display: flex;
}

.praise-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.praise-quote {
  margin-bottom: 0;
}

.praise-attribution {
  margin-top: auto;
}

/* Praise cards — hard align quote/footer structure */
.praise-grid .col-lg-6,
.praise-grid > [class*="col-"] {
  display: flex;
}

.praise-grid .praise-card {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.praise-grid .praise-quote {
  flex: 1 1 auto;
  display: flex;
  margin-bottom: 0;
}

.praise-grid .praise-quote p {
  margin-bottom: 0;
}

.praise-grid .praise-attribution {
  margin-top: 2rem;
}

/* Stay Connected — left text, centered larger CTA */
.stay-connected-section .stay-connected-intro {
  display: block;
  text-align: left;
}

.stay-connected-section .stay-connected-intro .stay-connected-cta,
.stay-connected-section .stay-connected-intro a.stay-connected-cta,
.stay-connected-section .stay-connected-intro .btn.stay-connected-cta {
  display: flex !important;
  width: fit-content;
  min-width: 220px;
  min-height: 64px;
  padding: 1rem 2rem;
  margin: 1rem 0 0;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  font-weight: 700;
  border-radius: 14px;
  text-align: center;
}

/* Stay Connected — rebalance left intro and card density */
.stay-connected-section .stay-connected-intro h2 {
  font-size: clamp(3rem, 5.2vw, 4.25rem);
  line-height: 0.98;
  margin-bottom: 1.5rem;
}

.stay-connected-section .stay-connected-intro p {
  font-size: 1.18rem;
  line-height: 1.7;
  max-width: 42ch;
}

.stay-connected-section .stay-connected-intro .stay-connected-cta,
.stay-connected-section .stay-connected-intro a.stay-connected-cta,
.stay-connected-section .stay-connected-intro .btn.stay-connected-cta {
  min-width: 170px;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
}

.stay-connected-section .connection-card {
  padding: 1.5rem 1.5rem 1.35rem;
  min-height: 250px;
}

.stay-connected-section .connection-card-title {
  margin-bottom: 0.75rem;
  font-size: 1.9rem;
}

.stay-connected-section .connection-card-text {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.stay-connected-section .connection-card-link {
  margin-top: auto;
}

.stay-connected-section .connection-grid {
  align-items: stretch;
}

/* Stay Connected — visual card image */
.connection-visual-card {
  overflow: hidden;
  padding: 0;
}

.connection-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stay Connected — make visual card image fill tile */
.stay-connected-section .connection-visual-card {
  display: flex;
  min-height: 100%;
  height: 100%;
}

.stay-connected-section .connection-visual-card img {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  object-fit: cover;
  object-position: center;
}

/* Stay Connected — hard force visual image to fill card */
.stay-connected-section .connection-visual-card {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: block !important;
  min-height: 250px;
}

.stay-connected-section .connection-visual-card img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Book page — occasional Nexa Rust hero headline */
.book-page .subpage-hero h1 {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-rust-slab);
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  letter-spacing: 0.005em;
  line-height: 0.98;
}


/* Book page — hero author line */
.book-page .book-hero-author {
  margin: -0.15rem 0 1.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-rust-slab);
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.08;
  text-transform: uppercase;
}

/* Book page — cover color echo */
.book-page .subpage-hero {
  background:
    radial-gradient(circle at 82% 38%, rgba(38, 62, 147, 0.72), transparent 38%),
    radial-gradient(circle at 18% 18%, rgba(210, 35, 42, 0.14), transparent 24%),
    linear-gradient(135deg, #061A40 0%, #003559 48%, #263E93 100%);
}

.book-page .subpage-hero h1 {
  color: #FEFEFE;
}

.book-page .book-hero-author {
  color: #FEFEFE;
  text-shadow:
    0.055em 0.055em 0 #263E93,
    0.09em 0.09em 0 rgba(6, 26, 64, 0.5);
}

.book-page .book-hero-quote blockquote {
  border-left-color: #D2232A;
}

.book-page .book-hero-actions .btn,
.book-page .book-hero-actions .btn-primary {
  background: #D2232A;
  border-color: #D2232A;
  color: #FEFEFE;
}

.book-page .book-hero-actions .book-hero-excerpt-btn {
  background: rgba(38, 62, 147, 0.38);
  border-color: rgba(254, 254, 254, 0.56);
  color: #FEFEFE;
}

.book-page .subpage-hero-image {
  background: #263E93;
  border: 1px solid rgba(254, 254, 254, 0.16);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(38, 62, 147, 0.72);
}

/* TEMP TEST — force book hero background */
body.book-page .subpage-hero.section {
  background:
    radial-gradient(circle at 82% 38%, rgba(38, 62, 147, 0.72), transparent 38%),
    radial-gradient(circle at 18% 18%, rgba(210, 35, 42, 0.14), transparent 24%),
    linear-gradient(135deg, #061A40 0%, #003559 48%, #263E93 100%) !important;
}

/*--------------------------------------------------------------
# Book Cover Hero Title Card
# Reusable cover-inspired title plate for book hero sections.
--------------------------------------------------------------*/
body.book-page .subpage-hero.section {
      background:
        radial-gradient(circle at 82% 38%, rgba(38, 62, 147, 0.72), transparent 38%),
        radial-gradient(circle at 18% 18%, rgba(210, 35, 42, 0.14), transparent 24%),
        linear-gradient(135deg, #061A40 0%, #003559 48%, #263E93 100%) !important;
    }

    body.book-page .book-hero-title-card {
      position: relative;
      display: block;
      width: min(100%, 720px);
      max-width: 100%;
      margin: 0 0 clamp(1.15rem, 2.4vw, 1.6rem);
      padding: clamp(0.9rem, 1.9vw, 1.35rem) clamp(1.35rem, 3.2vw, 2.35rem) clamp(0.95rem, 2vw, 1.4rem);
      background:
        linear-gradient(135deg, rgba(254, 254, 254, 0.98), rgba(250, 250, 247, 0.9));
      border: 1px solid rgba(38, 62, 147, 0.22);
      border-radius: 16px;
      box-shadow:
        0 26px 72px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(38, 62, 147, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    body.book-page .book-hero-title-card .subpage-kicker {
      margin-bottom: 0.8rem;
      color: #263E93 !important;
    }

    body.book-page .book-hero-title-card h1 {
      margin: 0 0 0.65rem;
      color: #3856B8 !important;
      font-family: var(--font-rust-slab);
      line-height: 0.9;
      text-shadow:
        0.045em 0.045em 0 rgba(244, 247, 252, 0.96),
        0.08em 0.08em 0 rgba(244, 247, 252, 0.72);
    }

    body.book-page .subpage-hero h1 .hero-title-line {
      display: block;
    }

    body.book-page .subpage-hero h1 .hero-title-line-top {
      font-size: 1.04em;
      line-height: 0.9;
    }

    body.book-page .subpage-hero h1 .hero-title-line-dudes {
      font-size: 1.56em;
      line-height: 0.84;
    }

    body.book-page .subpage-hero h1 .hero-title-red {
      display: block;
      margin-top: 0.08em;
      color: #D2232A !important;
      font-size: 0.72em;
      letter-spacing: 0.01em;
      line-height: 0.95;
    }

    body.book-page .book-hero-author {
      margin: 0;
      color: #3856B8 !important;
      font-family: var(--font-rust-slab);
      font-size: 0.86em;
      line-height: 0.95;
      text-shadow:
        0.045em 0.045em 0 rgba(244, 247, 252, 0.96),
        0.08em 0.08em 0 rgba(244, 247, 252, 0.72);
      text-transform: uppercase;
    }

    body.book-page .book-hero-title-card + .subpage-lead {
      max-width: 760px;
      margin-top: 0;
    }

    body.book-page .book-hero-quote blockquote {
      border-left-color: #D2232A !important;
    }

    body.book-page .book-hero-actions .btn,
    body.book-page .book-hero-actions .btn-primary {
      background: #D2232A !important;
      border-color: #D2232A !important;
      color: #FEFEFE !important;
    }

    body.book-page .book-hero-actions .book-hero-excerpt-btn {
      background: rgba(38, 62, 147, 0.38) !important;
      border-color: rgba(254, 254, 254, 0.56) !important;
      color: #FEFEFE !important;
    }

    body.book-page .subpage-hero-image {
      background: #263E93 !important;
      border: 1px solid rgba(254, 254, 254, 0.16) !important;
      box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(38, 62, 147, 0.72) !important;
    }

/* Subpage heroes — index-inspired headline weight and scale */
.subpage-hero h1 {
  max-width: 10em;
  font-size: clamp(3.5rem, 6.25vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.subpage-hero .subpage-lead {
  max-width: 42rem;
}

/* Image-led subpages need a slightly safer cap */
.about-page .subpage-hero h1,
.book-page .subpage-hero h1,
.references-page .subpage-hero h1 {
  font-size: clamp(3.4rem, 5.6vw, 5.75rem);
}

@media (max-width: 767px) {
  .subpage-hero h1,
  .about-page .subpage-hero h1,
  .book-page .subpage-hero h1,
  .references-page .subpage-hero h1 {
    font-size: clamp(2.75rem, 12vw, 4rem);
    letter-spacing: -0.055em;
  }
}

/* About page — simple hero paragraph spacing only */
body.about-page .subpage-hero p.subpage-lead {
  margin-bottom: 0;
}

body.about-page .subpage-hero p.subpage-lead.subpage-lead-support {
  margin-top: 1.35rem !important;
}


/* About page — reduce hero vertical padding so content sits higher */
body.about-page .subpage-hero {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(48px, 6vw, 76px);
}

@media (max-width: 991px) {
  body.about-page .subpage-hero {
    padding-top: clamp(64px, 12vw, 92px);
    padding-bottom: clamp(44px, 8vw, 68px);
  }
}

/* About page — lift hero higher and enlarge author image */
body.about-page .subpage-hero {
  padding-top: clamp(42px, 4.5vw, 68px);
  padding-bottom: clamp(44px, 5vw, 70px);
}

body.about-page .subpage-hero .subpage-author-image {
  width: min(100%, 440px);
}

@media (max-width: 991px) {
  body.about-page .subpage-hero {
    padding-top: clamp(48px, 8vw, 72px);
    padding-bottom: clamp(40px, 7vw, 64px);
  }

  body.about-page .subpage-hero .subpage-author-image {
    width: min(100%, 380px);
  }
}


/* Sitewide button normalization — match homepage hero CTA system */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-getstarted,
.submit-btn,
.header .btn-getstarted,
.hero .hero-cta .btn-primary,
.hero .hero-cta .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.85rem;
  border-radius: 4px;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-width: 2px;
  border-style: solid;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* Red primary buttons */
.btn-primary,
.btn-getstarted,
.submit-btn,
.header .btn-getstarted,
.hero .hero-cta .btn-primary {
  color: #fff;
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/* Red primary hover */
.btn-primary:hover,
.btn-primary:focus,
.btn-getstarted:hover,
.btn-getstarted:focus,
.submit-btn:hover,
.submit-btn:focus,
.header .btn-getstarted:hover,
.header .btn-getstarted:focus,
.hero .hero-cta .btn-primary:hover,
.hero .hero-cta .btn-primary:focus {
  color: #fff;
  background: var(--red-deep);
  border-color: var(--red-deep);
  transform: translateY(-1px);
}

/* Secondary / outline buttons on dark sections */
.btn-outline,
.btn-secondary,
.hero .hero-cta .btn-outline,
.dark-background .btn-outline,
.section-authority .btn-outline,
.section-deep .btn-outline,
.section-book .btn-outline,
.section-red-accent .btn-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.92);
}

/* Secondary / outline hover on dark sections */
.btn-outline:hover,
.btn-outline:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.hero .hero-cta .btn-outline:hover,
.hero .hero-cta .btn-outline:focus,
.dark-background .btn-outline:hover,
.dark-background .btn-outline:focus,
.section-authority .btn-outline:hover,
.section-authority .btn-outline:focus,
.section-deep .btn-outline:hover,
.section-deep .btn-outline:focus,
.section-book .btn-outline:hover,
.section-book .btn-outline:focus,
.section-red-accent .btn-outline:hover,
.section-red-accent .btn-outline:focus {
  color: var(--cover-blue);
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

/* Secondary / outline buttons on light sections */
.section-plain .btn-outline,
.section-muted .btn-outline,
.card-light .btn-outline,
.section-plain .btn-secondary,
.section-muted .btn-secondary,
.card-light .btn-secondary {
  color: var(--cover-blue);
  background: transparent;
  border-color: var(--cover-blue);
}

/* Secondary / outline hover on light sections */
.section-plain .btn-outline:hover,
.section-plain .btn-outline:focus,
.section-muted .btn-outline:hover,
.section-muted .btn-outline:focus,
.card-light .btn-outline:hover,
.card-light .btn-outline:focus,
.section-plain .btn-secondary:hover,
.section-plain .btn-secondary:focus,
.section-muted .btn-secondary:hover,
.section-muted .btn-secondary:focus,
.card-light .btn-secondary:hover,
.card-light .btn-secondary:focus {
  color: #fff;
  background: var(--cover-blue);
  border-color: var(--cover-blue);
}

/* Keep header CTA from becoming oversized vertically in the nav */
.header .btn-getstarted {
  min-height: 42px;
  padding: 0.72rem 1.35rem;
  margin-left: 30px;
  font-size: 0.92rem;
}

@media (max-width: 1200px) {
  .header .btn-getstarted {
    margin: 0 15px 0 0;
    min-height: 40px;
    padding: 0.62rem 1rem;
  }
}

@media (max-width: 575px) {
  .main .btn,
  .main .btn-primary,
  .main .btn-secondary,
  .main .btn-outline,
  .main .submit-btn {
    width: 100%;
  }
}

/* Stay Connected — align primary CTA with intro copy */
.stay-connected-intro .btn,
.stay-connected-intro .btn-primary {
  margin-left: 0;
  margin-right: auto;
}

/* Who It's For — quote placement only */
.why-audience-testimonial {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}


/* Who It's For — force Stanford quote to match the first quote card */
.about.why-book .why-audience-testimonial {
  max-width: 620px;
  margin: clamp(1.6rem, 2.8vw, 2.25rem) auto;
}

.about.why-book .why-audience-testimonial blockquote {
  position: relative;
  margin: 0;
  padding: clamp(1.35rem, 2.4vw, 1.9rem) clamp(2.35rem, 4vw, 3.35rem);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 82%);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(8, 30, 60, 0.055);
}

.about.why-book .why-audience-testimonial blockquote::before,
.about.why-book .why-audience-testimonial blockquote::after {
  position: absolute;
  color: color-mix(in srgb, var(--cover-blue), transparent 66%);
  font-family: var(--heading-font);
  font-size: clamp(3.25rem, 6vw, 5rem);
  font-weight: 800;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
}

.about.why-book .why-audience-testimonial blockquote::before {
  content: "“";
  top: 0.28rem;
  left: 0.75rem;
}

.about.why-book .why-audience-testimonial blockquote::after {
  content: "”";
  right: 0.85rem;
  bottom: -0.42em;
}

.about.why-book .why-audience-testimonial blockquote p {
  margin: 0;
  color: var(--blue-prussian);
  font-family: var(--default-font);
  font-size: clamp(1.02rem, 0.98rem + 0.28vw, 1.17rem);
  font-weight: 700;
  line-height: 1.58;
  letter-spacing: -0.006em;
}

.about.why-book .why-audience-testimonial .testimonial-tail {
  width: 0;
  height: 0;
  margin-left: clamp(2.25rem, 5vw, 3.75rem);
  border-left: 0 solid transparent;
  border-right: 22px solid transparent;
  border-top: 20px solid rgba(255, 255, 255, 0.68);
  filter: drop-shadow(0 5px 5px rgba(8, 30, 60, 0.035));
}

.about.why-book .why-audience-testimonial figcaption {
  display: grid;
  gap: 0.18rem;
  margin: 0.55rem 0 0 clamp(1.25rem, 3vw, 2rem);
  color: var(--text-muted);
  text-align: left;
}

.about.why-book .why-audience-testimonial .quote-author {
  color: var(--blue-prussian);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.about.why-book .why-audience-testimonial .quote-role {
  max-width: 54ch;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

/* What This Book Takes On — CTA pair */
.theme-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: clamp(1.35rem, 2.5vw, 2rem);
}

.theme-section-actions .btn {
  min-width: 170px;
}

@media (max-width: 575px) {
  .theme-section-actions {
    gap: 0.7rem;
  }
}

/* Why Bill — normalize text rhythm to Why This Book section */
.index-page .why-bill-section .why-bill-normalized-copy .section-kicker {
  display: inline-flex;
  margin-bottom: 0.95rem;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.index-page .why-bill-section .why-bill-normalized-copy .section-heading {
  max-width: 15ch;
  margin-bottom: clamp(1.2rem, 2.4vw, 1.75rem);
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: clamp(2.35rem, 3.25vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.index-page .why-bill-section .why-bill-normalized-copy p {
  max-width: 68ch;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), #000 6%);
  font-size: clamp(1.08rem, 1.18vw, 1.22rem);
  line-height: 1.68;
  font-weight: 500;
}

.index-page .why-bill-section .why-bill-normalized-copy p + p {
  margin-top: 1rem;
}

.index-page .why-bill-section .why-bill-normalized-copy p.lead {
  color: color-mix(in srgb, var(--default-color), #000 18%);
  font-weight: 700;
}


/* Why Bill — body paragraphs match Who It's For lead style */
.index-page .why-bill-section .why-bill-content p:not(.lead) {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 1rem + 0.38vw, 1.28rem);
  line-height: 1.65;
  font-weight: inherit;
  letter-spacing: normal;
}

.index-page .why-bill-section .why-bill-content p:not(.lead) + p:not(.lead) {
  margin-top: 1rem;
}


/* Why Bill — lead paragraph matches audience lead style, larger */
.index-page .why-bill-section .why-bill-content p.lead {
  max-width: 860px;
  margin-bottom: clamp(1.25rem, 2.4vw, 1.9rem);
  color: color-mix(in srgb, var(--text-muted), #000 18%);
  font-size: clamp(1.34rem, 1.14rem + 0.72vw, 1.64rem);
  line-height: 1.58;
  font-weight: inherit;
  letter-spacing: normal;
}

/* Why Bill — social links under author image */
.bill-photo-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(1rem, 2vw, 1.4rem);
}

.bill-photo-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 72%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--cover-blue);
  font-size: 1.18rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(8, 30, 60, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bill-photo-socials a:hover,
.bill-photo-socials a:focus {
  transform: translateY(-1px);
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}


/* Why Bill — darker Southwest overlay for readability */
.index-page .why-bill-section {
  position: relative;
  isolation: isolate;
}

.index-page .why-bill-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(76, 54, 42, 0.38) 0%,
      rgba(116, 72, 48, 0.28) 34%,
      rgba(244, 234, 216, 0.58) 58%,
      rgba(244, 234, 216, 0.78) 100%
    ),
    radial-gradient(
      circle at 72% 45%,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.36) 42%,
      rgba(255, 255, 255, 0) 72%
    );
}

/* Stay Connected — scroll-snap conversation slider */
.conversation-slider-section {
  overflow: hidden;
}

.conversation-slider-header {
  max-width: 760px;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.conversation-slider-header h2 {
  max-width: 11ch;
  margin: 0.6rem 0 1.1rem;
  color: var(--cover-blue);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.conversation-slider-header p {
  max-width: 64ch;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 1rem + 0.38vw, 1.28rem);
  line-height: 1.65;
}

.conversation-slider-shell {
  position: relative;
}

.conversation-slider {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 26px;
}

.conversation-slider::-webkit-scrollbar {
  display: none;
}

.conversation-slide {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: 520px;
  padding: clamp(1.35rem, 4vw, 4rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 234, 216, 0.76)),
    radial-gradient(circle at 12% 20%, rgba(215, 38, 46, 0.12), transparent 32%),
    radial-gradient(circle at 88% 84%, rgba(38, 62, 147, 0.14), transparent 38%);
}

.conversation-slide-primary {
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.96), rgba(38, 62, 147, 0.88)),
    radial-gradient(circle at 18% 20%, rgba(215, 38, 46, 0.24), transparent 34%);
}

.conversation-slide-primary .conversation-slide-label,
.conversation-slide-primary h3,
.conversation-slide-primary p {
  color: #fff;
}

.conversation-slide-primary p {
  color: rgba(255, 255, 255, 0.82);
}

.conversation-slide-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 80px rgba(8, 30, 60, 0.14);
}

.conversation-slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.conversation-slide-icon-visual {
  color: var(--cover-blue);
  font-size: clamp(5rem, 12vw, 10rem);
}

.conversation-slide-content {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2rem);
}

.conversation-slide-meta {
  display: grid;
  gap: 0.65rem;
}

.conversation-slide-label {
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.conversation-slide h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--cover-blue);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.conversation-slide p {
  max-width: 56ch;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 1rem + 0.38vw, 1.28rem);
  line-height: 1.65;
}

.conversation-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.conversation-slider-controls {
  position: absolute;
  inset: 50% -1rem auto -1rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.conversation-control {
  display: inline-grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 76%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--cover-blue);
  font-size: 1.75rem;
  box-shadow: 0 14px 36px rgba(8, 30, 60, 0.12);
  pointer-events: auto;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.conversation-control:hover,
.conversation-control:focus {
  color: #fff;
  background: var(--accent-color);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .conversation-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .conversation-slide-visual {
    max-width: 420px;
  }

  .conversation-slider-controls {
    position: static;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    transform: none;
  }
}

@media (max-width: 575px) {
  .conversation-slider-header h2 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .conversation-slide {
    padding: 1.2rem;
  }

  .conversation-slide h3 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }
}


/* Stay Connected slider — primary slide readability fix */
.conversation-slide-primary .conversation-slide-label {
  color: rgba(255, 255, 255, 0.9);
}

.conversation-slide-primary h3 {
  color: #fff;
}

.conversation-slide-primary p {
  color: rgba(255, 255, 255, 0.84);
}

.conversation-slide-primary .conversation-slide-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.82);
  background: transparent;
}

.conversation-slide-primary .conversation-slide-actions .btn-outline:hover,
.conversation-slide-primary .conversation-slide-actions .btn-outline:focus {
  color: var(--cover-blue);
  background: #fff;
  border-color: #fff;
}

/* Stay Connected slider — final section heading style */
.conversation-slider-header {
  max-width: 960px;
  margin-right: auto;
  margin-bottom: clamp(2rem, 4.5vw, 3.35rem);
  margin-left: auto;
  text-align: center;
}

.conversation-slider-header .connection-label {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.conversation-slider-header h2 {
  max-width: none;
  margin: 0 auto 1rem;
  color: var(--blue-prussian);
  font-size: clamp(2.65rem, 4.4vw, 4.65rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.conversation-slider-header h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--accent-color);
}

.conversation-slider-header p {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.12rem);
  line-height: 1.65;
}

/* Stay Connected slider — prepared illustration slots */
.conversation-slide-visual-image {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 234, 216, 0.72));
}

.conversation-slide-visual-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Stay Connected slider — image frame refinement */
.conversation-slide-primary .conversation-slide-visual {
  padding: 0.55rem;
  border-radius: 18px;
}

.conversation-slide-primary .conversation-slide-visual img {
  border-radius: 12px;
}


/* Stay Connected slider — image frame refinement */
.conversation-slide-primary .conversation-slide-visual {
  padding: 0.55rem;
  border-radius: 18px;
}

.conversation-slide-primary .conversation-slide-visual img {
  border-radius: 12px;
}


/* Speaking Calendar — center event date badge */
.event-card .event-date {
  align-self: center;
}


/* Contact page — direct email card */
.contact-direct-card {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 82%);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 234, 216, 0.78)),
    radial-gradient(circle at 12% 15%, rgba(215, 38, 46, 0.1), transparent 34%);
  box-shadow: 0 24px 70px rgba(8, 30, 60, 0.09);
}

.contact-direct-kicker {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-direct-card h2 {
  max-width: 12ch;
  margin: 0 0 1rem;
  color: var(--blue-prussian);
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.contact-direct-card p {
  max-width: 56ch;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.04rem, 1rem + 0.28vw, 1.18rem);
  line-height: 1.65;
}

.contact-direct-list {
  display: grid;
  gap: 0.85rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.8rem);
}

.contact-direct-list div {
  padding: 0.95rem 1rem;
  border-left: 4px solid var(--accent-color);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
}

.contact-direct-list strong,
.contact-direct-list span {
  display: block;
}

.contact-direct-list strong {
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: 1.2;
}

.contact-direct-list span {
  margin-top: 0.25rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1.35rem, 2.5vw, 2rem);
}

.contact-direct-email {
  color: var(--cover-blue);
  font-weight: 800;
  text-decoration-color: color-mix(in srgb, var(--cover-blue), transparent 55%);
  text-underline-offset: 0.18em;
}

.contact-direct-email:hover,
.contact-direct-email:focus {
  color: var(--accent-color);
}

@media (max-width: 575px) {
  .contact-direct-actions .btn {
    width: 100%;
  }
}

/* Contact page — lift hero/form layout and enable active form presentation */
.contact-page .subpage-hero {
  padding-top: clamp(4.25rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.contact-page .contact-placeholder-form input,
.contact-page .contact-placeholder-form select,
.contact-page .contact-placeholder-form textarea {
  background-color: #fff;
}

.contact-page .contact-placeholder-form .btn {
  width: auto;
  min-width: 170px;
}

/* Contact page — lift hero/form layout a bit more */
.contact-page .subpage-hero {
  padding-top: clamp(2.75rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}


/* Contact page — adaptive inquiry fields */
.contact-conditional-fieldset fieldset {
  margin: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 82%);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.contact-conditional-fieldset legend,
.contact-checkbox-fieldset legend {
  float: none;
  width: auto;
  margin-bottom: 0.85rem;
  padding: 0;
  color: var(--blue-prussian);
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.contact-checkbox-fieldset {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 84%);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.contact-checkbox-fieldset label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.35;
}

.contact-checkbox-fieldset input {
  width: auto;
  margin-top: 0.2rem;
}

.contact-placeholder-form [hidden] {
  display: none !important;
}

/* Contact page — keep intro text fixed when adaptive form expands */
.contact-page .subpage-hero .row {
  align-items: flex-start !important;
}

.contact-page .subpage-hero .col-lg-6:first-child {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}


/* Contact page — speaking and social follow section */
.contact-speaking-header {
  max-width: 860px;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-speaking-header h2 {
  max-width: 13ch;
  margin: 0.55rem 0 1rem;
  color: var(--blue-prussian);
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.contact-speaking-header p,
.contact-social-block p {
  max-width: 68ch;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.04rem, 1rem + 0.28vw, 1.18rem);
  line-height: 1.65;
}

.contact-speaking-grid {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-social-block {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid color-mix(in srgb, var(--cover-blue), transparent 82%);
}

.contact-social-block h3 {
  margin: 0 0 0.5rem;
  color: var(--blue-prussian);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1rem, 2vw, 1.35rem);
}

.contact-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--cover-blue), transparent 78%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--cover-blue);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-social-links a:hover,
.contact-social-links a:focus {
  transform: translateY(-1px);
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.contact-social-links i {
  font-size: 1.05rem;
}

/* Stay Connected slider — make image frame white */
.conversation-slide-visual {
  background: #fff;
  box-shadow: 0 28px 80px rgba(8, 30, 60, 0.16);
}

.conversation-slide-visual-image {
  background: #fff;
}


/* Stay Connected slider — reduce top whitespace */
.index-page .conversation-slider-section {
  padding-top: clamp(2rem, 4vw, 3.25rem);
}

.index-page .conversation-slider-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}


/* Stay Connected slider — remove image frame entirely */
.conversation-slide-visual {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
}

.conversation-slide-visual img {
  display: block;
  border-radius: 18px;
}


/* Stay Connected slider — reduce slide height and harmonize background */
.index-page .conversation-slide {
  min-height: 430px;
  padding: clamp(1.15rem, 2.8vw, 2.75rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 241, 248, 0.86)),
    radial-gradient(circle at 12% 20%, rgba(215, 38, 46, 0.08), transparent 32%),
    radial-gradient(circle at 88% 84%, rgba(38, 62, 147, 0.1), transparent 38%);
}

.index-page .conversation-slide-primary {
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.96), rgba(38, 62, 147, 0.9)),
    radial-gradient(circle at 18% 20%, rgba(215, 38, 46, 0.22), transparent 34%);
}

.index-page .conversation-slide-visual {
  max-width: 420px;
  justify-self: center;
}

.index-page .conversation-slide-content {
  gap: clamp(1rem, 2vw, 1.5rem);
}


/* Stay Connected slider — restore card separation from section background */
.index-page .conversation-slide {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 252, 0.94)),
    radial-gradient(circle at 12% 18%, rgba(215, 38, 46, 0.09), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(38, 62, 147, 0.12), transparent 36%);
  border: 1px solid rgba(7, 27, 58, 0.08);
  box-shadow: 0 24px 70px rgba(7, 27, 58, 0.08);
}

.index-page .conversation-slide-primary {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(7, 27, 58, 0.16);
}


/* Stay Connected slider — restore first slide dark-blue treatment */
.index-page .conversation-slide-primary {
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.98), rgba(38, 62, 147, 0.92)),
    radial-gradient(circle at 18% 20%, rgba(215, 38, 46, 0.22), transparent 34%) !important;
  border-color: rgba(255, 255, 255, 0.08);
}

.index-page .conversation-slide-primary .conversation-slide-label,
.index-page .conversation-slide-primary h3 {
  color: #fff;
}

.index-page .conversation-slide-primary p {
  color: rgba(255, 255, 255, 0.86);
}

.index-page .conversation-slide-primary .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.82);
  background: transparent;
}

.index-page .conversation-slide-primary .btn-outline:hover,
.index-page .conversation-slide-primary .btn-outline:focus {
  color: var(--cover-blue);
  background: #fff;
  border-color: #fff;
}


/* Watch / Listen / Read — tighten top space and separate background */
.index-page #watch-listen-read {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(180deg, rgba(238, 246, 251, 0.96), rgba(230, 240, 248, 0.98));
}

.index-page #watch-listen-read .section-title {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.index-page #watch-listen-read .section-title h2 {
  margin-top: 0;
}


/* Stay Connected → Watch/Listen/Read — reduce transition gap */
.index-page #stay-connected {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.index-page #watch-listen-read {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.index-page #watch-listen-read .section-title {
  margin-top: 0;
  padding-top: 0;
}


/* Why Bill — lift section and match final paragraph to lead size */
.index-page #why-bill {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.index-page #why-bill .why-bill-content p:last-child {
  font-size: clamp(1.34rem, 1.14rem + 0.72vw, 1.64rem);
  line-height: 1.58;
  font-weight: inherit;
}


/* Why This Book — section CTA buttons */
.why-book-cta-container {
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.why-book-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.95rem;
}

.why-book-section-actions .btn {
  min-width: 180px;
}


/* Why This Book — quote-level CTA buttons */
.why-book-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.9rem);
}

.why-book-quote-actions .btn {
  min-width: 180px;
}


/* Why This Book — center quote-level CTA buttons under quote */
.why-book-quote-actions {
  justify-content: center;
}


/* Why This Book — center quote-level CTA buttons under quote */
.why-book-quote-actions {
  justify-content: center;
}


/* Why This Book — audience image CTA buttons */
.why-audience-image-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.9rem);
}

.why-audience-image-actions .btn {
  min-width: 180px;
}


/* What This Book Takes On — keep CTA buttons side by side */
.theme-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.theme-section-actions .btn {
  width: auto;
  min-width: 170px;
}

@media (max-width: 575px) {
  .theme-section-actions .btn {
    width: 100%;
  }
}


/* What This Book Takes On — force CTA buttons inline on desktop */
.index-page #what-this-book-takes-on .theme-section-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
}

.index-page #what-this-book-takes-on .theme-section-actions .btn {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  padding-right: 1.35rem;
  padding-left: 1.35rem;
}

@media (max-width: 767px) {
  .index-page #what-this-book-takes-on .theme-section-actions {
    flex-wrap: wrap;
  }

  .index-page #what-this-book-takes-on .theme-section-actions .btn {
    width: 100% !important;
    justify-content: center;
  }
}


/* Book page — align cover image higher with left hero content */
.book-page .subpage-hero .col-lg-5 {
  align-self: flex-start;
  padding-top: clamp(1.25rem, 3vw, 2.4rem);
}

.book-page .subpage-hero-image {
  margin-top: 0;
}


/* Book page — align cover image with left hero title card */
.book-page .subpage-hero .col-lg-5 {
  align-self: flex-start;
  padding-top: 0;
  transform: none;
}

.book-page .subpage-hero-image {
  margin-top: 0;
}


/* Book page — retailer card title and price spacing */
.book-page .pricing-card h3 {
  text-align: center;
  font-size: clamp(1.9rem, 2.4vw, 2.55rem);
}

.book-page .pricing-card .price {
  margin-top: clamp(1.1rem, 2vw, 1.65rem);
}


/* Book page — preorder card title and price spacing corrected */
.book-page .book-preorder-card h3 {
  text-align: center;
  font-size: clamp(1.9rem, 2.4vw, 2.55rem);
}

.book-page .book-preorder-card .preorder-price {
  margin-top: clamp(0.75rem, 1.5vw, 1.2rem);
}

.book-page .book-preorder-card p {
  text-align: center;
}

.book-page .book-preorder-card .preorder-label {
  margin-right: auto;
  margin-left: auto;
}


/* Book page — tighten preorder price spacing */
.book-page .book-preorder-card .preorder-price {
  margin-top: clamp(0.45rem, 1vw, 0.8rem) !important;
}

/* References page: tighten hero so source content appears sooner */
.references-page .references-hero {
  min-height: auto;
  padding-block: clamp(1.65rem, 3.2vw, 2.85rem);
}

.references-page .references-hero .row {
  min-height: auto;
}

.references-page .references-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 4.45vw, 4.35rem);
  line-height: 0.98;
}

.references-page .references-hero .subpage-lead {
  max-width: 60ch;
  font-size: clamp(0.98rem, 0.95vw, 1.08rem);
  line-height: 1.46;
}

.references-page .references-hero-cover {
  max-height: clamp(235px, 28vw, 365px);
  width: auto;
}

@media (max-width: 991px) {
  .references-page .references-hero {
    padding-block: clamp(1.5rem, 5vw, 2.75rem);
  }

  .references-page .references-hero h1 {
    max-width: 12ch;
  }

  .references-page .references-hero-cover {
    max-height: 320px;
  }
}


/* AOS safety fallback: never let page content stay hidden if animation setup fails */
.references-page [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition-delay: 0s !important;
}

.references-page [data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
}

/* Book page hero endorsement — redesigned testimonial card */
.book-page .book-hero-quote {
  position: relative;
  max-width: 760px;
  margin: clamp(1.6rem, 2.8vw, 2.4rem) 0 0;
  padding: clamp(1.35rem, 2.3vw, 1.8rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(8, 13, 28, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.book-page .book-hero-quote::before {
  content: "“";
  position: absolute;
  top: clamp(0.45rem, 1vw, 0.7rem);
  left: clamp(0.8rem, 1.4vw, 1rem);
  font-family: Georgia, serif;
  font-size: clamp(3.2rem, 5vw, 4.5rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.book-page .book-hero-quote blockquote {
  margin: 0;
  padding: 0;
  border-left: none;
}

.book-page .book-hero-quote blockquote p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: clamp(1.4rem, 2vw, 1.8rem);
  color: rgba(255, 255, 255, 0.97);
  font-size: clamp(1.12rem, 1rem + 0.38vw, 1.38rem);
  font-weight: 700;
  line-height: 1.6;
  text-wrap: balance;
}

.book-page .book-hero-quote figcaption {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  padding-left: clamp(1.4rem, 2vw, 1.8rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.book-page .book-hero-quote .quote-author {
  color: #ffffff;
  font-size: clamp(0.98rem, 0.94rem + 0.16vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.book-page .book-hero-quote .quote-role {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.84rem, 0.82rem + 0.16vw, 0.97rem);
  line-height: 1.45;
}

@media (max-width: 767px) {
  .book-page .book-hero-quote {
    padding: 1.1rem 1rem 1.05rem;
    border-radius: 18px;
  }

  .book-page .book-hero-quote::before {
    top: 0.4rem;
    left: 0.7rem;
    font-size: 3rem;
  }

  .book-page .book-hero-quote blockquote p,
  .book-page .book-hero-quote figcaption {
    padding-left: 1rem;
  }

  .book-page .book-hero-quote blockquote p {
    font-size: 1.02rem;
    line-height: 1.56;
  }

  .book-page .book-hero-quote .quote-role {
    max-width: 100%;
    font-size: 0.83rem;
  }
}

/* Book page hero quote — harmony pass */
.book-page .book-hero-quote {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 39, 92, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow:
    0 14px 34px rgba(3, 18, 46, 0.24),
    0 0 0 1px rgba(210, 35, 42, 0.10) inset;
}

.book-page .book-hero-quote::before {
  color: rgba(255, 255, 255, 0.16);
}

.book-page .book-hero-quote blockquote p {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.08rem, 0.98rem + 0.32vw, 1.28rem);
  line-height: 1.62;
  font-weight: 700;
}

.book-page .book-hero-quote figcaption {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.book-page .book-hero-quote .quote-author {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
}

.book-page .book-hero-quote .quote-role {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .book-page .book-hero-quote {
    border-radius: 14px;
    box-shadow:
      0 10px 24px rgba(3, 18, 46, 0.2),
      0 0 0 1px rgba(210, 35, 42, 0.08) inset;
  }

  .book-page .book-hero-quote blockquote p {
    font-size: 1rem;
  }

  .book-page .book-hero-quote .quote-role {
    font-size: 0.84rem;
  }
}

/* Topic Chapter Signup - What This Book Takes On */
.topic-chapter-signup {
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 780px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    rgba(17, 28, 51, 0.72);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.topic-chapter-signup-copy h3 {
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
  font-weight: 800;
}

.topic-chapter-signup-copy p {
  max-width: 620px;
  margin: 0 auto 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1vw, 1.02rem);
  line-height: 1.6;
}

.topic-chapter-signup-form {
  margin: 0;
}

.topic-chapter-signup-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.topic-chapter-signup-fields input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  font-size: 0.98rem;
  outline: none;
}

.topic-chapter-signup-fields input::placeholder {
  color: rgba(17, 24, 39, 0.56);
}

.topic-chapter-signup-fields input:focus {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.topic-chapter-signup-fields .btn {
  min-height: 50px;
  padding-inline: clamp(1.1rem, 2vw, 1.45rem);
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .topic-chapter-signup {
    text-align: left;
  }

  .topic-chapter-signup-fields {
    grid-template-columns: 1fr;
  }

  .topic-chapter-signup-fields .btn {
    width: 100%;
  }

  .topic-chapter-signup-copy p {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Topic Chapter Signup - slimmer refinement + consent */
.topic-chapter-signup {
  max-width: 720px;
  margin-top: clamp(1.25rem, 2.2vw, 1.8rem);
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05)),
    rgba(17, 28, 51, 0.54);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.topic-chapter-signup-copy h3 {
  font-size: clamp(1.12rem, 1.5vw, 1.45rem);
  margin-bottom: 0.3rem;
}

.topic-chapter-signup-copy p {
  max-width: 560px;
  margin-bottom: 0.85rem;
  font-size: clamp(0.86rem, 0.95vw, 0.94rem);
  line-height: 1.55;
}

.topic-chapter-signup-fields {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
  gap: 0.6rem;
}

.topic-chapter-signup-fields input {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: 11px;
  font-size: 0.92rem;
}

.topic-chapter-signup-fields .btn {
  min-height: 44px;
  padding-inline: clamp(1rem, 1.6vw, 1.25rem);
  font-size: 0.9rem;
}

.topic-chapter-signup-consent {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.55rem;
  max-width: 620px;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: left;
}

.topic-chapter-signup-consent input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  accent-color: #D2232A;
}

@media (max-width: 767.98px) {
  .topic-chapter-signup-consent {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
}

.topic-chapter-signup-privacy {
  margin: 0.45rem auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: center;
}

.topic-chapter-signup-privacy a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.topic-chapter-signup-privacy a:hover,
.topic-chapter-signup-privacy a:focus {
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .topic-chapter-signup-privacy {
    text-align: left;
  }
}


/* Privacy Page */
.privacy-page .privacy-hero {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 18% 22%, rgba(210, 35, 42, 0.22), transparent 34%),
    linear-gradient(135deg, #111c33 0%, #172846 52%, #0f172a 100%);
  color: #ffffff;
}

.privacy-page .privacy-title {
  max-width: 840px;
  margin: 0 auto 1rem;
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.privacy-page .privacy-lead {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.7;
}

.privacy-page .privacy-content-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    linear-gradient(180deg, rgba(247, 241, 230, 0.96), rgba(255, 255, 255, 1));
}

.privacy-page .privacy-policy-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(17, 28, 51, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(17, 28, 51, 0.11);
}

.privacy-page .privacy-updated {
  margin: 0 0 clamp(1.25rem, 2vw, 1.8rem);
  color: rgba(17, 28, 51, 0.7);
  font-size: 0.95rem;
}

.privacy-page .privacy-policy-block {
  padding-top: clamp(1.1rem, 2vw, 1.6rem);
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
  border-top: 1px solid rgba(17, 28, 51, 0.1);
}

.privacy-page .privacy-policy-block:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.privacy-page .privacy-policy-block h2 {
  margin: 0 0 0.65rem;
  color: #111c33;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.privacy-page .privacy-policy-block p {
  margin: 0 0 0.85rem;
  color: rgba(17, 28, 51, 0.82);
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.75;
}

.privacy-page .privacy-policy-block p:last-child {
  margin-bottom: 0;
}

.privacy-page .privacy-inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  background: #d2232a;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.privacy-page .privacy-inline-link:hover,
.privacy-page .privacy-inline-link:focus {
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .privacy-page .privacy-hero {
    padding-top: 3.5rem;
  }

  .privacy-page .privacy-policy-card {
    border-radius: 18px;
  }
}

/* Book Hero - align left content with top of cover */
@media (min-width: 992px) {
  body.book-page .subpage-hero .row.align-items-center {
    align-items: flex-start !important;
  }
}

/* Book Hero - slightly larger lead copy */
body.book-page .book-hero-title-card + .subpage-lead {
  font-size: clamp(1.15rem, 1.45vw, 1.35rem);
  line-height: 1.65;
}

/* Book Hero - force larger lead copy */
body.book-page main.main .subpage-hero .book-hero-title-card + p.subpage-lead {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem) !important;
  line-height: 1.6 !important;
  max-width: 780px;
}


/* Preorder pricing — refined retail price styling */
.preorder-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 1.35rem;
  margin-bottom: 1.55rem;
  font-size: clamp(3.25rem, 4.5vw, 4.25rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.preorder-price sup {
  position: relative;
  top: 0.18em;
  margin-left: -0.18em;
  font-size: 0.28em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Book page preorder cards — scoped retail price treatment */
body.book-page #preorder .book-preorder-card .preorder-price {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;
  margin-top: 1.15rem !important;
  margin-bottom: 1.45rem !important;
  color: #061a44;
  font-size: clamp(4rem, 5.4vw, 5.15rem) !important;
  font-weight: 800 !important;
  line-height: 0.82 !important;
  letter-spacing: -0.06em !important;
}

body.book-page #preorder .book-preorder-card .preorder-price sup {
  position: relative !important;
  top: 0.12em !important;
  margin-left: -0.16em !important;
  font-size: 0.26em !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
}

/* Book page preorder cards — eBook cents optical alignment */
body.book-page #preorder .book-preorder-card:nth-child(3) .preorder-price sup {
  margin-left: 0.08em !important;
}

/* Forms: anti-spam honeypot and inline status */
.form-hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status-message {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-status-message[data-status="error"] {
  color: #ffd3c7;
}

/* FAQ: answer readability polish */
.faq .faq-list .faq-item .faq-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  border-top: 1px solid rgba(6, 26, 64, 0.08);
  padding: clamp(1.15rem, 1.7vw, 1.55rem) clamp(1.35rem, 2.4vw, 2rem);
}

.faq .faq-list .faq-item .faq-content p {
  max-width: 82ch;
  margin: 0;
  color: rgba(6, 26, 64, 0.82);
  font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.22rem);
  line-height: 1.72;
  letter-spacing: 0.002em;
}

.faq .faq-list .faq-item .faq-question-button {
  line-height: 1.25;
}

.faq .faq-list .faq-item h3 .question,
.faq .faq-list .faq-item .faq-question-button .question {
  max-width: 82ch;
}

@media (max-width: 767px) {
  .faq .faq-list .faq-item .faq-content {
    padding: 1.05rem 1.05rem 1.2rem;
  }

  .faq .faq-list .faq-item .faq-content p {
    font-size: 1.03rem;
    line-height: 1.68;
  }
}

/* FAQ: align answers under question text */
.faq .faq-list .faq-item .faq-content {
  padding-top: clamp(1.2rem, 1.8vw, 1.65rem);
  padding-right: clamp(1.35rem, 2.4vw, 2rem);
  padding-bottom: clamp(1.3rem, 2vw, 1.8rem);
  padding-left: clamp(4.35rem, 5vw, 5.15rem);
}

.faq .faq-list .faq-item .faq-content p {
  max-width: 76ch;
  font-size: clamp(1.14rem, 1.04rem + 0.38vw, 1.34rem);
  line-height: 1.75;
  color: rgba(6, 26, 64, 0.86);
}

@media (max-width: 767px) {
  .faq .faq-list .faq-item .faq-content {
    padding-left: 1.25rem;
  }

  .faq .faq-list .faq-item .faq-content p {
    font-size: 1.07rem;
    line-height: 1.68;
  }
}

/* FAQ: final high-specificity answer alignment/readability */
.faq.section-muted .faq-list .faq-item .faq-content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)) !important;
  border-top: 1px solid rgba(6, 26, 64, 0.08) !important;
  padding-top: clamp(1.35rem, 1.9vw, 1.8rem) !important;
  padding-right: clamp(1.5rem, 2.4vw, 2rem) !important;
  padding-bottom: clamp(1.45rem, 2.1vw, 1.95rem) !important;
  padding-left: clamp(4.75rem, 5.4vw, 5.5rem) !important;
}

.faq.section-muted .faq-list .faq-item .faq-content p {
  max-width: 78ch !important;
  margin: 0 !important;
  color: rgba(6, 26, 64, 0.88) !important;
  font-size: clamp(1.18rem, 1.06rem + 0.42vw, 1.38rem) !important;
  line-height: 1.72 !important;
  letter-spacing: 0.002em !important;
}

@media (max-width: 767px) {
  .faq.section-muted .faq-list .faq-item .faq-content {
    padding: 1.15rem 1.2rem 1.35rem !important;
  }

  .faq.section-muted .faq-list .faq-item .faq-content p {
    font-size: 1.08rem !important;
    line-height: 1.68 !important;
  }
}


/* ==========================================================================
   Social Icons — Substack
   ========================================================================== */

.substack-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08em;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-0.02em);
}


/* ==========================================================================
   Why Bill — Clean Responsive Layout
   Preserves original copy and image while avoiding mobile override conflicts.
   ========================================================================== */

.index-page #why-bill.why-bill-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.25rem, 6vw, 6rem);
}

.index-page #why-bill .container {
  width: min(100% - clamp(2rem, 6vw, 6rem), 1180px);
  margin-inline: auto;
  padding-inline: 0;
}



.index-page #why-bill .bill-photo-wrap {
  width: min(100%, 22rem);
  margin: 0;
}

.index-page #why-bill .bill-photo-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.index-page #why-bill .bill-photo-socials {
  margin-top: clamp(1rem, 2vw, 1.4rem);
}



.index-page #why-bill .section-heading {
  max-width: 15ch;
  margin: 0 0 clamp(1.15rem, 2.4vw, 1.85rem);
}




@media (min-width: 768px) and (max-width: 1200px) {
  .index-page #why-bill .container {
    width: min(100% - clamp(2.5rem, 6vw, 5rem), 1080px);
  }

  

  .index-page #why-bill .bill-photo-wrap {
    width: min(100%, 18rem);
  }

  

  

  

  
}

@media (max-width: 767px) {
  .index-page #why-bill.why-bill-section {
    padding-block: clamp(3rem, 8vw, 4.5rem);
  }

  .index-page #why-bill .container {
    width: min(100% - clamp(2.35rem, 8vw, 3rem), 100%);
  }

  

  

  

  .index-page #why-bill .bill-photo-wrap {
    width: min(100%, 17.5rem);
  }

  .index-page #why-bill .section-heading {
    max-width: 13ch;
    font-size: clamp(2rem, 8.4vw, 2.85rem);
    line-height: 1.04;
  }

  

  

  
}

@media (max-width: 390px) {
  .index-page #why-bill .container {
    width: min(100% - 2.25rem, 100%);
  }

  .index-page #why-bill .section-heading {
    font-size: clamp(1.9rem, 8.2vw, 2.5rem);
  }
}

/* References page: make source-title links read like normal hyperlinks */
.references-page .reference-entry p a,
.references-page .reference-entry p a cite {
  color: #0b5ed7;
  font-weight: 400;
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.references-page .reference-entry p a:hover,
.references-page .reference-entry p a:hover cite {
  color: #084298;
  text-decoration: underline;
}


/* References page: collapsible chapter source lists */
.references-page .references-source-toggle {
  margin-top: 1.25rem;
}

.references-page .references-source-toggle summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-color), #ffffff 86%);
  color: var(--heading-color);
  cursor: pointer;
  list-style: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.references-page .references-source-toggle summary::-webkit-details-marker {
  display: none;
}

.references-page .references-source-toggle summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-weight: 800;
  line-height: 1;
}

.references-page .references-source-toggle[open] summary::after {
  content: "–";
}

.references-page .references-source-toggle summary:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 58%);
  background: #ffffff;
  transform: translateY(-1px);
}

.references-page .references-source-toggle__label {
  font-family: var(--heading-font);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  font-weight: 800;
}

.references-page .references-source-toggle__count {
  margin-left: auto;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.references-page .references-source-toggle__content {
  padding-top: 1rem;
}

.references-page .references-source-toggle__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 45%);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: var(--surface-color);
  color: var(--accent-color);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.references-page .references-source-toggle__close:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .references-page .references-source-toggle summary {
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    padding-right: 3.2rem;
  }

  .references-page .references-source-toggle summary::after {
    position: absolute;
    top: 0.78rem;
    right: 0.85rem;
  }

  .references-page .references-source-toggle__count {
    margin-left: 0;
  }

  .references-page .references-source-toggle__close {
    width: 100%;
  }
}


/* References page: force accordion content to stay collapsed until opened */
.references-page .references-source-toggle:not([open]) > .references-source-toggle__content {
  display: none !important;
}

.references-page .references-source-toggle[open] > .references-source-toggle__content {
  display: block;
}

.references-page .references-source-toggle > summary {
  display: flex !important;
}


/* References page: balance hero subhead with oversized heading */
.references-page .references-hero .subpage-lead {
  max-width: 780px;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.45;
}


/* References page: narrow hero subhead for better line length */
.references-page .references-hero .subpage-lead {
  max-width: 620px;
}

@media (max-width: 768px) {
  .references-page .references-hero .subpage-lead {
    max-width: 100%;
  }
}


/* References page: keep source links wrapping naturally */
.references-page .reference-entry p {
  text-indent: 0;
  padding-left: 0;
}

.references-page .reference-entry p a,
.references-page .reference-entry p a cite {
  display: inline;
  margin-left: 0;
  padding-left: 0;
  text-indent: 0;
}


/* References page: remove ordered-list hanging indentation */
.references-page .reference-list {
  margin-left: 0;
  padding-left: 0;
  list-style-position: inside;
}

.references-page .reference-list .reference-entry {
  margin-left: 0;
  padding-left: clamp(1rem, 2vw, 1.35rem);
}

.references-page .reference-list .reference-entry::marker {
  font-size: 0;
}

.references-page .reference-entry p {
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
}

.references-page .reference-entry p a,
.references-page .reference-entry p cite,
.references-page .reference-entry p a cite {
  display: inline !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
}


/* Book page: rebalance excerpt pages after removing inserted mini-headlines */
.book-page .book-page-head + p {
  margin-top: 1.6rem;
}

.book-sample-reader-section .book-page {
  min-height: clamp(520px, 58vw, 680px);
  padding-block: clamp(2.2rem, 4vw, 3.4rem);
}

.book-sample-reader-section .book-page p {
  font-size: clamp(1rem, 1.08vw, 1.13rem);
  line-height: 1.72;
}

.book-sample-reader-section .book-page blockquote p {
  font-size: clamp(0.95rem, 1vw, 1.06rem);
  line-height: 1.62;
}

@media (max-width: 991px) {
  .book-sample-reader-section .book-page {
    min-height: auto;
  }
}


/* Homepage topics section: testimonial quote box */
#what-this-book-takes-on .topics-testimonial {
  position: relative;
  margin: 1.65rem 0 0;
}

#what-this-book-takes-on .topics-testimonial blockquote {
  position: relative;
  margin: 0;
  padding: clamp(1.35rem, 2.2vw, 1.75rem);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-color), #ffffff 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 62%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

#what-this-book-takes-on .topics-testimonial blockquote::before,
#what-this-book-takes-on .topics-testimonial blockquote::after {
  position: absolute;
  color: color-mix(in srgb, var(--accent-color), transparent 42%);
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

#what-this-book-takes-on .topics-testimonial blockquote::before {
  content: "“";
  top: -0.2rem;
  left: 0.75rem;
  font-size: 3.6rem;
}

#what-this-book-takes-on .topics-testimonial blockquote::after {
  content: "”";
  right: 0.9rem;
  bottom: -1.3rem;
  font-size: 3.2rem;
}

#what-this-book-takes-on .topics-testimonial blockquote p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--heading-color);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.58;
  font-weight: 600;
}

#what-this-book-takes-on .topics-testimonial .testimonial-tail {
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 1.8rem;
  margin-top: -0.55rem;
  background: color-mix(in srgb, var(--surface-color), #ffffff 88%);
  border-right: 1px solid color-mix(in srgb, var(--accent-color), transparent 62%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 62%);
  transform: rotate(45deg);
}

#what-this-book-takes-on .topics-testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  margin-top: 0.45rem;
  padding-left: 0.35rem;
}

#what-this-book-takes-on .topics-testimonial .quote-author {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
}

#what-this-book-takes-on .topics-testimonial .quote-role {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 991px) {
  #what-this-book-takes-on .topics-testimonial {
    margin-top: 1.25rem;
  }
}


/* Homepage topics section: dark themed testimonial quote box */
#what-this-book-takes-on .topics-testimonial blockquote {
  background: rgba(16, 34, 64, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#what-this-book-takes-on .topics-testimonial blockquote p {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 650;
}

#what-this-book-takes-on .topics-testimonial blockquote::before,
#what-this-book-takes-on .topics-testimonial blockquote::after {
  color: rgba(226, 38, 54, 0.78);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

#what-this-book-takes-on .topics-testimonial .testimonial-tail {
  background: rgba(16, 34, 64, 0.78);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#what-this-book-takes-on .topics-testimonial .quote-author {
  color: #ffffff;
}

#what-this-book-takes-on .topics-testimonial .quote-role {
  color: rgba(255, 255, 255, 0.82);
}


/* ==========================================================================
   Why Bill Section — Current Layout Source of Truth
   Matches the active Bootstrap-based homepage markup.
   Keep this block as the final desktop/tablet source for #why-bill.
   Mobile-specific refinements remain in assets/css/mobile.css.
   ========================================================================== */

.index-page #why-bill.why-bill-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244, 234, 216, 0.9) 0%, rgba(244, 234, 216, 0.76) 38%, rgba(239, 225, 199, 0.94) 100%),
    radial-gradient(circle at 12% 14%, rgba(232, 85, 61, 0.13), transparent 28%),
    url("../img/illustration/about-background.webp"),
    linear-gradient(135deg, #f4ead8 0%, #efe1c7 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: center center, left top, left center, center center;
  background-size: cover, auto, cover, cover;
}

.index-page #why-bill > .container {
  position: relative;
  z-index: 1;
}

.index-page #why-bill .bill-photo-wrap {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(6, 26, 64, 0.18);
}

.index-page #why-bill .bill-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: inherit;
}

.index-page #why-bill .bill-photo {
  width: 100%;
  display: block;
  border-radius: inherit;
}

.index-page #why-bill .bill-photo-socials {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.index-page #why-bill .bill-photo-socials a {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent-color);
  box-shadow: 0 12px 26px rgba(232, 85, 61, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.index-page #why-bill .bill-photo-socials a:hover,
.index-page #why-bill .bill-photo-socials a:focus {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent-color), #061A40 14%);
  box-shadow: 0 16px 34px rgba(232, 85, 61, 0.3);
}

.index-page #why-bill .bill-photo-socials .substack-icon {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}

.index-page #why-bill .why-bill-content,
.index-page #why-bill .why-bill-normalized-copy {
  max-width: 680px;
}

.index-page #why-bill .credibility-kicker,
.index-page #why-bill .section-kicker {
  color: var(--accent-color);
}

.index-page #why-bill .section-heading {
  color: var(--heading-color);
  max-width: 14ch;
  margin-bottom: 1.35rem;
}

.index-page #why-bill .lead {
  max-width: 58ch;
  color: color-mix(in srgb, var(--default-color), #061A40 12%);
}

.index-page #why-bill .why-bill-content p:not(.lead) {
  max-width: 62ch;
  color: color-mix(in srgb, var(--default-color), #061A40 18%);
}

.index-page #why-bill .why-bill-content p:not(.lead):last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .index-page #why-bill .bill-photo-wrap {
    margin-left: 0;
  }

  .index-page #why-bill .bill-photo-socials {
    justify-content: flex-start;
    max-width: 430px;
  }
}


/* Why Bill Section — desktop-only photo scale adjustment */
@media (min-width: 992px) {
  .index-page #why-bill .bill-photo-wrap {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .index-page #why-bill .bill-photo-socials {
    justify-content: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Why Bill Section — desktop-only larger author photo refinement */
@media (min-width: 992px) {
  .index-page #why-bill .row > .col-lg-5 {
    flex: 0 0 46%;
    max-width: 46%;
  }

  .index-page #why-bill .row > .col-lg-7 {
    flex: 0 0 54%;
    max-width: 54%;
  }

  .index-page #why-bill .bill-photo-wrap {
    width: min(100%, 590px);
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
  }

  .index-page #why-bill .bill-photo-socials {
    width: min(100%, 590px);
    max-width: 590px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Why Bill Section — desktop-only larger social icons */
@media (min-width: 992px) {
  .index-page #why-bill .bill-photo-socials {
    gap: 0.75rem;
  }

  .index-page #why-bill .bill-photo-socials a {
    width: 2.85rem;
    height: 2.85rem;
    font-size: 1.18rem;
  }

  .index-page #why-bill .bill-photo-socials .substack-icon {
    font-size: 1.08rem;
  }
}


/* ==========================================================================
   Homepage Section H2 Unification
   Aligns major homepage section titles with the stronger Why Bill heading style.
   Does not target hero headings, cards, sliders cards, nav, or footer headings.
   ========================================================================== */

.index-page #what-this-book-takes-on .services-title,
.index-page #why-bill .section-heading,
.index-page .conversation-slider-header h2,
.index-page #watch-listen-read .section-title h2,
.index-page #praise .section-title h2,
.index-page #faq .section-title h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.index-page .conversation-slider-header h2,
.index-page #watch-listen-read .section-title h2,
.index-page #praise .section-title h2,
.index-page #faq .section-title h2 {
  font-size: clamp(2.35rem, 3.25vw, 3.55rem);
}

.index-page #what-this-book-takes-on .services-title {
  font-size: clamp(2.15rem, 3vw, 3.35rem);
}

.index-page .conversation-slider-header h2 {
  max-width: 13ch;
}


/* Stay Connected — keep main heading on one line where space allows */
.index-page .conversation-slider-header h2 {
  max-width: 18ch;
}

@media (min-width: 768px) {
  .index-page .conversation-slider-header h2 {
    white-space: nowrap;
    max-width: none;
  }
}


/* Watch / Listen / Read — keep section heading on one line where space allows */
@media (min-width: 992px) {
  .index-page #watch-listen-read .section-title {
    max-width: 1100px;
  }

  .index-page #watch-listen-read .section-title h2 {
    white-space: nowrap;
    max-width: none;
  }
}


/* Praise Section — widen section title wrap where space allows */
@media (min-width: 992px) {
  .index-page #praise .section-title {
    max-width: 1100px;
  }

  .index-page #praise .section-title h2 {
    max-width: none;
  }
}


/* Praise Section — Swiper slider */
#praise .praise-swiper {
  overflow: hidden;
  padding: 0 2px 2px;
}

#praise .praise-swiper .swiper-wrapper {
  align-items: stretch;
}

#praise .praise-swiper .swiper-slide {
  height: auto;
  display: flex;
}

#praise .praise-swiper .praise-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#praise .praise-swiper .praise-quote {
  flex: 1 1 auto;
  display: flex;
  margin-bottom: 0;
}

#praise .praise-swiper .praise-quote p {
  margin-bottom: 0;
}

#praise .praise-swiper .praise-attribution {
  margin-top: 2rem;
}

#praise .praise-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 36px);
}

#praise .praise-slider-prev,
#praise .praise-slider-next {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(254, 254, 254, 0.28);
  border-radius: 999px;
  background: rgba(254, 254, 254, 0.08);
  color: var(--cover-white);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#praise .praise-slider-prev:hover,
#praise .praise-slider-prev:focus,
#praise .praise-slider-next:hover,
#praise .praise-slider-next:focus {
  border-color: var(--cover-red);
  background: var(--cover-red);
  color: var(--cover-white);
}

#praise .praise-slider-prev:focus-visible,
#praise .praise-slider-next:focus-visible {
  outline: 2px solid var(--cover-white);
  outline-offset: 3px;
}

#praise .praise-slider-pagination {
  position: static;
  width: auto;
  min-width: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#praise .praise-slider-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0;
  background: rgba(254, 254, 254, 0.48);
  opacity: 1;
}

#praise .praise-slider-pagination .swiper-pagination-bullet-active {
  background: var(--cover-red);
}


/* Intro Video Section */
#intro-video.intro-video-section {
  --background-color: color-mix(in srgb, var(--blue-prussian), var(--cover-blue) 28%);
  --default-color: var(--cover-white);
  --heading-color: var(--cover-white);
  --contrast-color: var(--cover-white);
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 104px) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(185, 214, 242, 0.14), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--blue-prussian), #000 4%) 0%, color-mix(in srgb, var(--blue-deep-space), var(--cover-blue) 32%) 100%);
}

#intro-video.intro-video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(254, 254, 254, 0.04), rgba(254, 254, 254, 0));
}

#intro-video .container {
  position: relative;
  z-index: 1;
}

#intro-video .intro-video-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

#intro-video .intro-video-copy {
  max-width: 520px;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

#intro-video.is-playing .intro-video-copy {
  opacity: 0.18;
  transform: translateY(10px);
  filter: blur(1px);
}

#intro-video .section-kicker {
  display: inline-flex;
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(185, 214, 242, 0.36);
  color: var(--blue-pale-sky);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

#intro-video h2 {
  margin: 0 0 1.15rem;
  color: var(--cover-white);
  font-size: clamp(2.25rem, 4vw, 4.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

#intro-video .intro-video-copy p:not(.section-kicker) {
  margin: 0;
  color: rgba(254, 254, 254, 0.82);
  font-size: clamp(1.05rem, 1rem + 0.28vw, 1.24rem);
  line-height: 1.62;
}

#intro-video .intro-video-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border: 1px solid rgba(254, 254, 254, 0.2);
  border-radius: 8px;
  background: var(--blue-prussian);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

#intro-video .intro-video-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--blue-prussian);
}

#intro-video .intro-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 26, 64, 0.48), rgba(6, 26, 64, 0.08) 52%, rgba(6, 26, 64, 0.3)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32));
  opacity: 1;
  transition: opacity 0.3s ease;
}

#intro-video.is-playing .intro-video-overlay {
  opacity: 0.12;
}

#intro-video .intro-video-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(254, 254, 254, 0.5);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cover-red), transparent 8%);
  color: var(--cover-white);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.25s ease;
}

#intro-video .intro-video-toggle:hover,
#intro-video .intro-video-toggle:focus {
  border-color: var(--cover-white);
  background: var(--red-deep);
  transform: translate(-50%, -50%) scale(1.04);
}

#intro-video .intro-video-toggle:focus-visible {
  outline: 2px solid var(--cover-white);
  outline-offset: 4px;
}

#intro-video .intro-video-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  line-height: 1;
}

#intro-video .intro-video-toggle-pause {
  display: none;
}

#intro-video.is-playing .intro-video-toggle {
  left: auto;
  top: auto;
  right: clamp(18px, 3vw, 28px);
  bottom: clamp(18px, 3vw, 28px);
  width: 54px;
  height: 54px;
  opacity: 0.86;
  transform: none;
}

#intro-video.is-playing .intro-video-toggle:hover,
#intro-video.is-playing .intro-video-toggle:focus {
  transform: scale(1.04);
  opacity: 1;
}

#intro-video.is-playing .intro-video-toggle-play {
  display: none;
}

#intro-video.is-playing .intro-video-toggle-pause {
  display: inline-flex;
}

#intro-video.is-playing .intro-video-toggle-icon {
  font-size: 1.9rem;
}

@media (max-width: 991px) {
  #intro-video .intro-video-panel {
    grid-template-columns: 1fr;
  }

  #intro-video .intro-video-copy {
    max-width: 700px;
  }

  #intro-video.is-playing .intro-video-copy {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-8px);
  }
}

@media (max-width: 767px) {
  #intro-video.intro-video-section {
    padding: clamp(52px, 12vw, 76px) 0;
  }

  #intro-video .intro-video-panel {
    gap: 24px;
  }

  #intro-video .intro-video-media {
    aspect-ratio: 9 / 16;
    min-height: auto;
    max-height: min(78vh, 720px);
  }

  #intro-video h2 {
    font-size: clamp(2.2rem, 10vw, 3.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  #intro-video .intro-video-copy,
  #intro-video .intro-video-overlay,
  #intro-video .intro-video-toggle {
    transition: none;
  }
}

/* What This Book Takes On — match signup box width to topic grid */
.index-page #what-this-book-takes-on .topic-chapter-signup {
  width: 100%;
  max-width: none;
  margin-left: 30px;
  margin-right: 0;
}

@media (max-width: 991.98px) {
  .index-page #what-this-book-takes-on .topic-chapter-signup {
    margin-left: 0;
  }
}


/* What This Book Takes On — refine signup width after grid alignment */
.index-page #what-this-book-takes-on .topic-chapter-signup {
  width: calc(100% - 30px);
  max-width: none;
  margin-left: 30px;
  margin-right: 0;
}

@media (max-width: 991.98px) {
  .index-page #what-this-book-takes-on .topic-chapter-signup {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Intro Video — mobile media should be centered and nearly full width */
@media (max-width: 767px) {
  #intro-video .container {
    width: 100%;
    max-width: none;
    padding-left: clamp(0.35rem, 2vw, 0.65rem);
    padding-right: clamp(0.35rem, 2vw, 0.65rem);
  }

  #intro-video .intro-video-panel {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  #intro-video .intro-video-media {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  #intro-video .intro-video-player {
    width: 100%;
  }
}


/* =========================================================
   FOOTER — AmicusAe site credit band
========================================================= */

#footer .footer-credit-band {
  width: 100%;
  margin-top: 1.75rem;
  padding: clamp(1.2rem, 2.2vw, 1.7rem) 1rem clamp(1.35rem, 2.4vw, 1.9rem);
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.025)
    );
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

#footer .footer-credit-inner {
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
}

#footer .site-design-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
}

#footer .site-design-label,
#footer .site-design-name {
  font-family: "Gloock", var(--heading-font, serif);
  letter-spacing: 0.015em;
}

#footer .site-design-label {
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.66);
}

#footer .site-design-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#footer .site-design-logo {
  display: block;
  width: clamp(42px, 5vw, 58px);
  height: auto;
  opacity: 0.94;
  filter:
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34))
    drop-shadow(0 2px 5px rgba(0, 0, 0, 0.22))
    drop-shadow(0 0 8px rgba(222, 186, 126, 0.14));
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

#footer .site-design-logo-link:hover .site-design-logo,
#footer .site-design-logo-link:focus-visible .site-design-logo {
  opacity: 1;
  transform: translateY(-1px);
  filter:
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38))
    drop-shadow(0 3px 6px rgba(0, 0, 0, 0.24))
    drop-shadow(0 0 12px rgba(222, 186, 126, 0.2));
}

#footer .site-design-name {
  font-size: clamp(0.82rem, 1.05vw, 0.95rem);
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

#footer .site-design-name:hover,
#footer .site-design-name:focus-visible,
#footer .site-design-logo-link:hover + .site-design-name,
#footer .site-design-logo-link:focus-visible + .site-design-name {
  color: rgba(255, 255, 255, 0.94);
}

@media (prefers-reduced-motion: no-preference) {
  #footer .site-design-logo {
    animation: footerLogoBreathe 5.4s ease-in-out infinite;
    transform-origin: center;
  }

  @keyframes footerLogoBreathe {
    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.025);
    }
  }
}

@media (max-width: 575px) {
  #footer .footer-credit-band {
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    padding-bottom: 1.45rem;
  }

  #footer .site-design-credit {
    gap: 0.36rem;
  }
}


/* Footer credit — smaller, quieter presentation */
#footer .site-design-label {
  font-size: clamp(0.62rem, 0.8vw, 0.72rem);
}

#footer .site-design-logo {
  width: clamp(30px, 3.5vw, 42px);
}

#footer .site-design-name {
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
}

#footer .site-design-credit {
  gap: 0.32rem;
}

#footer .footer-credit-band {
  padding-top: clamp(0.95rem, 1.6vw, 1.25rem);
  padding-bottom: clamp(1rem, 1.7vw, 1.35rem);
}


/* Footer credit — logo first and extra-small text */
#footer .site-design-credit {
  gap: 0.22rem;
}

#footer .site-design-label {
  font-size: clamp(0.38rem, 0.48vw, 0.46rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

#footer .site-design-name {
  font-size: clamp(0.42rem, 0.52vw, 0.5rem);
  line-height: 1.05;
}

#footer .site-design-logo {
  width: clamp(28px, 3.2vw, 38px);
}

#footer .footer-credit-band {
  padding-top: clamp(0.75rem, 1.25vw, 1rem);
  padding-bottom: clamp(0.8rem, 1.35vw, 1.05rem);
}


/* Footer credit — keep small logo crisp */
#footer .site-design-logo {
  animation: none !important;
  transform: none !important;
  backface-visibility: hidden;
}

#footer .site-design-logo-link:hover .site-design-logo,
#footer .site-design-logo-link:focus-visible .site-design-logo {
  transform: none !important;
}

