:root {
  --ink: #171714;
  --paper: #fff9ed;
  --paper-2: #f6ead7;
  --mustard: #e5c662;
  --brick: #9e4128;
  --red: #e33832;
  --red-dark: #b92127;
  --teal: #3fa7a3;
  --teal-dark: #217a78;
  --white: #fff;
  --line: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --max: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: .035;
  background-image:
    radial-gradient(rgba(23, 23, 20, .55) .55px, transparent .75px),
    radial-gradient(rgba(23, 23, 20, .35) .45px, transparent .7px);
  background-position: 0 0, 4px 4px;
  background-size: 9px 9px;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
.brand-lockup,
.footer-brand strong {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
}

em {
  font-style: normal;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--white);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 4px solid var(--teal);
  outline-offset: 4px;
}

.brand-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 82px;
  padding: 8px clamp(18px, 4vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: rgba(255, 249, 237, .96);
  border-bottom: var(--line);
  box-shadow: 0 4px 0 rgba(23, 23, 20, .1);
  backdrop-filter: blur(10px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(22px, 2.3vw, 31px);
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}

.brand-lockup img {
  width: 46px;
  height: 62px;
  object-fit: contain;
}

.brand-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.5vw, 40px);
}

.brand-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.brand-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  background: var(--paper);
  border: var(--line);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 3px;
  margin: 4px 0;
  background: var(--ink);
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: var(--line);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.button:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-red,
.button-husband {
  color: var(--white);
  background: var(--red);
}

.button-husband:hover,
.button-red:hover {
  background: var(--red-dark);
}

.button-teal {
  color: var(--white);
  background: var(--teal-dark);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-office {
  color: var(--white);
  background: var(--brick);
}

.text-link {
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  background: var(--mustard);
  border: 2px solid var(--ink);
  text-transform: uppercase;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .13em;
}

.brand-hero {
  min-height: min(810px, calc(100vh - 82px));
  padding: clamp(52px, 7vw, 100px) clamp(18px, 5vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(23, 23, 20, .12) 50%, transparent 50.2%),
    radial-gradient(circle at 85% 20%, rgba(229, 198, 98, .72) 0 16%, transparent 16.3%),
    var(--paper);
  border-bottom: var(--line);
}

.hero-copy {
  max-width: 750px;
}

.hero-copy h1 {
  margin-bottom: 28px;
  font-size: clamp(60px, 7.2vw, 112px);
  line-height: .87;
  letter-spacing: -.025em;
}

.hero-copy h1 em {
  color: var(--red);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--ink);
}

.hero-copy > p {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}


.hero-library {
  position: relative;
  min-height: 610px;
}

.hero-library::before {
  position: absolute;
  inset: 8% 4% 9%;
  content: "";
  background:
    radial-gradient(circle, var(--ink) 1.5px, transparent 1.6px) 0 0 / 11px 11px,
    var(--mustard);
  border: var(--line);
  clip-path: polygon(7% 0, 100% 5%, 91% 100%, 0 91%);
}

.floating-book {
  position: absolute;
  z-index: 2;
  display: block;
  width: clamp(220px, 22vw, 330px);
  text-decoration: none;
  filter: drop-shadow(12px 14px 0 rgba(23, 23, 20, .95));
  transition: transform .25s ease, filter .25s ease;
}

.floating-book:hover {
  z-index: 4;
  filter: drop-shadow(16px 18px 0 rgba(23, 23, 20, .95));
}

.floating-book img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: var(--line);
  background: var(--white);
}

.floating-book span {
  position: absolute;
  right: -14px;
  bottom: 25px;
  padding: 7px 11px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--paper);
  font-family: "Anton", sans-serif;
  font-size: 18px;
  letter-spacing: .06em;
}

.floating-book-office {
  top: 8%;
  left: 4%;
  transform: rotate(-8deg);
}

.floating-book-office:hover {
  transform: rotate(-3deg) translateY(-12px);
}

.floating-book-husband {
  right: 3%;
  bottom: 4%;
  transform: rotate(7deg);
}

.floating-book-husband span {
  color: var(--white);
  background: var(--red);
}

.floating-book-husband:hover {
  transform: rotate(2deg) translateY(-12px);
}

.hero-burst,
.gift-sticker {
  position: absolute;
  z-index: 5;
  width: 130px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--ink);
  text-align: center;
  font-family: "Bangers", cursive;
  font-size: 19px;
  line-height: 1;
  letter-spacing: .04em;
  transform: rotate(-10deg);
  clip-path: polygon(50% 0, 60% 16%, 78% 7%, 81% 27%, 100% 27%, 88% 44%, 100% 59%, 80% 63%, 80% 84%, 61% 75%, 50% 100%, 40% 78%, 19% 88%, 21% 66%, 0 59%, 14% 44%, 0 28%, 21% 27%, 22% 7%, 41% 17%);
}

