:root {
  --blue: #97b6ce;
  --blue-deep: #385c74;
  --blue-ink: #29465a;
  --ink: #545454;
  --muted: #667986;
  --line: #9ca9b2;
  --mist: #cacfd3;
  --paper: #fbfcfc;
  --warm: #f7f2eb;
  --peach: #e88a65;
  --title: "Bodoni Moda", Georgia, serif;
  --display: "DM Serif Display", Georgia, serif;
  --body: "Scope One", Georgia, serif;
  --shadow: 0 24px 52px rgba(41, 70, 90, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.62;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.page-width {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(78px, 9vw, 150px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--blue-ink);
  font-family: var(--title);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
}

h2 {
  font-size: clamp(3.2rem, 5.4vw, 6rem);
}

h3 {
  font-size: clamp(1.75rem, 2.2vw, 2.32rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(41, 70, 90, 0.14);
  background: rgba(251, 252, 252, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  width: min(100% - 48px, 1440px);
  min-height: 74px;
  margin-inline: auto;
}

.brand,
.site-nav a {
  text-decoration: none;
}

.brand {
  color: var(--blue-ink);
  font-family: var(--title);
  font-size: clamp(1.1rem, 1.25vw, 1.35rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-shadow: 1px 2px 0 rgba(156, 169, 178, 0.58);
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: clamp(18px, 2.4vw, 38px);
  color: var(--blue-ink);
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--peach);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.74);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
}

.hero-banner {
  margin: 0;
  line-height: 0;
}

.hero-banner img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
}

.hero-mobile {
  display: none;
}

.hero-books-link {
  position: absolute;
  top: 74%;
  left: 10%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 12px 28px rgba(41, 70, 90, 0.22);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-books-link:hover,
.hero-books-link:focus-visible {
  background: #2a485d;
  transform: translateY(-2px);
}

.about {
  background: var(--blue);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.section-label {
  padding-top: 0;
}

.label-line {
  display: block;
  width: 80px;
  height: 2px;
  background: var(--peach);
}

.about-content h2 {
  max-width: none;
  margin-bottom: 42px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  white-space: nowrap;
}

.about-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  max-width: 920px;
  color: var(--blue-ink);
  font-size: clamp(1.1rem, 1.55vw, 1.3rem);
}

.about-text p {
  margin-bottom: 0;
}

.new-book {
  padding-block: clamp(72px, 7vw, 112px);
  color: var(--ink);
  background: var(--warm);
}

.new-book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 6.5vw, 104px);
}

.new-book-copy {
  max-width: 810px;
}

.new-book-announcement {
  display: inline-block;
  margin-bottom: 21px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--peach);
  color: var(--blue-ink);
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.new-book h2 {
  max-width: 720px;
  color: var(--blue-ink);
  font-size: clamp(2.35rem, 3.6vw, 4.1rem);
  white-space: nowrap;
}

.new-book-rule {
  width: 74px;
  height: 3px;
  margin: 28px 0;
  background: var(--peach);
}

.new-book-copy > p:not(.new-book-announcement) {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(1.02rem, 1.32vw, 1.16rem);
}

.new-book-event {
  max-width: 760px;
  margin: 30px 0 26px;
  padding: 22px 24px 23px;
  border: 1px solid rgba(41, 70, 90, 0.2);
  border-left: 5px solid var(--peach);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 30px rgba(41, 70, 90, 0.08);
}

.new-book-event-label {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.new-book-event p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.94rem, 1.15vw, 1.04rem);
  line-height: 1.55;
}

.new-book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.new-book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--blue-deep);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.new-book-button:hover,
.new-book-button:focus-visible {
  transform: translateY(-2px);
}

.new-book-button-primary {
  color: #fff;
  background: var(--blue-deep);
}

.new-book-button-primary:hover,
.new-book-button-primary:focus-visible {
  background: #29465a;
}

.new-book-button-secondary {
  color: var(--blue-deep);
  background: transparent;
}

.new-book-button-secondary:hover,
.new-book-button-secondary:focus-visible {
  color: #fff;
  background: var(--blue-deep);
}

