/* ==========================================
   My Missing Years - Main Stylesheet
   ========================================== */

:root {
  --gold: #f0b73c;
  --gold-dark: #dca22a;
  --dark: #111111;
  --text: #2b2b2b;
  --white: #ffffff;
  --font-serif: "Crimson Pro", Georgia, serif;
  --font-sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
}

img {
  max-width: 100%;
}

/* ---------- Header / Hero wrapper ---------- */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0, rgba(0, 0, 0, 0.3) 90px, rgba(0, 0, 0, 0) 190px),
    url("../img/hero-shadow-dark.png") left top / cover no-repeat,
    var(--header-bg-image, none) center / cover no-repeat;
  overflow: hidden;
}

/* ---------- Navigation ---------- */
.main-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  z-index: 100;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.main-nav.scrolled {
  position: fixed;
  padding: 14px 0;
  background-color: rgba(40, 26, 14, 0.92);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.main-nav .navbar-brand {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.2px;
}

.main-nav .navbar-brand:hover {
  color: var(--gold);
}

.main-nav .nav-link {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--white);
  padding: 8px 18px !important;
  transition: color 0.25s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--gold);
}

.btn-amazon {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--dark);
  background-color: var(--gold);
  border: none;
  border-radius: 50px;
  padding: 12px 29px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-amazon:hover,
.btn-amazon:focus {
  color: var(--dark);
  background-color: var(--gold-dark);
  transform: translateY(-2px);
}

/* Custom hamburger toggler */
.navbar-toggler {
  border: none;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-bar {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.hero-card {
  position: relative;
  max-width: 552px;
  background-color: var(--white);
  padding: 38px 46px 76px 54px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 76px;
  font-weight: 400;
  line-height: 1.04;
  color: var(--dark);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--gold);
}

.hero-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 44px;
}

.hero-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--dark);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 3px solid var(--gold);
  transition: color 0.25s ease;
}

.hero-link:hover {
  color: var(--gold-dark);
}

.hero-leaf {
  position: absolute;
  right: -66px;
  bottom: 12px;
  width: 125px;
  pointer-events: none;
  animation: leafSway 6s ease-in-out infinite;
  transform-origin: 20% 10%;
}

@keyframes leafSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-6deg); }
}

.hero-book {
  text-align: center;
}

.hero-book img {
  width: 590px;
  filter: drop-shadow(-6px 14px 18px rgba(0, 0, 0, 0.35));
}

/* third book: only its bottom-left corner shows at the right edge */
.hero-corner-book {
  position: absolute;
  /*top: 130px;*/
  top: 200px;
  right: -358px;
  width: 460px;
  transform: rotate(32deg);
  filter: drop-shadow(-8px 14px 16px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  z-index: 0;
}

.hero-section {
  position: relative;
  z-index: 1;
}

@media (max-width: 1199.98px) {
  .hero-corner-book {
    display: none;
  }
}

/* ---------- Journey ---------- */
.journey-section {
  position: relative;
  background-color: #fafafa;
  padding: 30px 0 0;
  overflow: hidden;
}

.journey-quote blockquote {
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 18px;
  margin-top: 100px;
}

.quote-author {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0;
}

.journey-row {
  padding: 40px 0 115px;
}

.journey-book {
  text-align: center;
  padding-right: 60px;
}

.journey-book img {
  width: 395px;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.12));
}

.journey-content {
  max-width: 600px;
}

.section-subtitle {
  display: block;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.22;
  color: var(--dark);
  margin-bottom: 30px;
}

.section-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 50px;
}

.journey-divider {
  margin: 0;
  border-color: #d5d5d5;
  opacity: 1;
}

.journey-branch {
  position: absolute;
  right: 0;
  top: 62%;
  width: 400px;
  pointer-events: none;
}

/* ==========================================
   Responsive
   ========================================== */

/* Large laptops */
@media (max-width: 1399.98px) {
  .hero-title {
    font-size: 68px;
  }
}