.hero-burst {
  top: 4%;
  right: -2%;
}

.ticker,
.husband-strip {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  border-bottom: var(--line);
  border-top: 0;
  white-space: nowrap;
}

.ticker > div,
.husband-strip > div {
  width: max-content;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  animation: ticker-move 28s linear infinite;
  font-family: "Anton", sans-serif;
  font-size: 22px;
  letter-spacing: .05em;
}

.ticker b {
  color: var(--mustard);
}

@keyframes ticker-move {
  to { transform: translateX(-35%); }
}

.choice-section,
.inside-section,
.faq-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 9vw, 140px) clamp(18px, 5vw, 80px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(42px, 6vw, 78px);
}

.section-heading h2,
.manifesto-card h2,
.brand-closer h2,
.phrase-intro h2,
.gift-copy h2,
.book-detail-copy h2,
.husband-final-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(46px, 6vw, 86px);
  line-height: .95;
  letter-spacing: -.015em;
}

.section-heading > p {
  max-width: 720px;
  font-size: 18px;
  font-weight: 600;
}

.book-choices {
  display: grid;
  gap: 42px;
}

.choice-card {
  position: relative;
  min-height: 570px;
  padding: clamp(26px, 4vw, 60px);
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  border: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.choice-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .12;
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.6px);
  background-size: 10px 10px;
  pointer-events: none;
}

.choice-office {
  background: var(--mustard);
}

.choice-husband {
  background: var(--teal);
}

.choice-cover {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin: auto;
  transform: rotate(-4deg);
}

.choice-husband .choice-cover {
  transform: rotate(4deg);
}

.choice-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: var(--line);
  box-shadow: 12px 12px 0 var(--ink);
}

.choice-content {
  position: relative;
  z-index: 1;
}

.choice-content .mini-label {
  display: inline-block;
  max-width: 560px;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.choice-content h3 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: .91;
}

.choice-content h3 em {
  color: var(--red);
  text-shadow: 3px 3px 0 var(--ink);
  -webkit-text-stroke: 1px var(--ink);
}

.choice-office .choice-content h3 em {
  color: var(--brick);
}

.choice-content > p {
  max-width: 690px;
  font-size: 18px;
  font-weight: 700;
}

.choice-content ul {
  margin: 24px 0 32px;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.choice-content li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.choice-content li::before {
  content: "✦";
  color: var(--red);
  font-size: 18px;
}

.choice-number {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  padding: 5px 9px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.manifesto-section {
  padding: clamp(40px, 7vw, 100px) clamp(18px, 5vw, 80px) clamp(80px, 10vw, 150px);
  background: var(--paper-2);
  border-top: var(--line);
  border-bottom: var(--line);
}

.manifesto-card {
  position: relative;
  max-width: 1280px;
  margin: auto;
  padding: clamp(42px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  color: var(--paper);
  background: var(--ink);
  border: var(--line);
  box-shadow: 10px 10px 0 var(--red);
}

.manifesto-card .kicker {
  color: var(--ink);
}

.manifesto-card h2 {
  font-size: clamp(44px, 5vw, 74px);
}

.manifesto-copy {
  align-self: end;
  font-size: 17px;
  font-weight: 600;
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
}

.manifesto-stamp {
  position: absolute;
  top: -50px;
  right: 32px;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--paper);
  border-radius: 50%;
  text-align: center;
  font-family: "Bangers", cursive;
  line-height: 1;
  transform: rotate(9deg);
}

.brand-closer {
  max-width: 1280px;
  margin: clamp(70px, 10vw, 150px) auto;
  padding: 34px clamp(24px, 5vw, 62px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  background: var(--mustard);
  border: var(--line);
  box-shadow: var(--shadow);
}

.brand-closer img {
  width: 90px;
  height: 130px;
  object-fit: contain;
}

.brand-closer h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 62px);
}

.brand-footer {
  padding: 38px clamp(18px, 5vw, 70px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px 50px;
  color: var(--paper);
  background: var(--ink);
  border-top: var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--mustard);
  font-size: 32px;
  line-height: 1;
}

.footer-brand span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 249, 237, .3);
  color: rgba(255, 249, 237, .72);
  font-size: 10px;
  font-weight: 700;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 120;
  max-width: 920px;
  margin: auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  background: var(--paper);
  border: var(--line);
  box-shadow: 8px 8px 0 var(--ink);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  flex: 1;
  font-size: 12px;
}

