:root {
  --bg: #f4ead8;
  --paper: #fff7e9;
  --paper-deep: #ead8bb;
  --cream: #fbf0dd;
  --ink: #263524;
  --text: #4d3d2e;
  --muted: #7c6d5e;
  --olive: #294735;
  --olive-2: #3e6049;
  --clay: #b76b55;
  --clay-2: #985242;
  --walnut: #744d27;
  --gold: #b89564;
  --line: rgba(116, 77, 39, 0.22);
  --shadow-sm: 0 12px 28px rgba(75, 54, 33, 0.12);
  --shadow-md: 0 28px 70px rgba(75, 54, 33, 0.18);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(18px, 5vw, 64px);
  padding-left: clamp(18px, 2.5vw, 32px);
  background: rgba(251, 240, 221, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  color: var(--olive);
  font-size: 15px;
  font-weight: 850;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand img.brand-logo-full {
  display: block;
  width: clamp(190px, 22vw, 290px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: grid;
  gap: 1px;
  white-space: nowrap;
  line-height: 1;
}

.brand-text strong {
  color: var(--olive);
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-text small {
  color: var(--walnut);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.nav a {
  padding-block: 8px;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--clay);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.88fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  max-width: 1360px;
  min-height: auto;
  margin: 0 auto;
  padding: clamp(42px, 5.5vw, 74px) clamp(18px, 5vw, 64px) clamp(42px, 5vw, 66px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--clay-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "❦";
  display: inline-block;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
  opacity: 0.75;
}

.eyebrow::before {
  transform: scaleX(-1) rotate(8deg);
}

.eyebrow::after {
  transform: rotate(8deg);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  font-size: clamp(38px, 4.9vw, 60px);
  line-height: 1.05;
  font-weight: 700;
}

h2 {
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.05;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  line-height: 1.12;
  font-weight: 700;
}

.hero-text {
  max-width: 510px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(16px, 1.45vw, 18px);
}

.hero-text span {
  display: inline;
}

.hero-text span + span {
  margin-top: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.button.primary,
.button.small {
  color: #fff8ec;
  background: var(--clay);
  border-color: var(--clay);
}

.button.primary:hover,
.button.primary:focus-visible,
.button.small:hover,
.button.small:focus-visible {
  background: var(--clay-2);
  border-color: var(--clay-2);
}

.button.secondary {
  color: var(--olive);
  background: rgba(255, 247, 233, 0.7);
  border-color: rgba(41, 71, 53, 0.42);
}

.button.small {
  min-height: 40px;
  padding: 10px 20px;
  font-size: 14px;
}

.icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.icon-telegram {
  color: #2aabee;
}

.icon-instagram {
  color: #bc1888;
}

.hero-scene {
  position: relative;
  min-height: 620px;
  isolation: isolate;
  perspective: 1800px;
  transform-style: preserve-3d;
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 8% 0 3% 9%;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(145deg, #ead5b3, #fff4df 48%, #d9c09b);
  border-radius: 38% 62% 46% 54% / 52% 42% 58% 48%;
  box-shadow: inset 0 0 0 1px rgba(116, 77, 39, 0.14);
}

.hero-scene::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7%;
  width: 250px;
  height: 250px;
  z-index: -1;
  background: rgba(183, 107, 85, 0.18);
  border-radius: 46% 54% 55% 45%;
}

.hero-book-main {
  position: absolute;
  right: 9%;
  top: 12%;
  width: min(56%, 360px);
  border-radius: 10px;
  box-shadow: 0 34px 58px rgba(50, 34, 18, 0.32);
  transform: rotate(6deg);
}

.keepsake-photo {
  position: absolute;
  width: 220px;
  height: 270px;
  padding: 12px 12px 42px;
  background: #fff9ef;
  box-shadow: 0 20px 34px rgba(77, 61, 46, 0.2);
}

.keepsake-photo span,
.photo-paper span {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 48% 33%, rgba(255, 255, 255, 0.55) 0 14%, transparent 15%),
    linear-gradient(145deg, rgba(60, 74, 54, 0.7), rgba(116, 77, 39, 0.64)),
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.18) 48% 52%, transparent 53%);
  filter: sepia(0.45);
}

.photo-one {
  left: 8%;
  top: 24%;
  transform: rotate(-11deg);
}

.photo-two {
  right: 25%;
  bottom: 14%;
  width: 190px;
  height: 228px;
  transform: rotate(10deg);
}

.pressed-flower {
  position: absolute;
  right: 4%;
  top: 9%;
  width: 118px;
  height: 180px;
  border-left: 2px solid rgba(116, 77, 39, 0.4);
  transform: rotate(18deg);
}

.pressed-flower::before,
.pressed-flower::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 34px;
  border: 2px solid rgba(116, 77, 39, 0.34);
  border-left: 0;
  border-radius: 0 100% 100% 0;
}

.pressed-flower::before {
  top: 34px;
  left: 0;
  transform: rotate(-28deg);
}

.pressed-flower::after {
  top: 88px;
  left: -4px;
  transform: rotate(28deg);
}

section {
  padding: clamp(42px, 5.5vw, 74px) clamp(18px, 5vw, 64px);
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding-block: 28px;
  background: rgba(255, 247, 233, 0.62);
  border-block: 1px solid var(--line);
}

.promise-strip div {
  padding: 12px 24px;
  border-right: 1px solid var(--line);
}

.promise-strip div:last-child {
  border-right: 0;
}

.line-icon {
  display: block;
  color: var(--walnut);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.promise-strip strong {
  display: block;
  margin-top: 10px;
  color: var(--olive);
  font-weight: 850;
}

.promise-strip p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  max-width: 860px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 0.74fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.story-photo {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-paper {
  width: min(100%, 340px);
  height: 270px;
  padding: 14px 14px 46px;
  background: #fff8ec;
  box-shadow: var(--shadow-sm);
  transform: rotate(-7deg);
}

.about-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 18px;
}

.books {
  max-width: 1320px;
  margin: 0 auto;
}

.books .section-heading h2 {
  color: var(--olive);
  font-size: clamp(34px, 4vw, 54px);
}

.books .section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--text);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding: 24px;
  background: rgba(255, 247, 233, 0.3);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.book-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 16px;
  background: rgba(255, 248, 236, 0.74);
  border: 1px solid rgba(116, 77, 39, 0.18);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.book-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
}

.heart-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--clay);
  background: rgba(255, 248, 236, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 20px;
  cursor: default;
}