.new-book-gallery {
  width: min(100%, 520px);
  margin: 0 0 0 auto;
}

.new-book-slides {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: transparent;
}

.new-book-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  background: var(--warm);
  opacity: 0;
  transition: opacity 750ms ease;
  pointer-events: none;
}

.new-book-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.new-book-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.new-book-gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

.new-book-gallery-count {
  color: var(--blue-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.new-book-gallery-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.new-book-gallery-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(41, 70, 90, 0.25);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.new-book-gallery-dots button:hover,
.new-book-gallery-dots button:focus-visible,
.new-book-gallery-dots button.is-active {
  background: var(--peach);
  transform: scaleY(1.5);
}

.books {
  background: var(--paper);
}

.books-heading {
  margin-bottom: clamp(38px, 4.5vw, 60px);
}

.books-heading h2,
.media-heading h2 {
  color: var(--blue-ink);
}

.books-heading h2 {
  font-size: clamp(3.25rem, 5vw, 5.7rem);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4.2vw, 68px) clamp(26px, 3vw, 54px);
}

.book-card {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid var(--mist);
}

.book-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 15px 32px rgba(41, 70, 90, 0.17);
}

.book-card-content {
  min-width: 0;
}

.book-series {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-card h3 {
  margin-bottom: 13px;
}

.book-card-content > p:not(.book-series) {
  margin-bottom: 17px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.book-card a {
  color: var(--blue-deep);
  font-size: 0.9rem;
  text-decoration-color: var(--peach);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.book-card a span {
  color: var(--peach);
}

.reviews {
  overflow: hidden;
  background: #eef4f7;
}

.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.reviews-heading h2 {
  max-width: none;
  margin-bottom: 0;
  color: var(--blue-ink);
  font-size: clamp(2.75rem, 4vw, 4.45rem);
  white-space: nowrap;
}

.reviews-controls {
  display: flex;
  gap: 9px;
  padding-bottom: 5px;
}

.reviews-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(41, 70, 90, 0.36);
  color: var(--blue-ink);
  background: transparent;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.reviews-arrow:hover,
.reviews-arrow:focus-visible {
  border-color: var(--blue-deep);
  color: #fff;
  background: var(--blue-deep);
}

.reviews-carousel {
  --review-card-width: calc((min(100vw - 48px, 1440px) - 72px) / 4);
}

.reviews-viewport {
  overflow: hidden;
  margin-inline: -1px;
  padding: 1px;
}

.reviews-track {
  display: flex;
  width: max-content;
  gap: 24px;
  will-change: transform;
}

.review-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--review-card-width);
  min-height: 322px;
  padding: 24px;
  border: 1px solid rgba(41, 70, 90, 0.13);
  background: #fff;
  box-shadow: 0 12px 28px rgba(41, 70, 90, 0.08);
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.review-initials {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(41, 70, 90, 0.2);
  border-radius: 50%;
  color: var(--blue-deep);
  background: #eef4f7;
  font-size: 0.72rem;
  font-weight: 700;
}

.review-author,
.review-format,
.review-rating,
.review-date,
.review-text {
  margin: 0;
}

.review-author {
  color: var(--blue-ink);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.review-format {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.1;
}

.review-rating {
  margin-bottom: 7px;
  color: #e66d35;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.review-card h3 {
  margin-bottom: 8px;
  color: var(--blue-ink);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.55vw, 1.58rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.05;
}

.review-date {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.review-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  color: var(--ink);
  font-size: 0.89rem;
  line-height: 1.42;
}

.media {
  padding-block: clamp(66px, 6vw, 104px);
  background: var(--blue);
}

.media .page-width {
  width: min(100% - 48px, 1160px);
}

.media-heading {
  margin-bottom: clamp(32px, 4vw, 54px);
}

.media-heading .eyebrow {
  color: var(--blue-ink);
}

.media-heading h2 {
  font-size: clamp(3.1rem, 4.25vw, 4.85rem);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}

.media-card {
  display: block;
  color: var(--blue-ink);
  text-decoration: none;
}

.media-card img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  margin-bottom: 15px;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.media-card:hover img,
.media-card:focus-visible img {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(41, 70, 90, 0.18);
}

.media-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-deep);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.media-card strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.22rem, 1.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.15;
}

.instagram-section {
  padding-block: clamp(74px, 8vw, 128px);
  color: #fff;
  background: var(--blue-deep);
}

.instagram-layout {
  display: block;
}

.instagram-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.instagram-copy h2 {
  max-width: none;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(2.6rem, 4.15vw, 4.45rem);
  white-space: nowrap;
}

.instagram-controls {
  display: flex;
  gap: 9px;
  padding-bottom: 4px;
}

.instagram-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.instagram-arrow:hover,
.instagram-arrow:focus-visible {
  border-color: #fff;
  color: var(--blue-deep);
  background: #fff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-bottom: 34px;
}

.social-links a {
  display: grid;
  min-width: 250px;
  gap: 2px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--peach);
  color: #fff6eb;
}