.cookie-notice .button {
  flex: none;
  min-height: 40px;
  padding: 9px 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .75, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Husband landing */

.husband-site {
  background:
    linear-gradient(rgba(227, 56, 50, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 56, 50, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

.husband-header {
  border-bottom-color: var(--red);
}

.husband-header .brand-nav a::after {
  background: var(--teal);
}

.husband-hero {
  min-height: min(870px, calc(100vh - 82px));
  padding: clamp(50px, 6vw, 90px) clamp(18px, 5vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 32%, rgba(63, 167, 163, .62) 0 23%, transparent 23.4%),
    linear-gradient(115deg, transparent 66%, rgba(227, 56, 50, .12) 66.2% 68%, transparent 68.2%),
    var(--paper);
  border-bottom: var(--line);
}

.husband-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 850px;
}

.husband-kicker {
  color: var(--white);
  background: var(--teal-dark);
}

.hero-101 {
  margin: -14px 0 -16px;
  color: var(--red);
  font-family: "Bangers", cursive;
  font-size: clamp(110px, 15vw, 220px);
  line-height: .8;
  letter-spacing: -.03em;
  text-shadow: 6px 6px 0 var(--ink);
  -webkit-text-stroke: 3px var(--ink);
}

.husband-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(43px, 5.4vw, 82px);
  line-height: .9;
}

.husband-hero h1 em {
  color: var(--red);
  text-shadow: 3px 3px 0 var(--ink);
  -webkit-text-stroke: 1px var(--ink);
}

.husband-lead {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
}

.husband-badges {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.husband-badges span {
  padding: 7px 10px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
}

.husband-cover-stage {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
  perspective: 1300px;
}

.cover-halo {
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, var(--ink) 1.4px, transparent 1.6px) 0 0 / 11px 11px,
    var(--teal);
  border: var(--line);
  border-radius: 50%;
}

.husband-book {
  position: relative;
  z-index: 2;
  width: min(390px, 70%);
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateZ(3deg);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  filter: drop-shadow(15px 18px 0 var(--ink));
}

.husband-book.is-flipped {
  transform: rotateY(172deg) rotateZ(-2deg);
}

.husband-book img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: var(--line);
  backface-visibility: hidden;
  background: var(--white);
}

.husband-book-back {
  transform: rotateY(180deg);
}

.flip-hint {
  position: absolute;
  right: 5%;
  bottom: 7%;
  z-index: 5;
  padding: 9px 12px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--red);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
}

.comic-caption {
  position: absolute;
  z-index: 5;
  padding: 9px 12px;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Bangers", cursive;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1;
}

.caption-top {
  top: 8%;
  left: -4%;
  transform: rotate(-5deg);
}

.caption-bottom {
  right: 0;
  bottom: 17%;
  color: var(--white);
  background: var(--red);
  transform: rotate(4deg);
}

.husband-strip {
  color: var(--ink);
  background: var(--red);
}

.husband-strip > div {
  font-size: 20px;
}

.husband-strip b {
  color: var(--paper);
}