.book-card img {
  width: 100%;
  aspect-ratio: 0.705;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(63, 43, 24, 0.22);
}

.book-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  padding: 18px 2px 0;
}

.book-label {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 5px 10px;
  color: #fff8ec;
  background: var(--olive);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.book-content p:not(.book-label) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.book-audience {
  display: grid;
  gap: 4px;
  margin: -4px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  list-style: none;
}

.book-audience li {
  position: relative;
  padding-left: 14px;
}

.book-audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background: var(--clay);
  border-radius: 50%;
}

@media (min-width: 1121px) {
  .book-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.book-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.book-bottom strong {
  color: var(--walnut);
  font-size: 22px;
  white-space: nowrap;
}

.mama .book-label {
  background: #563266;
}

.tato .book-label {
  background: #244c70;
}

.didus .book-label {
  background: #784f2a;
}

.inside-card {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(360px, 0.94fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(28px, 4.2vw, 48px);
  color: #fff8ec;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.09), transparent 22%),
    linear-gradient(135deg, var(--olive), #1e3126);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.inside-card .eyebrow,
.inside-card h2 {
  color: #fff8ec;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 15px 15px 15px 40px;
  color: rgba(255, 248, 236, 0.86);
  background: rgba(255, 248, 236, 0.08);
  border: 1px solid rgba(255, 248, 236, 0.16);
  border-radius: var(--radius);
}

.check-list li::before {
  content: "♡";
  position: absolute;
  left: 16px;
  top: 13px;
  color: #f2c6a4;
}

.open-book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  padding: 18px;
  transform: rotate(2deg);
  filter: drop-shadow(0 26px 32px rgba(18, 24, 19, 0.35));
}

.page {
  padding: 34px 26px;
  color: #6f5438;
  background: #fff4df;
  border: 1px solid rgba(116, 77, 39, 0.2);
}

.left-page {
  border-radius: 14px 0 0 14px;
}

.right-page {
  border-left: 0;
  border-radius: 0 14px 14px 0;
}

.page span {
  display: block;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.page p {
  margin: 18px 0 0;
  border-bottom: 1px solid rgba(116, 77, 39, 0.2);
  padding-bottom: 12px;
  font-size: 15px;
}

.steps {
  max-width: var(--container);
  margin: 0 auto;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.step-grid div {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 247, 233, 0.66);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: #fff8ec;
  background: var(--olive);
  border-radius: 999px;
  font-weight: 850;
}

.step-ornament {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 76px;
  height: 76px;
  color: var(--gold);
  opacity: 0.24;
}

.step-ornament svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.format {
  background: rgba(255, 247, 233, 0.42);
  border-block: 1px solid var(--line);
}

.specs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--container);
  margin: 38px auto 0;
}

.specs div {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 248, 236, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.specs span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.specs strong {
  display: block;
  margin-top: 10px;
  color: var(--olive);
  font-size: 20px;
  line-height: 1.15;
}

.order {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: var(--container);
  margin: clamp(34px, 4.5vw, 58px) auto;
  padding: clamp(30px, 4vw, 48px);
  color: #fff8ec;
  background:
    radial-gradient(circle at 84% 24%, rgba(255, 248, 236, 0.1), transparent 24%),
    linear-gradient(135deg, var(--olive), #223827);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.order .eyebrow,
.order h2 {
  color: #fff8ec;
}

.order p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 248, 236, 0.84);
  font-size: 18px;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  gap: 12px;
}

.order-button {
  color: #fff8ec;
  background: var(--clay);
  border-color: var(--clay);
  white-space: nowrap;
}

.order-button:hover,
.order-button:focus-visible {
  background: var(--clay-2);
  border-color: var(--clay-2);
}

.instagram-button {
  color: #fff8ec;
  background: transparent;
  border-color: rgba(255, 248, 236, 0.52);
  white-space: nowrap;
}

.instagram-button:hover,
.instagram-button:focus-visible {
  color: #fff8ec;
  background: rgba(255, 248, 236, 0.1);
  border-color: rgba(255, 248, 236, 0.82);
}

.order-book {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.order-book img {
  width: min(100%, 230px);
  border-radius: 8px;
  box-shadow: 0 28px 40px rgba(14, 19, 14, 0.36);
  transform: rotate(5deg);
}

.order-book p {
  max-width: 340px;
  margin: 0;
  color: #f3d5bb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.18;
  text-align: center;
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(150px, 0.62fr) minmax(260px, 0.82fr) minmax(220px, 0.74fr);
  gap: clamp(24px, 3vw, 42px);
  padding: 38px clamp(18px, 5vw, 64px) 88px;
  color: rgba(255, 248, 236, 0.76);
  background: var(--olive);
}

.footer-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: brightness(1.55) saturate(1.02);
}

.footer p {
  max-width: 260px;
  margin: 12px 0 0;
  color: #f7efdf;
}

.footer strong {
  display: block;
  margin-bottom: 12px;
  color: #fff8ec;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.footer-menu,
.social-links,
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-menu {
  justify-self: end;
  transform: translateX(clamp(28px, 4vw, 54px));
}

.social-links {
  justify-self: end;
}

.footer-info {
  justify-self: start;
}

.footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 248, 236, 0.84);
  font-weight: 750;
}

.footer a:hover,
.footer a:focus-visible {
  color: #fff8ec;
}

.social-links .icon-telegram {
  color: #2aabee;
}

.social-links .icon-instagram {
  color: #bc1888;
}

.social-links .icon-phone,
.social-links .icon-mail {
  color: #f3d5bb;
}

.work-hours {
  color: rgba(255, 248, 236, 0.82);
}

.work-hours span,
.work-hours b {
  display: block;
}

.work-hours span {
  margin-bottom: 4px;
  color: #f3d5bb;
  font-weight: 750;
}

.work-hours b {
  color: #fff8ec;
  font-weight: 750;
}

.footer-docs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 248, 236, 0.18);
}