.social-links span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instagram-feed {
  display: flex;
  width: max-content;
  gap: 14px;
  will-change: transform;
}

.instagram-carousel {
  --instagram-card-width: calc((min(100vw - 48px, 1440px) - 42px) / 4);
}

.instagram-viewport {
  overflow: hidden;
  margin-inline: -1px;
  padding: 1px;
}

.instagram-post {
  position: relative;
  display: block;
  flex: 0 0 var(--instagram-card-width);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.instagram-post img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.instagram-post span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 220ms ease;
}

.instagram-post:hover img,
.instagram-post:focus-visible img {
  transform: scale(1.045);
  opacity: 0.48;
}

.instagram-post:hover span,
.instagram-post:focus-visible span {
  opacity: 1;
}

footer {
  color: rgba(255, 255, 255, 0.72);
  background: #2a485d;
}

.footer-inner {
  justify-content: center;
  min-height: 70px;
}

.footer-instagram-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-left: 0;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 0.86rem;
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.footer-instagram-link:hover,
.footer-instagram-link:focus-visible {
  border-color: var(--peach);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1080px) {
  .book-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-card {
    grid-template-columns: 136px minmax(0, 1fr);
  }

  .reviews-carousel {
    --review-card-width: calc((min(100vw - 48px, 1440px) - 48px) / 3);
  }

}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .page-width,
  .header-inner,
  .footer-inner,
  .media .page-width {
    width: min(100% - 36px, 1440px);
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--mist);
    border-radius: 0;
    background: #fff;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--blue-ink);
  }

  .site-nav {
    position: absolute;
    top: 62px;
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--mist);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid #e3e8eb;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-banner img {
    aspect-ratio: 1 / 1;
    object-position: left center;
  }

  .hero-books-link {
    top: 79%;
    left: 20%;
    min-height: 42px;
    padding-inline: 15px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 24px;
  }

  .new-book-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .new-book-gallery {
    width: min(100%, 520px);
    margin-left: 0;
  }

  .about-content h2 {
    margin-bottom: 34px;
  }

  .new-book h2 {
    white-space: normal;
  }

  .about-text {
    max-width: 740px;
  }

  .reviews-carousel {
    --review-card-width: calc((min(100vw - 36px, 1440px) - 24px) / 2);
  }

  .reviews-heading h2,
  .instagram-copy h2 {
    white-space: normal;
  }

  .instagram-carousel {
    --instagram-card-width: calc((min(100vw - 36px, 1440px) - 14px) / 2);
  }
}