.phrase-lab {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(86px, 10vw, 150px) clamp(18px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(440px, 1.2fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.phrase-intro h2 {
  font-size: clamp(48px, 5.6vw, 82px);
}

.phrase-intro p {
  max-width: 560px;
  font-size: 18px;
  font-weight: 600;
}

.phrase-machine {
  position: relative;
  min-height: 430px;
  padding: clamp(32px, 5vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle, rgba(23, 23, 20, .13) 1.2px, transparent 1.3px) 0 0 / 10px 10px,
    var(--teal);
  border: var(--line);
  box-shadow: 12px 12px 0 var(--ink);
}

.phrase-machine::after {
  position: absolute;
  right: 35px;
  bottom: -38px;
  width: 0;
  height: 0;
  content: "";
  border-top: 40px solid var(--ink);
  border-left: 45px solid transparent;
}

.phrase-label {
  align-self: flex-start;
  margin-bottom: 24px;
  padding: 6px 10px;
  color: var(--paper);
  background: var(--ink);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.phrase-machine blockquote {
  margin: 0 0 18px;
  font-family: "Bangers", cursive;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  transition: opacity .2s ease, transform .2s ease;
}

.phrase-machine blockquote.is-changing {
  opacity: 0;
  transform: translateY(8px) rotate(-1deg);
}

.phrase-signature {
  margin-left: auto;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.phrase-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.inside-section {
  border-top: var(--line);
  border-bottom: var(--line);
  background: var(--paper-2);
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.inside-card {
  position: relative;
  min-height: 330px;
  padding: clamp(28px, 4vw, 50px);
  border: var(--line);
  box-shadow: 7px 7px 0 var(--ink);
  overflow: hidden;
}

.inside-card::after {
  position: absolute;
  right: -25px;
  bottom: -32px;
  width: 150px;
  aspect-ratio: 1;
  content: "";
  border: 20px solid rgba(23, 23, 20, .1);
  border-radius: 50%;
}

.inside-card h3 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: .95;
}

.inside-card p {
  max-width: 540px;
  font-size: 17px;
  font-weight: 600;
}

.inside-card strong {
  display: block;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 2px solid currentColor;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .06em;
}

.inside-icon {
  display: block;
  margin-bottom: 28px;
  font-family: "Bangers", cursive;
  font-size: 44px;
  line-height: 1;
}

.inside-red {
  color: var(--white);
  background: var(--red);
}

.inside-teal {
  background: var(--teal);
}

.inside-cream {
  background: var(--paper);
}

.inside-dark {
  color: var(--paper);
  background: var(--ink);
}

.gift-section,
.book-detail-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(86px, 10vw, 150px) clamp(18px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}

.gift-visual {
  position: relative;
}

.gift-visual img {
  width: 100%;
  border: var(--line);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-3deg);
}

.gift-sticker {
  top: -50px;
  right: -28px;
  width: 155px;
  font-size: 18px;
}

.gift-copy h2 {
  font-size: clamp(52px, 6vw, 88px);
}

.gift-list {
  margin: 28px 0;
  border-top: 2px solid var(--ink);
}

.gift-list > div {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border-bottom: 2px solid var(--ink);
}

.gift-list span {
  color: var(--red);
  font-family: "Bangers", cursive;
  font-size: 28px;
}

.gift-list p {
  margin: 0;
}

.gift-occasions {
  margin-bottom: 28px;
  color: var(--teal-dark);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}

.book-detail-section {
  max-width: none;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, .8fr);
  background:
    radial-gradient(circle, rgba(23, 23, 20, .12) 1.4px, transparent 1.6px) 0 0 / 11px 11px,
    var(--teal);
  border-top: var(--line);
  border-bottom: var(--line);
}

.book-spread {
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.book-spread img {
  width: min(310px, 44%);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: var(--line);
  box-shadow: 10px 10px 0 var(--ink);
}

.book-spread img:first-child {
  z-index: 2;
  transform: rotate(-6deg) translateX(10px);
}

.book-spread img:last-child {
  transform: rotate(6deg) translateX(-10px);
}

.book-detail-copy {
  padding: clamp(30px, 4vw, 60px);
  background: var(--paper);
  border: var(--line);
  box-shadow: 10px 10px 0 var(--ink);
}

.book-detail-copy h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.book-detail-copy > p {
  font-size: 17px;
  font-weight: 600;
}

.book-detail-copy dl {
  margin: 28px 0 34px;
  border-top: 2px solid var(--ink);
}

.book-detail-copy dl div {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  border-bottom: 2px solid var(--ink);
}

.book-detail-copy dt {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
}

.book-detail-copy dd {
  margin: 0;
  font-weight: 700;
}

.faq-section {
  max-width: 1200px;
}

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

.faq-list details {
  align-self: start;
  background: var(--white);
  border: var(--line);
  box-shadow: 5px 5px 0 var(--ink);
}

.faq-list summary {
  min-height: 76px;
  padding: 20px 54px 20px 22px;
  display: flex;
  align-items: center;
  position: relative;
  list-style: none;
  font-family: "Anton", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  content: "+";
  color: var(--red);
  font-family: "Bangers", cursive;
  font-size: 34px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details[open] summary {
  border-bottom: 2px solid var(--ink);
  background: var(--teal);
}

.faq-list details p {
  padding: 18px 22px 22px;
  margin: 0;
  font-weight: 600;
}

.husband-final-cta {
  margin: 0;
  padding: clamp(50px, 7vw, 90px) clamp(18px, 6vw, 90px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  color: var(--white);
  background: var(--red);
  border-top: var(--line);
}

.husband-final-cta .kicker {
  color: var(--ink);
}

.husband-final-cta h2 {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 82px);
}

.husband-final-cta h2 em {
  color: var(--paper);
  text-shadow: 4px 4px 0 var(--ink);
}

.final-heart {
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: clamp(80px, 12vw, 150px);
  line-height: 1;
  text-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-8deg);
}

.husband-footer {
  grid-template-columns: .8fr 1.2fr;
}

.footer-newsletter {
  justify-self: end;
  width: min(100%, 580px);
}

.footer-newsletter label {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
}

.footer-newsletter > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.footer-newsletter input {
  min-width: 0;
  padding: 11px 13px;
  border: 2px solid var(--paper);
  color: var(--paper);
  background: transparent;
  outline-offset: 3px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 249, 237, .6);
}

.footer-newsletter button {
  padding: 11px 16px;
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--paper);
  border-left: 0;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.footer-newsletter .form-status {
  display: block;
  min-height: 20px;
  margin-top: 6px;
  color: var(--mustard);
  font-size: 10px;
  font-weight: 700;
}

.share-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 140;
  max-width: calc(100% - 36px);
  padding: 12px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--paper);
  box-shadow: 5px 5px 0 var(--red);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px);
  transition: opacity .2s ease, transform .2s ease;
}