.footer-docs a {
  width: fit-content;
  color: rgba(255, 248, 236, 0.88);
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer .footer-copyright {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 20px;
  left: clamp(18px, 5vw, 64px);
  width: auto;
  max-width: none;
  margin: 0;
  padding-top: 20px;
  color: rgba(255, 248, 236, 0.72);
  border-top: 1px solid rgba(255, 248, 236, 0.18);
  font-size: 13px;
  text-align: center;
}

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

  .promise-strip,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand span {
    white-space: normal;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 14px;
  }

  .hero,
  .about,
  .inside-card,
  .order {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-scene {
    min-height: 540px;
  }

  .hero-book-main {
    right: 10%;
    width: min(58%, 330px);
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-menu {
    transform: none;
  }
}

@media (max-width: 620px) {
  section {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-scene {
    min-height: 440px;
  }

  .keepsake-photo {
    width: 148px;
    height: 190px;
  }

  .photo-two {
    display: none;
  }

  .book-grid,
  .promise-strip,
  .step-grid,
  .specs,
  .check-list,
  .open-book {
    grid-template-columns: 1fr;
  }

  .book-grid {
    padding: 12px;
  }

  .book-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .book-bottom .button,
  .social-actions,
  .social-actions .button {
    width: 100%;
  }

  .promise-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .promise-strip div:last-child {
    border-bottom: 0;
  }

  .inside-card,
  .order {
    border-radius: 14px;
  }
}

.hero-scene {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.hero-scene-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow-md);
}

.scene-covers {
  position: absolute;
  inset: 0;
}

.scene-covers::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: 4%;
  top: 10%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 248, 236, 0.34), transparent 38%),
    radial-gradient(circle at 68% 76%, rgba(116, 77, 39, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 244, 225, 0.5), rgba(239, 223, 197, 0.12));
  border-radius: 32px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 236, 0.24),
    0 26px 38px rgba(58, 40, 24, 0.12);
  transform: rotate(-1.5deg);
}