@media (max-width: 620px) {
  .section {
    padding-block: 68px;
  }

  h2,
  .about-content h2,
  .new-book h2,
  .books-heading h2,
  .media-heading h2,
  .instagram-copy h2 {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
  }

  .about-content h2 {
    white-space: normal;
  }

  .about-text,
  .book-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .about-text {
    gap: 20px;
  }

  .new-book-rule {
    margin-block: 22px;
  }

  .new-book-event {
    margin-top: 24px;
    padding: 19px 18px 20px;
  }

  .new-book-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .new-book-button {
    width: 100%;
    min-height: 52px;
  }

  .new-book-gallery {
    width: 100%;
  }

  .new-book-slides {
    background: transparent;
    box-shadow: none;
  }

  .new-book-slide {
    background: var(--warm);
  }

  .new-book-slide img {
    mix-blend-mode: multiply;
  }

  .new-book-gallery-dots {
    gap: 6px;
  }

  .new-book-gallery-dots button {
    width: 28px;
    height: 5px;
  }

  .book-card {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 16px;
  }

  .book-card h3 {
    font-size: 1.6rem;
  }

  .book-card-content > p:not(.book-series) {
    font-size: 0.9rem;
  }

  .reviews-heading {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .reviews-controls {
    padding-bottom: 0;
  }

  .reviews-carousel {
    --review-card-width: calc(100vw - 38px);
  }

  .review-card {
    min-height: 308px;
    padding: 22px;
  }

  .instagram-section {
    padding-block: 68px;
  }

  .instagram-heading {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .instagram-carousel {
    --instagram-card-width: calc(100vw - 38px);
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-block: 17px;
  }

}

/* Composição dedicada para celulares: evita recortar o texto e o retrato do banner. */
@media (max-width: 820px) {
  .site-nav a {
    min-height: 48px;
  }

  .hero {
    min-height: calc(100svh - 62px);
    padding: 24px 0 32px;
    background: linear-gradient(155deg, #aac4d7 0%, #8fadc4 100%);
  }

  .hero-banner {
    display: none;
  }

  .hero-mobile {
    position: relative;
    display: grid;
    min-height: calc(100svh - 118px);
    align-items: end;
    overflow: hidden;
    background: var(--blue-deep);
    box-shadow: 0 18px 42px rgba(41, 70, 90, 0.2);
  }

  .hero-mobile::after {
    position: absolute;
    inset: 28% 0 0;
    content: "";
    background: linear-gradient(to bottom, transparent, rgba(26, 52, 70, 0.92));
  }

  .hero-mobile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
  }

  .hero-mobile-copy {
    position: relative;
    z-index: 1;
    padding: 32px 26px 92px;
    color: #fff;
  }

  .hero-mobile-copy p {
    margin-bottom: 10px;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .hero-mobile-copy span {
    display: block;
    margin-bottom: 16px;
    font-family: var(--title);
    font-size: clamp(2.7rem, 12vw, 4.5rem);
    font-style: italic;
    font-weight: 700;
    line-height: 0.92;
  }

  .hero-mobile-copy small {
    display: block;
    max-width: 34rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero-books-link {
    top: auto;
    right: auto;
    bottom: 58px;
    left: 42px;
  }
}

@media (max-width: 620px) {
  .page-width,
  .header-inner,
  .footer-inner,
  .media .page-width {
    width: min(100% - 28px, 1440px);
  }

  .section {
    padding-block: 58px;
  }

  .book-card {
    grid-template-columns: minmax(92px, 32vw) minmax(0, 1fr);
    gap: 14px;
  }

  .reviews-carousel {
    --review-card-width: calc(100vw - 30px);
  }

  .instagram-carousel {
    --instagram-card-width: calc(100vw - 30px);
  }
}

@media (max-width: 420px) {
  .header-inner {
    min-height: 64px;
  }

  .brand {
    max-width: 210px;
    font-size: 1.05rem;
  }

  .hero {
    min-height: calc(100svh - 64px);
    padding-block: 14px;
  }

  .hero-mobile {
    min-height: calc(100svh - 92px);
  }

  .hero-mobile-copy {
    padding: 24px 20px 88px;
  }

  .hero-mobile-copy small {
    font-size: 0.86rem;
  }

  .hero-books-link {
    bottom: 38px;
    left: 34px;
  }

  h2,
  .about-content h2,
  .new-book h2,
  .books-heading h2,
  .media-heading h2,
  .instagram-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .book-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .book-card h3 {
    font-size: 1.42rem;
  }

  .book-card-content > p:not(.book-series) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .social-links a {
    min-width: 100%;
  }
}