.share-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1080px) {
  .brand-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    grid-column: 3;
  }

  .brand-nav {
    position: absolute;
    top: calc(100% + 3px);
    right: 18px;
    left: 18px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border: var(--line);
    box-shadow: 7px 7px 0 var(--ink);
  }

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

  .brand-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(23, 23, 20, .25);
  }

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

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .brand-hero,
  .husband-hero {
    grid-template-columns: 1fr;
  }

  .brand-hero {
    background:
      radial-gradient(circle at 80% 65%, rgba(229, 198, 98, .65) 0 15%, transparent 15.3%),
      var(--paper);
  }

  .hero-library {
    width: min(780px, 100%);
    margin: auto;
  }

  .husband-cover-stage {
    min-height: 700px;
  }

  .phrase-lab {
    grid-template-columns: 1fr;
  }

  .phrase-intro {
    max-width: 800px;
  }

  .brand-closer,
  .husband-final-cta {
    grid-template-columns: auto 1fr;
  }

  .brand-closer .button,
  .husband-final-cta .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .header-cta {
    display: none;
  }

  .brand-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    grid-column: 2;
  }

  .brand-hero,
  .husband-hero {
    padding-top: 46px;
  }

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

  .floating-book {
    width: min(42vw, 280px);
  }

  .choice-card,
  .manifesto-card,
  .gift-section,
  .book-detail-section {
    grid-template-columns: 1fr;
  }

  .choice-card {
    padding-top: 62px;
  }

  .choice-cover {
    width: min(320px, 75%);
  }

  .manifesto-card {
    gap: 24px;
  }

  .manifesto-stamp {
    width: 96px;
    height: 96px;
    top: -42px;
  }

  .inside-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .gift-section {
    gap: 70px;
  }

  .gift-visual {
    width: min(600px, 88%);
    margin: auto;
  }

  .book-detail-section {
    gap: 20px;
  }

  .book-spread {
    min-height: 500px;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }

  .husband-final-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .final-heart {
    margin: auto;
  }

  .husband-final-cta .button {
    grid-column: 1;
    justify-self: center;
  }
}