.scene-covers::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 7%;
  height: 28%;
  background: radial-gradient(circle, rgba(62, 48, 31, 0.28), transparent 72%);
  filter: blur(22px);
  transform: translateY(8px);
}

.cover-wrap {
  position: absolute;
  width: min(37%, 250px);
  border-radius: 10px;
  box-shadow:
    0 28px 46px rgba(49, 35, 20, 0.3),
    inset 0 0 0 1px rgba(255, 248, 236, 0.16);
  transform-style: preserve-3d;
}

.cover-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.3),
    inset -10px 0 14px rgba(0, 0, 0, 0.18),
    inset 0 -16px 20px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.08));
  mix-blend-mode: multiply;
  opacity: 0.65;
  pointer-events: none;
}

.cover-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.cover-green {
  left: 33%;
  top: 15%;
  z-index: 4;
  transform: rotate(-8deg) translateZ(22px) skewY(-1deg);
}

.cover-purple {
  right: 4%;
  top: 18%;
  z-index: 3;
  transform: rotate(7deg) translateZ(12px) skewY(1deg);
}

.cover-blue {
  right: 15%;
  bottom: 9%;
  z-index: 5;
  transform: rotate(5deg) translateZ(10px) skewY(-1deg);
}

.cover-brown {
  left: 8%;
  bottom: 11%;
  z-index: 2;
  transform: rotate(-9deg) translateZ(8px) skewY(1deg);
}

.story-photo {
  min-height: 0;
}