/* Laptops */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 58px;
  }

  .hero-card {
    padding: 36px 40px 66px;
  }

  .hero-book img {
    width: 480px;
  }
}

/* Tablet (navbar collapses) */
@media (max-width: 991.98px) {
  .main-nav {
    padding: 20px 0;
  }

  .main-nav .navbar-collapse {
    margin-top: 16px;
    padding: 12px 20px 22px;
    background-color: rgba(40, 26, 14, 0.95);
    border-radius: 10px;
  }

  .main-nav .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav .nav-item:last-child {
    margin-top: 18px;
  }

  .hero-section {
    padding: 130px 0 70px;
  }

  .hero-card {
    max-width: 620px;
    margin: 0 auto;
  }

  .hero-leaf {
    right: -40px;
    width: 105px;
  }

  .hero-book img {
    width: 440px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .main-nav .navbar-brand {
    font-size: 24px;
  }

  .hero-section {
    padding: 110px 0 50px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-text {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-card {
    padding: 30px 28px 56px;
  }

  .hero-leaf {
    right: -14px;
    bottom: -22px;
    width: 85px;
  }

  .hero-book img {
    width: 340px;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  .main-nav .navbar-brand {
    font-size: 22px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-card {
    padding: 26px 22px 50px;
  }

  .hero-link {
    font-size: 18px;
  }

  .hero-book img {
    width: 280px;
  }
}

/* ---------- Journey responsive ---------- */
@media (max-width: 1599.98px) {
  .journey-branch {
    width: 300px;
    top: 60%;
  }
}

@media (max-width: 1399.98px) {
  .journey-quote blockquote {
    font-size: 42px;
  }

  .section-title {
    font-size: 50px;
  }

  .journey-branch {
    width: 240px;
    top: auto;
    bottom: 40px;
  }
}

@media (max-width: 1199.98px) {
  .journey-book {
    padding-right: 20px;
  }

  .journey-book img {
    width: 340px;
  }

  .section-title {
    font-size: 44px;
  }
}

/* Tablet: book stacks above the text */
@media (max-width: 991.98px) {
  .journey-section {
    padding-top: 60px;
  }

  .journey-quote blockquote {
    font-size: 36px;
  }

  .journey-row {
    padding: 40px 0 90px;
  }

  .journey-book {
    padding-right: 0;
  }

  .journey-content {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .section-text {
    margin-bottom: 36px;
  }

  .journey-branch {
    width: 200px;
    bottom: 20px;
    opacity: 0.85;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .journey-section {
    padding-top: 50px;
  }

  .journey-quote blockquote {
    font-size: 28px;
  }

  .quote-author,
  .section-subtitle {
    font-size: 14px;
  }

  .journey-row {
    padding: 30px 0 110px;
  }

  .journey-book img {
    width: 280px;
  }

  .section-title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .section-text {
    font-size: 16px;
  }

  .journey-branch {
    width: 160px;
    bottom: 12px;
  }
}

@media (max-width: 575.98px) {
  .journey-quote blockquote {
    font-size: 24px;
  }

  .section-title {
    font-size: 32px;
  }

  .journey-book img {
    width: 230px;
  }
}

/* ---------- Best Sellers ---------- */
.best-sellers-section {
  background-color: #fafafa;
  padding: 50px 0 90px;
}

.best-sellers-head {
  margin-bottom: 40px;
}

.best-sellers-head .section-title {
  margin-bottom: 14px;
}

.best-sellers-tagline {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 0;
}

.best-sellers-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark);
  margin: 0;
  padding-left: 30px;
}

.best-seller-card {
  background-color: #FFE5B9;
  padding: 0 120px;
  margin-top: 60px;
}

.best-seller-content {
  padding: 60px 0;
}

.best-seller-title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 24px;
}

.best-seller-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark);
  max-width: 520px;
  margin-bottom: 30px;
}

.best-seller-price {
  font-size: 17px;
  margin-bottom: 18px;
}

.price-new {
  color: var(--dark);
  margin-right: 12px;
}

.price-old {
  color: #9a8f7c;
}

.best-seller-cart {
  margin-bottom: 20px;
}

.best-seller-btn {
  padding: 12px 32px;
}

/* book sits fully inside the card, with room below for its shadow */
.best-seller-book {
  text-align: center;
  margin: 0 0 25px;
}

.best-seller-book img {
  width: 358px;
  filter: drop-shadow(-12px 28px 22px rgba(0, 0, 0, 0.22));
}

/* ---------- Best Sellers responsive ---------- */
@media (max-width: 1399.98px) {
  .best-seller-card {
    padding: 0 80px;
  }

  .best-seller-title {
    font-size: 50px;
  }
}

@media (max-width: 1199.98px) {
  .best-seller-card {
    padding: 0 50px;
  }

  .best-seller-title {
    font-size: 44px;
  }

  .best-seller-book img {
    width: 300px;
  }
}

/* Tablet: book on top, details below, centered */
@media (max-width: 991.98px) {
  .best-sellers-section {
    padding: 50px 0 70px;
  }

  .best-sellers-head {
    text-align: center;
  }

  .best-sellers-intro {
    padding-left: 0;
    max-width: 620px;
    margin: 0 auto;
  }

  .best-seller-card {
    padding: 50px 40px 10px;
  }

  .best-seller-book {
    margin: 0;
  }

  .best-seller-content {
    text-align: center;
    padding: 10px 0 50px;
  }

  .best-seller-text {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .best-sellers-tagline,
  .best-sellers-intro,
  .best-seller-text,
  .best-seller-price {
    font-size: 16px;
  }

  .best-seller-card {
    padding: 40px 24px 0;
  }

  .best-seller-title {
    font-size: 36px;
    margin-bottom: 18px;
  }

  .best-seller-book img {
    width: 250px;
  }

  .best-seller-content {
    padding-bottom: 40px;
  }
}

@media (max-width: 575.98px) {
  .best-seller-card {
    padding: 34px 18px 0;
  }

  .best-seller-title {
    font-size: 32px;
  }

  .best-seller-book img {
    width: 210px;
  }
}

/* ---------- Featured Book ---------- */
.featured-book-section {
  position: relative;
  padding: 20px 0 0;
  overflow: hidden;
  /* soft light shadows in the lower right, like in the design */
  /*background:
    radial-gradient(ellipse 45% 55% at 92% 85%, rgba(0, 0, 0, 0.035), transparent 70%),
    #fafafa;*/
    background:#fafafa;
}

.featured-row {
  padding-bottom: 110px;
}

.featured-book {
  text-align: center;
}

.featured-book-img {
  position: relative;
  display: inline-block;
  max-width: 460px;
}

.featured-cover {
  position: relative;
  z-index: 1;
  width: 460px;
  max-width: 100%;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
}

/* leaves peek out from behind the right edge of the cover */
.featured-palm {
  position: absolute;
  z-index: 0;
  top: 33%;
  left: 98%;
  width: 41%;
  pointer-events: none;
}

.featured-price {
  font-size: 22px;
  margin-top: 22px;
}

.featured-price .price-new {
  margin-right: 36px;
}

.featured-price .price-old {
  color: #b5b5b5;
}

.featured-content {
  max-width: 560px;
}

.featured-content .section-title {
  margin-bottom: 34px;
}

.featured-heading {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 18px;
}

.featured-content .section-text {
  margin-bottom: 52px;
}

.featured-divider {
  width: 80%;
  margin: 0 auto;
  border-color: #d5d5d5;
  opacity: 1;
}

.featured-leaf-blur {
  position: absolute;
  top: 10px;
  right: 0;
  width: 95px;
  pointer-events: none;
}

/* ---------- Featured Book responsive ---------- */
@media (max-width: 1199.98px) {
  .featured-cover {
    width: 400px;
  }
}

/* Tablet: cover on top, text below, centered */
@media (max-width: 991.98px) {
  .featured-book-section {
    padding-top: 40px;
  }

  .featured-row {
    padding-bottom: 80px;
  }

  .featured-cover {
    width: 360px;
  }

  .featured-content {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .featured-content .section-text {
    margin-bottom: 36px;
  }

  .featured-divider {
    width: 100%;
  }

  .featured-leaf-blur {
    width: 70px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .featured-cover {
    width: 290px;
  }

  .featured-palm {
    left: 96%;
    width: 36%;
  }

  .featured-price {
    font-size: 19px;
  }

  .featured-heading {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .featured-content .section-text {
    margin-bottom: 30px;
  }

  .featured-leaf-blur {
    width: 55px;
  }
}

@media (max-width: 575.98px) {
  .featured-cover {
    width: 240px;
  }
}

/* ---------- Free Shipping ---------- */
.free-shipping-section {
  position: relative;
  background-color: #fafafa;
  padding: 0 0 50px;
}

/* faint leaf shadow from the right (shared with .categories-section) */
.free-shipping-section::before,
.categories-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: url("../img/leaf-shadow.png") left center / cover no-repeat;
  transform: scaleX(-1);
  opacity: 0.08;
  pointer-events: none;
}

/* starts 200px up inside the previous section and fades in, so there is no top edge;
   its bottom fades out while the categories layer fades in */
.free-shipping-section::before {
  top: -200px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 200px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 200px, #000 calc(100% - 120px), transparent 100%);
}

.categories-section::before {
  top: -120px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
}

.free-shipping-section > .container,
.categories-section > .container {
  position: relative;
  z-index: 1;
}

/* top line comes from the featured-book divider; this adds the bottom one */
.free-shipping-inner {
  width: 80%;
  margin: 0 auto;
  padding: 46px 0 44px;
  border-bottom: 1px solid #d5d5d5;
}

.shipping-item {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

.shipping-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
}

.shipping-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--dark);
  margin: 0;
}

/* ---------- Free Shipping responsive ---------- */
@media (max-width: 1199.98px) {
  .shipping-title {
    font-size: 16px;
  }

  .shipping-text {
    font-size: 16px;
  }
}

/* Tablet: three columns stay side by side, full width */
@media (max-width: 991.98px) {
  .free-shipping-inner {
    width: 100%;
    padding: 40px 0;
  }

  .shipping-title {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .shipping-text {
    font-size: 15px;
  }
}

/* Mobile: items stack with thin separators */
@media (max-width: 767.98px) {
  .free-shipping-inner {
    padding: 34px 0;
  }

  .free-shipping-inner .col-md-4 + .col-md-4 .shipping-item {
    padding-top: 24px;
    border-top: 1px solid #e4e4e4;
  }

  .shipping-title {
    font-size: 16px;
  }

  .shipping-text {
    font-size: 16px;
  }
}

/* ---------- Categories ---------- */
.categories-section {
  position: relative;
  background-color: #fafafa;
  padding: 35px 0 100px;
}

.category-card {
  position: relative;
  display: block;
  max-width: 845px;
  text-decoration: none;
}

.category-card img {
  display: block;
  width: 100%;
  transition: filter 0.3s ease;
}

.category-card:hover img {
  filter: brightness(1.12);
}

/* label overhangs the photo's bottom-left corner (and hides the corner of the crop) */
.category-label {
  position: absolute;
  left: -6px;
  bottom: -13px;
  min-width: 231px;
  min-height: 110px;
  background-color: var(--white);
  padding: 18px 30px 22px 32px;
}

.category-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 4px;
}

.category-link {
  font-size: 17px;
  color: #d9a227;
  transition: color 0.25s ease;
}

.category-card:hover .category-link {
  color: var(--dark);
}

.category-quote {
  max-width: 420px;
  margin: 0 0 0 auto;
}

.category-quote blockquote {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 52px;
}

.category-quote figcaption {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 19px;
  font-weight: 600;
  color: var(--dark);
}

.category-quote figcaption::before {
  content: "";
  width: 28px;
  height: 2px;
  background-color: var(--dark);
}

/* ---------- Categories responsive ---------- */
@media (max-width: 1199.98px) {
  .category-quote blockquote {
    font-size: 21px;
  }
}

/* Tablet: photo on top, quote centered below */
@media (max-width: 991.98px) {
  .categories-section {
    padding: 40px 0 80px;
  }

  .category-card {
    margin: 0 auto;
  }

  .category-quote {
    max-width: 560px;
    margin: 20px auto 0;
    text-align: center;
  }

  .category-quote blockquote {
    margin-bottom: 26px;
  }

  .category-quote figcaption {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .categories-section {
    padding-bottom: 60px;
  }

  .category-label {
    left: 0;
    bottom: -13px;
    min-width: 0;
    min-height: 0;
    padding: 12px 20px 14px;
  }

  .category-title {
    font-size: 24px;
  }

  .category-link {
    font-size: 15px;
  }

  .category-quote blockquote {
    font-size: 19px;
  }

  .category-quote figcaption {
    font-size: 17px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background-color: var(--white);
  padding: 60px 0 40px;
  overflow: hidden;
}

.footer-top {
  margin-bottom: 120px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.33;
  color: var(--dark);
  margin: 0;
}

.footer-signature {
  width: 320px;
  max-width: 100%;
}

.footer-main {
  margin-bottom: 90px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 26px;
}

.footer-about {
  max-width: 360px;
}

.footer-about p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 10px;
}

/* vertical rule between the about column and the links */
.footer-pages {
  border-left: 1px solid #d5d5d5;
  padding-left: 64px;
  min-height: 100%;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 24px;
}

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

.footer-links li + li {
  margin-top: 30px;
}

.footer-links a {
  font-size: 17px;
  color: #6f6f6f;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--gold-dark);
}

.newsletter-form {
  max-width: 462px;
  padding-top: 40px;
}

.newsletter-input {
  display: block;
  width: 100%;
  font-size: 17px;
  color: var(--dark);
  background: transparent;
  border: none;
  border-bottom: 1px solid #c9c9c9;
  padding: 8px 0 14px;
  margin-bottom: 30px;
  outline: none;
  transition: border-color 0.25s ease;
}

.newsletter-input::placeholder {
  color: #7a7a7a;
}

.newsletter-input:focus {
  border-bottom-color: var(--gold);
}

.newsletter-btn {
  padding: 12px 38px;
}

.newsletter-msg {
  font-size: 15px;
  margin: 14px 0 0;
  min-height: 1.4em;
}

.newsletter-msg.error {
  color: #c0392b;
}

.newsletter-msg.success {
  color: #2e7d32;
}

.footer-copy {
  font-size: 17px;
  color: var(--dark);
  text-align: center;
  margin: 0;
}

.footer-leaf {
  position: absolute;
  left: 60px;
  top: 52%;
  width: 160px;
  pointer-events: none;
}

/* ---------- Footer responsive ---------- */
@media (max-width: 1399.98px) {
  .footer-leaf {
    left: 0;
    width: 120px;
  }
}

@media (max-width: 1199.98px) {
  .footer-tagline {
    font-size: 26px;
  }

  .footer-pages {
    padding-left: 40px;
  }

  .footer-leaf {
    display: none;
  }
}

/* Tablet: about on its own row, links + newsletter below */
@media (max-width: 991.98px) {
  .site-footer {
    padding-top: 60px;
  }

  .footer-top {
    text-align: center;
    margin-bottom: 70px;
  }

  .footer-signature {
    width: 280px;
  }

  .footer-main {
    margin-bottom: 60px;
  }

  .footer-about {
    max-width: none;
  }

  .footer-pages {
    padding-left: 0;
    border-left: none;
  }

  .footer-links li + li {
    margin-top: 18px;
  }

  .newsletter-form {
    padding-top: 10px;
  }
}

/* Mobile: single centered column */
@media (max-width: 767.98px) {
  .site-footer {
    padding: 50px 0 30px;
    text-align: center;
  }

  .footer-tagline {
    font-size: 22px;
  }

  .footer-signature {
    width: 240px;
  }

  .footer-top {
    margin-bottom: 50px;
  }

  .footer-brand {
    font-size: 32px;
    margin-bottom: 18px;
  }

  .footer-heading {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .footer-about p,
  .footer-links a,
  .newsletter-input,
  .footer-copy {
    font-size: 16px;
  }

  .newsletter-form {
    margin: 0 auto;
  }

  .newsletter-input {
    text-align: center;
  }

  .footer-main {
    margin-bottom: 40px;
  }
}

@media (max-width: 575.98px) {
  .footer-tagline {
    font-size: 20px;
  }

  .footer-tagline br {
    display: none;
  }
}

/* ==========================================
   Inner Pages
   ========================================== */

/* ---------- Page Banner ---------- */
.page-banner {
  position: relative;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0, rgba(0, 0, 0, 0.3) 90px, rgba(0, 0, 0, 0) 190px),
    url("../img/hero-shadow-dark.png") left top / cover no-repeat,
    var(--header-bg-image, none) center / cover no-repeat;
  padding: 190px 0 110px;
  overflow: hidden;
}

.page-banner-card {
  position: relative;
  max-width: 640px;
  background-color: var(--white);
  padding: 46px 54px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.page-banner-title {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 16px;
}

.page-banner-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
}

.page-breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: #b5b5b5;
}

.page-breadcrumb a {
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.page-breadcrumb li[aria-current] {
  color: #d9a227;
}

.page-banner-leaf {
  position: absolute;
  right: -60px;
  bottom: -20px;
  width: 110px;
  pointer-events: none;
  animation: leafSway 6s ease-in-out infinite;
  transform-origin: 20% 10%;
}

/* ---------- About ---------- */
.author-section {
  position: relative;
  background-color: #fafafa;
  padding: 100px 0;
  overflow: hidden;
}

.author-content {
  max-width: 560px;
}

.author-content .section-text {
  margin-bottom: 22px;
}

.author-signature {
  width: 240px;
  margin-top: 10px;
}

.inner-quote {
  padding: 0 0 90px;
}

.highlights-section {
  background-color: var(--white);
  padding: 90px 0;
}

.highlights-head {
  margin-bottom: 50px;
}

.highlight-card {
  height: 100%;
  background-color: #fafafa;
  border-top: 3px solid var(--gold);
  padding: 40px 34px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.highlight-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 16px;
}

.highlight-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
}

.highlight-card p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.inner-cta {
  padding: 90px 0 110px;
}

/* ---------- Contact ---------- */
.contact-section {
  background-color: #fafafa;
  padding: 100px 0 90px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li + li {
  margin-top: 24px;
}

.contact-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-list a {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-list a:hover {
  color: var(--gold-dark);
}

.contact-form-card {
  background-color: var(--white);
  padding: 50px 54px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.shipping-text a {
  color: #d9a227;
}

/* ---------- FAQ ---------- */
.faq-section {
  background-color: #fafafa;
  padding: 100px 0 110px;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #d5d5d5;
}

.faq-accordion .accordion-item:first-child {
  border-top: 1px solid #d5d5d5;
}

.faq-accordion .accordion-button {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--dark);
  background: transparent;
  padding: 26px 0;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #d9a227;
}

.faq-accordion .accordion-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* plus / minus icon instead of the default chevron */
.faq-accordion .accordion-button::after,
.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: none;
  content: "+";
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  width: auto;
  height: auto;
  transform: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: "\2212";
}

.faq-accordion .accordion-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  padding: 0 40px 28px 0;
}

.faq-accordion .accordion-body a,
.legal-content a {
  color: #d9a227;
}

/* ---------- Legal (Privacy / Terms) ---------- */
.legal-section {
  background-color: #fafafa;
  padding: 100px 0 110px;
}

.legal-toc {
  position: sticky;
  top: 110px;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
}

.legal-toc-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-toc li + li {
  margin-top: 12px;
}

.legal-toc a {
  font-size: 16px;
  color: #6f6f6f;
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-toc a:hover {
  color: var(--gold-dark);
}

.legal-content {
  max-width: 820px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.legal-updated {
  font-size: 15px;
  color: #8a8a8a;
}

.legal-content h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--dark);
  margin: 44px 0 14px;
  scroll-margin-top: 100px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li::marker {
  color: var(--gold);
}

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1199.98px) {
  .page-banner-title {
    font-size: 56px;
  }

  .contact-form-card {
    padding: 44px 40px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .page-banner {
    padding: 150px 0 90px;
  }

  .page-banner-card {
    margin: 0 auto;
    text-align: center;
  }

  .page-breadcrumb {
    justify-content: center;
  }

  .page-banner-leaf {
    right: -40px;
    width: 95px;
  }

  .author-section,
  .contact-section,
  .faq-section,
  .legal-section {
    padding: 70px 0;
  }

  .author-content,
  .contact-info,
  .faq-intro,
  .highlights-head {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .faq-intro {
    position: static;
  }

  .highlights-section {
    padding: 70px 0;
  }

  .inner-cta {
    padding: 70px 0 90px;
  }

  .contact-form-card {
    max-width: 720px;
    margin: 0 auto;
  }

  /* TOC becomes a compact box above the text */
  .legal-toc {
    position: static;
    background-color: var(--white);
    border-left: none;
    border-top: 3px solid var(--gold);
    padding: 24px 26px;
  }

  .legal-toc ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }

  .legal-toc li + li {
    margin-top: 0;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .page-banner {
    padding: 120px 0 70px;
  }

  .page-banner-card {
    padding: 32px 26px 30px;
  }

  .page-banner-title {
    font-size: 42px;
  }

  .page-banner-text {
    font-size: 16px;
  }

  .page-banner-leaf {
    right: -14px;
    bottom: -26px;
    width: 75px;
  }

  .author-section,
  .contact-section,
  .faq-section,
  .legal-section {
    padding: 56px 0;
  }

  .author-signature {
    width: 200px;
  }

  .inner-quote {
    padding-bottom: 60px;
  }

  .highlights-section {
    padding: 56px 0;
  }

  .highlights-head {
    margin-bottom: 34px;
  }

  .highlight-card {
    padding: 32px 26px;
    text-align: center;
  }

  .highlight-title {
    font-size: 26px;
  }

  .contact-list a {
    font-size: 20px;
  }

  .contact-form-card {
    padding: 34px 22px;
    text-align: center;
  }

  .faq-accordion .accordion-button {
    font-size: 20px;
    padding: 20px 0;
  }

  .faq-accordion .accordion-body {
    font-size: 16px;
    padding-right: 0;
  }

  .legal-content {
    font-size: 16px;
  }

  .legal-content h3 {
    font-size: 26px;
    margin-top: 34px;
  }

  .legal-toc ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .page-banner-title {
    font-size: 36px;
  }
}

/* ---------- WOW.js scroll animations ---------- */
/* stop slide-in animations from causing a horizontal scrollbar */
body {
  overflow-x: hidden;
}

.wow {
  --animate-duration: 0.9s;
}

/* respect users who turn off motion */
@media (prefers-reduced-motion: reduce) {
  .wow {
    visibility: visible !important;
    animation: none !important;
  }
}

/* ==========================================
   CMS additions (not in the HTML design)
   ========================================== */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; padding: .5rem 1rem; background: var(--dark); color: #fff; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Contact form: optional consent checkbox and invalid fields */
.contact-consent { margin: 0 0 22px; font-size: 14px; }
.contact-consent .form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.newsletter-input[aria-invalid="true"] { border-color: #c0392b; }
.footer-newsletter-text { margin-bottom: 14px; }

/* Rich text written in the admin (page body, rich text sections) */
.legal-content img { max-width: 100%; height: auto; }
.prose { max-width: 860px; }
.faq-accordion .accordion-body > :last-child { margin-bottom: 0; }