@media (max-width: 580px) {
  .brand-header {
    min-height: 72px;
    padding: 5px 14px;
  }

  .brand-lockup {
    font-size: 21px;
  }

  .brand-lockup img {
    width: 38px;
    height: 54px;
  }

  .brand-hero,
  .husband-hero,
  .choice-section,
  .inside-section,
  .faq-section,
  .phrase-lab,
  .gift-section,
  .book-detail-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 18vw, 78px);
  }

  .hero-copy h1 em {
    -webkit-text-stroke-width: 1px;
    text-shadow: 3px 3px 0 var(--ink);
  }

  .hero-actions,
  .phrase-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .phrase-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    padding: 10px 0;
    text-align: center;
  }


  .hero-library {
    min-height: 410px;
  }

  .hero-library::before {
    inset: 5% 0;
  }

  .floating-book {
    width: 45vw;
  }

  .floating-book span {
    right: -8px;
    bottom: 12px;
    font-size: 12px;
  }

  .floating-book-office {
    top: 9%;
    left: 1%;
  }

  .floating-book-husband {
    right: 1%;
    bottom: 3%;
  }

  .hero-burst {
    width: 88px;
    right: 0;
    font-size: 13px;
  }

  .ticker > div,
  .husband-strip > div {
    font-size: 17px;
  }

  .section-heading h2,
  .phrase-intro h2,
  .gift-copy h2,
  .book-detail-copy h2 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .choice-card {
    padding: 58px 18px 30px;
  }

  .choice-content h3 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .choice-content > p,
  .section-heading > p,
  .phrase-intro p {
    font-size: 16px;
  }

  .manifesto-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .manifesto-card {
    padding: 42px 22px 28px;
  }

  .manifesto-card h2 {
    font-size: 42px;
  }

  .manifesto-stamp {
    right: 15px;
  }

  .brand-closer {
    margin: 70px 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-closer img {
    margin: auto;
  }

  .brand-closer .button {
    grid-column: 1;
    justify-self: stretch;
  }

  .brand-footer,
  .husband-footer {
    padding: 32px 18px;
  }

  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .husband-hero h1 {
    font-size: clamp(41px, 13vw, 62px);
  }

  .hero-101 {
    font-size: clamp(108px, 38vw, 158px);
  }

  .husband-cover-stage {
    min-height: 510px;
  }

  .cover-halo {
    width: 95vw;
    max-width: 420px;
  }

  .husband-book {
    width: min(280px, 66vw);
  }

  .comic-caption {
    font-size: 15px;
  }

  .caption-top {
    left: 0;
  }

  .caption-bottom {
    right: 0;
    bottom: 13%;
  }

  .flip-hint {
    right: auto;
    bottom: 1%;
  }

  .phrase-machine {
    min-height: 410px;
    padding: 32px 22px;
  }

  .phrase-machine blockquote {
    font-size: clamp(30px, 9vw, 42px);
  }

  .inside-card {
    min-height: 300px;
    padding: 28px 22px;
  }

  .gift-visual {
    width: 86%;
  }

  .gift-sticker {
    width: 112px;
    top: -42px;
    right: -35px;
    font-size: 14px;
  }

  .book-spread {
    min-height: 390px;
  }

  .book-spread img {
    width: 47%;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .book-detail-copy {
    padding: 28px 20px;
  }

  .book-detail-copy dl div {
    grid-template-columns: 94px 1fr;
    gap: 12px;
  }

  .faq-list summary {
    font-size: 19px;
  }

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

  .footer-newsletter button {
    border-top: 0;
    border-left: 2px solid var(--paper);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* === LAYOUT REPAIR 2026-07-27 === */
/* Griglia stabile: copertine sempre intere, schede simmetriche, nessun ritaglio. */
.brand-hero {
  min-height: 720px;
  grid-template-columns: minmax(0, 630px) minmax(500px, 650px);
  justify-content: center;
  gap: clamp(44px, 5vw, 86px);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(23, 23, 20, .12) 50%, transparent 50.2%),
    var(--paper);
}

.hero-copy h1 {
  font-size: clamp(56px, 6vw, 96px);
}

.hero-library {
  isolation: isolate;
  min-height: 540px;
  padding: 36px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
}

.hero-library::before,
.hero-library::after {
  position: absolute;
  z-index: 0;
  content: "";
  border: var(--line);
  pointer-events: none;
}

.hero-library::before {
  inset: -4px clamp(-86px, -5vw, -24px) -6px;
  background:
    radial-gradient(circle, rgba(23, 23, 20, .82) 1.4px, transparent 1.6px) 0 0 / 11px 11px,
    linear-gradient(
      104deg,
      var(--mustard) 0 48%,
      var(--ink) 48.1% 48.8%,
      var(--teal) 48.9% 100%
    );
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-1deg);
}

.hero-library::after {
  display: none;
}

.floating-book,
.floating-book-office,
.floating-book-husband {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: min(406.25px, 46vw);
  justify-self: center;
}

.floating-book {
  filter: drop-shadow(9px 11px 0 rgba(23, 23, 20, .95));
}

.floating-book:hover {
  filter: drop-shadow(12px 14px 0 rgba(23, 23, 20, .95));
}

.floating-book-office {
  transform: translateX(-30px) rotate(-2deg);
}

.floating-book-office:hover {
  transform: translateX(-30px) rotate(-1deg) translateY(-8px);
}

.floating-book-husband {
  transform: translateX(30px) rotate(2deg);
}

.floating-book-husband:hover {
  transform: translateX(30px) rotate(1deg) translateY(-8px);
}

.floating-book img,
.choice-cover img,
.book-spread img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.hero-burst {
  top: 12px;
  right: 12px;
  width: 106px;
  font-size: 16px;
}

.choice-section {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(76px, 8vw, 116px);
}

.section-heading {
  margin-bottom: clamp(38px, 4vw, 58px);
}

.book-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(24px, 3vw, 40px);
}

.choice-card {
  min-height: 0;
  padding: 50px 44px 42px;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 34px;
}

.choice-cover,
.choice-husband .choice-cover {
  width: min(100%, 280px);
  max-width: none;
  margin: 0 auto;
  transform: none;
}

.choice-cover img {
  border: var(--line);
  box-shadow: 10px 10px 0 var(--ink);
}