.story-photo img,
.inside-visual img {
  width: 100%;
  height: clamp(520px, 54vw, 760px);
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.inside-visual img {
  transform: none;
}

.inside-card .eyebrow {
  color: #f0c8a8;
}

.inside-card h2 {
  color: #fff8ec;
}

.inside-card p:not(.eyebrow) {
  color: rgba(255, 248, 236, 0.86);
}

.price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price span {
  color: var(--muted);
  font-size: 12px;
  text-decoration: line-through;
}

.price strong {
  color: var(--walnut);
  font-size: 22px;
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
}

.order-copy strong {
  color: #fff8ec;
}

.order-book img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (max-width: 860px) {
  .hero-scene {
    min-height: 520px;
  }

  .cover-wrap {
    width: min(42%, 200px);
  }
}

@media (max-width: 620px) {
  .hero-scene {
    min-height: 420px;
  }

  .scene-covers {
    display: grid;
  }

  .cover-green {
    left: 8%;
    top: 12%;
    transform: rotate(-8deg) translateZ(16px) skewY(-1deg);
  }

  .cover-purple {
    right: 6%;
    top: 20%;
    transform: rotate(7deg) translateZ(10px) skewY(1deg);
  }

  .cover-blue {
    right: 10%;
    bottom: 12%;
    transform: rotate(4deg) translateZ(8px) skewY(-1deg);
  }

  .cover-brown {
    left: 3%;
    bottom: 8%;
    transform: rotate(-4deg) translateZ(12px) skewY(1deg);
  }
}

.eyebrow::before,
.eyebrow::after {
  content: "♡";
  width: clamp(46px, 7vw, 94px);
  height: 16px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  background: linear-gradient(
    to right,
    currentColor 0 calc(50% - 13px),
    transparent calc(50% - 13px) calc(50% + 13px),
    currentColor calc(50% + 13px) 100%
  );
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 1px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
  opacity: 0.86;
  transform: none;
}

.eyebrow::before {
  transform: scaleX(-1);
}

.hero-scene {
  min-height: min(58vw, 640px);
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.promise-strip div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
}

.promise-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 76px;
  height: 70px;
  color: var(--walnut);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.promise-icon svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promise-strip strong,
.promise-strip p {
  grid-column: 2;
}

@media (max-width: 620px) {
  .hero-photo {
    min-height: 360px;
  }

  .promise-strip div {
    grid-template-columns: 46px minmax(0, 1fr);
  }
}

/* Final visual tuning requested from the reference mockup. */
.brand img {
  width: 66px;
  height: 52px;
}

.hero {
  padding-top: clamp(34px, 4.4vw, 58px);
  padding-bottom: clamp(36px, 4.6vw, 58px);
}

h1 {
  font-size: clamp(34px, 4vw, 52px);
}

#books-title,
#inside-title,
#steps-title {
  font-size: clamp(28px, 3.25vw, 42px);
}

.inside-card h2 {
  font-size: clamp(30px, 3.5vw, 44px);
}

.books .section-heading h2 {
  font-size: clamp(28px, 3.25vw, 42px);
}

.hero-actions {
  gap: 0;
}