.choice-content {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.choice-content h3 {
  width: 100%;
  margin-bottom: 18px;
  font-size: clamp(38px, 3.15vw, 58px);
  line-height: .94;
  overflow-wrap: anywhere;
}

.choice-content > p {
  font-size: 16px;
}

.choice-content ul {
  width: 100%;
  margin: 22px 0 28px;
}

.choice-content > .button {
  margin-top: auto;
}

.husband-book {
  aspect-ratio: 1874 / 2775;
}

.husband-book img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1080px) {
  .brand-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-library {
    width: min(760px, 100%);
    min-height: 510px;
    margin: 0 auto;
  }

  .book-choices {
    grid-template-columns: 1fr;
  }

  .choice-card {
    padding: 48px 54px;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: clamp(42px, 6vw, 72px);
  }

  .choice-cover,
  .choice-husband .choice-cover {
    width: min(100%, 280px);
  }

  .choice-content h3 {
    font-size: clamp(42px, 5.5vw, 64px);
  }
}

@media (max-width: 820px) {
  .choice-card {
    padding: 58px 30px 36px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 36px;
  }

  .choice-cover,
  .choice-husband .choice-cover {
    width: min(280px, 72vw);
  }

  .choice-content {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .brand-hero {
    padding-top: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 15.5vw, 68px);
  }

  .hero-library {
    min-height: 0;
    padding: 48px 12px 30px;
    gap: 12px;
  }

  .floating-book,
  .floating-book-office,
  .floating-book-husband {
    width: 100%;
  }

  .floating-book-office {
    transform: rotate(-2deg);
  }

  .floating-book-husband {
    transform: rotate(2deg);
  }

  .hero-library::before {
    inset: 12px 4px 8px;
    transform: rotate(-.5deg);
  }

  .floating-book span {
    right: -4px;
    bottom: 10px;
    padding: 5px 7px;
    font-size: 10px;
  }

  .hero-burst {
    top: -5px;
    right: 2px;
    width: 76px;
    font-size: 11px;
  }

  .choice-card {
    padding: 54px 18px 30px;
    gap: 30px;
  }

  .choice-cover,
  .choice-husband .choice-cover {
    width: min(240px, 70vw);
  }

  .choice-content h3 {
    font-size: clamp(38px, 11.5vw, 52px);
  }

  .choice-content > .button {
    width: 100%;
  }
}
/* Stato di creazione della card condivisibile. */
#share-husband-phrase:disabled {
  opacity: .62;
  cursor: wait;
  transform: none;
  box-shadow: 3px 3px 0 var(--ink);
}
/* === HUSBAND PAGE REFINEMENTS 2026-07-27 === */
.husband-hero {
  min-height: min(835px, calc(100vh - 117px));
  padding-bottom: clamp(20px, 3.5vw, 55px);
}

.husband-book {
  cursor: pointer;
  user-select: none;
  will-change: transform;
  filter: none;
}

.husband-book:focus-visible {
  outline: 5px solid var(--red);
  outline-offset: 12px;
}

.husband-book img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 15px 18px 0 var(--ink);
}

.husband-book-front {
  opacity: 1;
  transform: rotateY(0deg);
}

.husband-book-back {
  opacity: 0;
}

.husband-book.is-flipped .husband-book-front {
  opacity: 0;
}

.husband-book.is-flipped .husband-book-back {
  opacity: 1;
}

.gift-visual {
  width: min(748.8px, 100%);
  margin-inline: auto;
}

.gift-visual img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.book-detail-section {
  grid-template-columns: minmax(0, 1.1fr) minmax(480px, .9fr);
  gap: 0;
  overflow: hidden;
}

.book-spread {
  position: relative;
  z-index: 1;
  min-height: 650px;
  margin-right: -150px;
  padding: 30px 0;
}

.book-spread img {
  flex: 0 0 auto;
  width: min(650px, 50%);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.book-detail-copy {
  position: relative;
  z-index: 3;
}

@media (max-width: 1080px) {
  .book-detail-section {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .85fr);
  }

  .book-spread {
    min-height: 540px;
    margin-right: -90px;
  }

  .book-spread img {
    width: min(300px, 50%);
  }
}

@media (max-width: 820px) {
  .gift-visual {
    width: min(748.8px, 88%);
  }

  .book-detail-section {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow: hidden;
  }

  .book-spread {
    min-height: 430px;
    margin-right: 0;
  }

  .book-spread img {
    width: min(260px, 43%);
  }
}

@media (max-width: 580px) {
  .gift-visual {
    width: 86%;
  }

  .book-spread {
    min-height: 330px;
  }

  .book-spread img {
    width: min(165px, 44%);
  }
}

/* === HOMEPAGE HERO DEFINITIVA: PROPOSTA 2 / NUVOLETTA POP === */
.brand-hero {
  min-height: 0;
  grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr);
  gap: clamp(24px, 2.5vw, 36px);
  padding-left: clamp(20px, 3.5vw, 56px);
  padding-right: clamp(10px, 1vw, 14px);
  padding-block: clamp(16px, 2vw, 28px);
  overflow: hidden;
  background: var(--paper);
}

.hero-visual {
  min-width: 0;
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}


.hero-library {
  --hero-cover-width: clamp(250px, 22vw, 270px);
  --hero-cover-gap: clamp(18px, 2vw, 30px);
  --hero-panel-padding: clamp(28px, 2vw, 34px);
  position: relative;
  isolation: isolate;
  width: min(100%, 670px);
  max-width: 100%;
  align-self: flex-end;
  min-height: 0;
  margin: 0 0 38px;
  padding: var(--hero-panel-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--hero-cover-gap);
  overflow: visible;
}

.hero-library::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  content: "";
  background:
    radial-gradient(circle, rgba(23, 23, 20, .56) 1.25px, transparent 1.45px) 0 0 / 10px 10px,
    linear-gradient(
      90deg,
      var(--mustard) 0 49.2%,
      var(--ink) 49.3% 50%,
      var(--teal) 50.1% 100%
    );
  border: 4px solid var(--ink);
  border-radius: clamp(38px, 6vw, 76px);
  box-shadow: 11px 12px 0 var(--ink);
  clip-path: none;
  transform: none;
  pointer-events: none;
}

.hero-library::after {
  position: absolute;
  top: auto;
  right: auto;
  bottom: -34px;
  left: 58%;
  z-index: 0;
  display: block;
  width: 72px;
  height: 48px;
  content: "";
  background:
    radial-gradient(circle, rgba(23, 23, 20, .56) 1.25px, transparent 1.45px) 0 0 / 10px 10px,
    var(--teal);
  border: 0;
  clip-path: polygon(0 0, 100% 0, 42% 100%);
  filter:
    drop-shadow(4px 0 0 var(--ink))
    drop-shadow(-4px 0 0 var(--ink))
    drop-shadow(0 5px 0 var(--ink));
  transform: none;
  pointer-events: none;
}

.floating-book,
.floating-book-office,
.floating-book-husband {
  position: relative;
  top: 0;
  right: auto;
  bottom: auto;
  flex: 0 0 auto;
  width: var(--hero-cover-width);
  justify-self: auto;
}

.floating-book-office {
  left: -10px;
  z-index: 4;
  transform: rotate(-2deg);
}

.floating-book-office:hover {
  transform: translateY(-8px) rotate(-2deg);
}

.floating-book-husband {
  left: 0;
  z-index: 3;
  transform: rotate(-2deg);
}

.floating-book-husband:hover {
  transform: translateY(-8px) rotate(-2deg);
}

@media (max-width: 1080px) {
  .brand-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .hero-library {
    --hero-cover-width: min(290px, 32vw);
    --hero-cover-gap: min(48px, 4vw);
    --hero-panel-padding: min(42px, 4vw);
    width: min(calc(100% - 18px), 720px);
    margin: 0 auto 40px;
  }
}

@media (max-width: 580px) {

  .hero-library {
    --hero-cover-width: min(210px, 36vw);
    --hero-cover-gap: min(36px, 5vw);
    --hero-panel-padding: min(32px, 4.5vw);
    padding: var(--hero-panel-padding);
    gap: var(--hero-cover-gap);
  }

  .hero-library::before {
    border-radius: 32px;
    box-shadow: 7px 8px 0 var(--ink);
  }

  .hero-library::after {
    bottom: -34px;
    width: 68px;
    height: 46px;
  }

  .floating-book,
  .floating-book-office,
  .floating-book-husband {
    width: var(--hero-cover-width);
  }

  .floating-book-office {
    left: -10px;
  }
}
/* Le cover nella scelta del libro sono interamente cliccabili. */
.choice-cover-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, filter 180ms ease;
}

.choice-cover-link:hover {
    transform: translateY(-7px);
    filter: drop-shadow(5px 7px 0 rgba(20, 19, 16, 0.22));
}

.choice-cover-link:focus-visible {
    outline: 4px solid var(--red);
    outline-offset: 8px;
}
/* Cornice desktop: solo home del brand e pagina marito. */
body.brand-home,
body.husband-site {
    --max: 1200px;
    width: min(100%, 1200px);
    margin-inline: auto;
}