.eyebrow {
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.15;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: clamp(82px, 10.5vw, 132px);
  height: 22px;
  opacity: 0.88;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 38'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 20h64'/%3E%3Cpath d='M148 20h64'/%3E%3Cpath d='M110 24c-10-7-20-14-18-22 9-2 14 4 18 11 4-7 9-13 18-11 2 8-8 15-18 22Z'/%3E%3Cpath d='M76 20c13 0 22-7 25-17'/%3E%3Cpath d='M144 20c-13 0-22-7-25-17'/%3E%3Cpath d='M83 21c-8 11-23 13-35 7'/%3E%3Cpath d='M137 21c8 11 23 13 35 7'/%3E%3Cpath d='M61 14c8-11 20-10 25-2'/%3E%3Cpath d='M159 14c-8-11-20-10-25-2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 38'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 20h64'/%3E%3Cpath d='M148 20h64'/%3E%3Cpath d='M110 24c-10-7-20-14-18-22 9-2 14 4 18 11 4-7 9-13 18-11 2 8-8 15-18 22Z'/%3E%3Cpath d='M76 20c13 0 22-7 25-17'/%3E%3Cpath d='M144 20c-13 0-22-7-25-17'/%3E%3Cpath d='M83 21c-8 11-23 13-35 7'/%3E%3Cpath d='M137 21c8 11 23 13 35 7'/%3E%3Cpath d='M61 14c8-11 20-10 25-2'/%3E%3Cpath d='M159 14c-8-11-20-10-25-2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.eyebrow::before {
  transform: scaleX(-1);
}

.eyebrow::after {
  transform: none;
}

.books {
  padding-top: clamp(22px, 3.2vw, 42px);
}

.books .section-heading p:not(.eyebrow) {
  margin-top: 10px;
  font-size: 17px;
}

.book-grid {
  margin-top: 32px;
}

.inside {
  padding-top: clamp(24px, 3.6vw, 46px);
}

.inside-card {
  align-items: start;
  padding-top: clamp(26px, 3.5vw, 42px);
}

.inside-visual {
  align-self: start;
  margin-top: -10px;
}

.story-photo img,
.inside-visual img {
  height: clamp(540px, 56vw, 780px);
}

.about {
  align-items: start;
}

.about-copy {
  padding-top: clamp(4px, 1.2vw, 16px);
}

.story-photo img {
  height: clamp(420px, 42vw, 560px);
}

.hero-actions {
  justify-content: flex-start;
}

.order .eyebrow {
  justify-content: center;
  font-size: 13px;
  line-height: 1.15;
}

.hero-copy .eyebrow,
.about-copy .eyebrow,
.inside-copy .eyebrow,
.order-copy .eyebrow {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

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

.hero-copy h1,
.hero-text {
  margin-inline: auto;
}

.eyebrow::before,
.eyebrow::after {
  width: clamp(78px, 9.4vw, 122px);
  height: 22px;
  opacity: 0.9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 44'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 24h64'/%3E%3Cpath d='M148 24h64'/%3E%3Cpath d='M110 30c-8-6-16-12-14-20 7-2 11 3 14 9 3-6 7-11 14-9 2 8-6 14-14 20Z'/%3E%3Cpath d='M76 24c10 0 17-4 22-12'/%3E%3Cpath d='M144 24c-10 0-17-4-22-12'/%3E%3Cpath d='M91 20c-7-7-15-6-21 0'/%3E%3Cpath d='M129 20c7-7 15-6 21 0'/%3E%3Cpath d='M68 29c11 6 22 4 31-3'/%3E%3Cpath d='M152 29c-11 6-22 4-31-3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 44'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 24h64'/%3E%3Cpath d='M148 24h64'/%3E%3Cpath d='M110 30c-8-6-16-12-14-20 7-2 11 3 14 9 3-6 7-11 14-9 2 8-6 14-14 20Z'/%3E%3Cpath d='M76 24c10 0 17-4 22-12'/%3E%3Cpath d='M144 24c-10 0-17-4-22-12'/%3E%3Cpath d='M91 20c-7-7-15-6-21 0'/%3E%3Cpath d='M129 20c7-7 15-6 21 0'/%3E%3Cpath d='M68 29c11 6 22 4 31-3'/%3E%3Cpath d='M152 29c-11 6-22 4-31-3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

#hero-title::after {
  content: "";
  display: block;
  width: min(360px, 86%);
  height: 52px;
  margin: 16px auto 0;
  background: url("assets/hero-heart-ornament.png") center / contain no-repeat;
  opacity: 1;
}

#hero-title {
  font-size: clamp(42px, 5vw, 68px);
}

.hero-text {
  text-align: justify;
}

#about-title {
  font-size: clamp(28px, 3.2vw, 42px);
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  #books-title,
  #inside-title,
  #steps-title,
  .inside-card h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .brand img {
    width: 58px;
    height: 46px;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 54px;
  }
}

.faq {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: clamp(28px, 4vw, 52px);
}

.faq .section-heading {
  margin-bottom: clamp(24px, 3.2vw, 38px);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  overflow: hidden;
  background: rgba(255, 247, 233, 0.68);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(75, 54, 33, 0.08);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 18px 62px 18px 24px;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.18;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff8ec;
  background: var(--clay);
  border-radius: 999px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--olive);
}

.faq-list details:hover summary::after,
.faq-list summary:focus-visible::after {
  transform: translateY(-50%) scale(1.06);
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text);
  font-size: 17px;
}

.returns {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(36px, 5vw, 72px);
}

.returns .section-heading {
  margin-bottom: clamp(22px, 3vw, 34px);
}

#returns-title {
  font-size: clamp(26px, 2.35vw, 30px);
}

.returns-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.66), transparent 28%),
    rgba(255, 247, 233, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(75, 54, 33, 0.08);
}

.returns-card p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
}

.floating-actions {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 40;
  display: grid;
  gap: 10px;
}

.floating-button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff8ec;
  background: var(--olive);
  border: 1px solid rgba(255, 248, 236, 0.44);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(35, 26, 18, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-button:hover,
.floating-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(35, 26, 18, 0.3);
}

.floating-button.telegram {
  background: #2aabee;
}

.floating-button.telegram .icon-telegram {
  width: 24px;
  height: 24px;
  color: #fff;
}

.floating-button.instagram {
  background:
    radial-gradient(circle at 30% 105%, #fdf497 0 20%, transparent 42%),
    radial-gradient(circle at 15% 90%, #fd5949 0 28%, transparent 48%),
    radial-gradient(circle at 85% 15%, #285aeb 0 22%, transparent 44%),
    linear-gradient(135deg, #f09433 0%, #e6683c 28%, #dc2743 48%, #cc2366 68%, #bc1888 100%);
  border-color: rgba(255, 248, 236, 0.42);
}

.floating-button.instagram .icon-instagram {
  width: 29px;
  height: 29px;
  filter: brightness(0) invert(1);
}

.floating-button.to-top {
  color: #f59a23;
  background: #fff8ec;
  border-color: #f59a23;
}

.floating-button.to-top span {
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

.floating-button.to-top.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
}

@media (max-width: 620px) {
  .faq-list summary {
    min-height: 62px;
    padding: 16px 54px 16px 18px;
  }

  .faq-list p {
    padding-inline: 18px;
    font-size: 16px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .floating-button {
    width: 48px;
    height: 48px;
  }
}

.brand-text {
  gap: 3px;
  font-family: "Century Gothic", "Avenir Next", Montserrat, "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: var(--olive);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.13em;
}

.faq-list summary::after {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  font-size: 26px;
  line-height: 34px;
  text-align: center;
}

.faq-list details[open] summary::after {
  padding-bottom: 4px;
}

@media (max-width: 620px) {
  .brand-text strong {
    font-size: 18px;
  }

  .brand-text small {
    font-size: 8px;
  }
}

.faq-list summary::after {
  content: "";
  padding: 0;
  width: 34px;
  height: 34px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M4 7l5 5 5-5' fill='none' stroke='%23fff8ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat,
    var(--clay);
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "";
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M4 11l5-5 5 5' fill='none' stroke='%23fff8ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat,
    var(--olive);
  transform: translateY(-50%);
}

.faq-list details:hover summary::after,
.faq-list summary:focus-visible::after {
  transform: translateY(-50%) scale(1.08);
}

.faq-list details[open]:hover summary::after,
.faq-list details[open] summary:focus-visible::after {
  transform: translateY(-50%) scale(1.08);
}

.hero .hero-actions {
  justify-content: flex-start;
}

.hero .hero-actions .button {
  margin-left: 0;
  margin-right: auto;
}

.hero-photo,
.story-photo img,
.inside-visual img,
.order-book img {
  border: 14px solid #fff8ec;
  border-radius: 28px;
  outline: 1px solid rgba(118, 83, 45, 0.2);
  outline-offset: -9px;
  background:
    radial-gradient(circle at 10px 10px, rgba(118, 83, 45, 0.16) 0 1px, transparent 1.5px),
    #fff8ec;
  box-shadow:
    0 18px 42px rgba(81, 55, 28, 0.16),
    0 0 0 1px rgba(118, 83, 45, 0.18);
  -webkit-mask-image: none;
  mask-image: none;
  clip-path: none;
}

.hero-photo {
  border-radius: 38px;
}

.story-photo img,
.inside-visual img,
.order-book img {
  border-radius: 32px;
}

.footer {
  padding-top: 62px;
  clip-path: polygon(
    0 22px, 2% 17px, 4% 22px, 6% 17px, 8% 22px, 10% 17px,
    12% 22px, 14% 17px, 16% 22px, 18% 17px, 20% 22px, 22% 17px,
    24% 22px, 26% 17px, 28% 22px, 30% 17px, 32% 22px, 34% 17px,
    36% 22px, 38% 17px, 40% 22px, 42% 17px, 44% 22px, 46% 17px,
    48% 22px, 50% 17px, 52% 22px, 54% 17px, 56% 22px, 58% 17px,
    60% 22px, 62% 17px, 64% 22px, 66% 17px, 68% 22px, 70% 17px,
    72% 22px, 74% 17px, 76% 22px, 78% 17px, 80% 22px, 82% 17px,
    84% 22px, 86% 17px, 88% 22px, 90% 17px, 92% 22px, 94% 17px,
    96% 22px, 98% 17px, 100% 22px, 100% 100%, 0 100%
  );
}

.inside-visual img {
  height: clamp(390px, 42vw, 580px);
  object-position: center;
}

#inside-title {
  font-size: clamp(26px, 2.85vw, 36px);
  line-height: 1.08;
  text-align: center;
}

@media (max-width: 620px) {
  #inside-title {
    font-size: clamp(25px, 7vw, 32px);
  }
}

/* Targeted tuning from the latest review. */
.nav {
  font-size: 16px;
}

#hero-title::after {
  width: min(270px, 66%);
  height: 36px;
  margin-top: 8px;
}

.books .section-heading p:not(.eyebrow) {
  font-weight: 800;
}

.notebook-grid {
  grid-template-columns: minmax(280px, 420px);
  justify-content: center;
  margin-top: 24px;
  background: rgba(255, 248, 236, 0.48);
}

.notebook-card {
  grid-column: 1;
}

.notebook-card h3 {
  font-size: 14px;
  line-height: 1.28;
}

.notebook-card img {
  object-fit: contain;
  background: #fff;
}

.notebook-card .book-content p strong {
  color: var(--olive);
}

.inside-card {
  grid-template-columns: minmax(390px, 0.8fr) minmax(360px, 0.9fr);
}

.inside-copy p:not(.eyebrow) {
  text-align: justify;
}

.check-list {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

#order-title {
  max-width: 620px;
  margin-inline: auto;
  margin-top: 16px;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.08;
  text-align: center;
}

.order .eyebrow {
  color: rgb(240, 200, 168);
}

.order-description span {
  display: block;
}

.order-description {
  text-align: justify;
}

.order-description span + span {
  margin-top: 14px;
}

.order-book p {
  width: 100%;
  max-width: none;
  text-align: center;
}

.order-book p span {
  display: block;
}

.returns-card p span {
  display: block;
}

.returns-card p span + span {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .inside-card {
    grid-template-columns: 1fr;
  }

  .notebook-grid {
    grid-template-columns: minmax(260px, 420px);
  }

  .notebook-card {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .notebook-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep the benefits row compact after the general section rhythm rules. */
.promise-strip {
  padding-block: 10px;
}

@media (max-width: 1120px) {
  .notebook-card {
    grid-column: auto;
  }
}

/* Adjustments from the latest layout review. */
@media (min-width: 901px) {
  .hero-copy {
    transform: translateY(-82px);
  }
}

.promise-strip {
  width: 100%;
  max-width: none;
  padding: 10px 0;
}

.promise-strip div {
  align-content: start;
  padding: 8px clamp(18px, 2.4vw, 34px);
}

#about-title {
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(25px, 2.45vw, 34px);
  text-align: center;
}

.books .section-heading > p:nth-of-type(2) {
  display: none;
}

@media (max-width: 620px) {
  #about-title {
    font-size: clamp(24px, 7vw, 30px);
  }
}

/* Tighter vertical rhythm between the main page blocks. */
.hero {
  padding-top: clamp(26px, 3.2vw, 44px);
  padding-bottom: clamp(28px, 3.4vw, 46px);
}

section {
  padding-top: clamp(24px, 3vw, 42px);
  padding-bottom: clamp(24px, 3vw, 42px);
}

.promise-strip {
  padding-block: clamp(16px, 2.2vw, 24px);
}

.about,
.books,
.inside,
.steps,
.format,
.faq,
.returns {
  padding-top: clamp(22px, 2.8vw, 38px);
  padding-bottom: clamp(22px, 2.8vw, 40px);
}

.book-grid,
.step-grid,
.specs {
  margin-top: clamp(22px, 2.8vw, 30px);
}

.order {
  margin-top: clamp(22px, 3vw, 34px);
  margin-bottom: clamp(22px, 3vw, 34px);
  padding-top: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(24px, 3vw, 36px);
}

.faq .section-heading,
.returns .section-heading {
  margin-bottom: clamp(16px, 2.4vw, 24px);
}

/* Product card alignment refinements. */
.notebook-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: stretch;
}

.order-book p {
  font-size: 20px;
}

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

@media (max-width: 620px) {
  .notebook-grid {
    grid-template-columns: 1fr;
  }
}

.promise-strip {
  padding-block: 10px;
}
