/* Package 6: Theme & Public Site v1.2.0 */

.theme-public {
  --theme-bg: #f3ece0;
  --theme-paper: #fbf6ee;
  --theme-paper-deep: #f0e4d0;
  --theme-ink: #2a261f;
  --theme-muted: #6f6a5f;
  --theme-dark: #304431;
  --theme-dark-soft: #53614d;
  --theme-accent: #b1823b;
  --theme-accent-soft: #e4d2aa;
  --theme-clay: #bd7d60;
  --theme-border: #dcc9ad;
  --theme-shadow: 0 20px 48px rgba(60, 43, 24, .12);
  color: var(--theme-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(231, 216, 184, .5), transparent 18%),
    linear-gradient(180deg, #f7f1e7, #f1e8da 42%, #f6efe4 100%);
}
.theme-palette-olive-gold {
  --theme-bg: #f5efe4;
  --theme-paper: #fffaf2;
  --theme-paper-deep: #f0e5d2;
  --theme-ink: #292820;
  --theme-muted: #746f64;
  --theme-dark: #2f3b2f;
  --theme-dark-soft: #59634d;
  --theme-accent: #a87836;
  --theme-accent-soft: #e8d3ae;
  --theme-clay: #b97055;
  --theme-border: #ddd1bd;
}
.theme-palette-terracotta-cream {
  --theme-bg: #f4ebe2;
  --theme-paper: #fffaf7;
  --theme-paper-deep: #f0e4db;
  --theme-ink: #342923;
  --theme-muted: #78675e;
  --theme-dark: #4a342b;
  --theme-dark-soft: #765648;
  --theme-accent: #a7543d;
  --theme-accent-soft: #ead0c2;
  --theme-clay: #b76549;
  --theme-border: #ddc8ba;
}
.theme-palette-alpine-blue {
  --theme-bg: #eef0ed;
  --theme-paper: #faf9f4;
  --theme-paper-deep: #e8ede9;
  --theme-ink: #273033;
  --theme-muted: #697277;
  --theme-dark: #263a3e;
  --theme-dark-soft: #51666b;
  --theme-accent: #9d773c;
  --theme-accent-soft: #e1d0ad;
  --theme-clay: #6d8790;
  --theme-border: #cfd6d3;
}

.theme-public .button-primary {
  color: #fff;
  background: var(--theme-accent);
  border-color: color-mix(in srgb, var(--theme-accent) 70%, #000);
}
.theme-public .button-primary:hover { background: color-mix(in srgb, var(--theme-accent) 84%, #000); }
.theme-public .button-secondary {
  color: var(--theme-dark);
  border-color: var(--theme-border);
  background: rgba(255,255,255,.5);
}
.theme-public .button-light {
  color: var(--theme-dark);
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.85);
}
.theme-public .eyebrow {
  color: var(--theme-accent);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Header */
.theme-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 92px;
  padding: 1rem clamp(1.2rem, 4vw, 4.5rem);
  background: color-mix(in srgb, var(--theme-paper) 92%, transparent);
  border-bottom: 1px solid rgba(183, 159, 114, .28);
  backdrop-filter: blur(8px);
}
.theme-site-nav {
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.65rem);
}
.theme-site-nav > a {
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.theme-site-nav .nav-account {
  background: rgba(255,255,255,.75);
  border-color: var(--theme-border);
}
.theme-site-nav .nav-logout {
  color: var(--theme-paper);
  background: var(--theme-dark);
}

/* Home hero */
.theme-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(480px, 1.16fr);
  min-height: 760px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(3.6rem, 7vw, 7rem) clamp(1.2rem, 6vw, 6.4rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0)),
    linear-gradient(135deg, rgba(255,255,255,.2), transparent 50%),
    var(--theme-bg);
}
.theme-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/theme/scrapbook-mountain-alsace.svg') right bottom / min(58vw, 900px) auto no-repeat;
  opacity: .92;
  z-index: -3;
}
.theme-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(16vw, 220px);
  background: url('../img/theme/scrapbook-botanical-left.svg') left center / contain no-repeat;
  opacity: .92;
  z-index: -2;
}
.theme-hero-copy {
  position: relative;
  max-width: 690px;
  margin-left: clamp(0rem, 1vw, .5rem);
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.62));
  border: 1px solid rgba(222, 204, 173, .92);
  box-shadow: var(--theme-shadow);
}
.theme-hero-copy::before,
.theme-hero-copy::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 12px;
  background: rgba(222, 203, 170, .65);
  filter: blur(1px);
}
.theme-hero-copy::before { top: -6px; clip-path: polygon(0 40%, 3% 0, 6% 52%, 12% 18%, 18% 55%, 22% 26%, 28% 62%, 35% 20%, 41% 58%, 49% 25%, 56% 63%, 63% 18%, 70% 58%, 77% 24%, 83% 60%, 90% 20%, 96% 53%, 100% 12%, 100% 100%, 0 100%); }
.theme-hero-copy::after { bottom: -6px; clip-path: polygon(0 0, 5% 50%, 11% 20%, 18% 66%, 26% 28%, 34% 73%, 41% 16%, 49% 60%, 57% 22%, 65% 70%, 74% 28%, 83% 65%, 90% 18%, 96% 60%, 100% 34%, 100% 100%, 0 100%); }
.theme-hero-copy h1 {
  max-width: 680px;
  margin-bottom: 1rem;
  color: var(--theme-dark);
  font-size: clamp(3.5rem, 6vw, 6.3rem);
  line-height: .94;
  letter-spacing: -.06em;
}
.theme-hero-intro {
  max-width: 560px;
  color: var(--theme-muted);
  font-size: 1.08rem;
}
.theme-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.55rem; }
.theme-hero-note {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-top: 2.1rem;
  padding: .65rem 1rem;
  color: var(--theme-dark-soft);
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(220, 201, 173, .92);
  font: italic 1.03rem Georgia, serif;
}
.theme-hero-note i {
  width: 88px;
  height: 8px;
  background: url('../img/theme/scrapbook-honeycomb.svg') center / cover no-repeat;
}

.theme-photo-collage {
  position: relative;
  min-height: 610px;
  padding: 1rem 1rem 2.8rem;
}
.theme-photo-collage figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: #fffdf8;
  border: 12px solid #fffdf8;
  box-shadow: 0 24px 52px rgba(58, 43, 25, .2);
}
.theme-photo-collage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.theme-photo-main {
  inset: 6% 15% 9% 4%;
  transform: rotate(-2.5deg);
}
.theme-photo-small {
  width: 39%;
  height: 38%;
  right: 0;
}
.theme-photo-small-top { top: 1%; transform: rotate(3.2deg); }
.theme-photo-small-bottom { bottom: 3%; transform: rotate(2deg); }
.theme-photo-caption {
  position: absolute;
  right: 12%;
  bottom: 0;
  z-index: 4;
  padding: .65rem 1.1rem;
  color: var(--theme-dark);
  background: #fffaf0;
  border: 1px solid rgba(220,201,173,.92);
  box-shadow: 0 10px 20px rgba(47,42,32,.12);
  font: italic 1.04rem Georgia, serif;
  transform: rotate(-1.5deg);
}

.theme-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 6vw, 6.4rem);
}
.theme-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.theme-section-heading h2 {
  max-width: 780px;
  color: var(--theme-dark);
  font-size: clamp(2.4rem, 4.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.theme-section .text-arrow { color: var(--theme-accent); font-weight: 800; }

.theme-category-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)),
    linear-gradient(140deg, #304431, #42533e 55%, #4f5c46);
  color: var(--theme-paper);
}
.theme-category-section::after {
  content: "";
  position: absolute;
  right: -2rem;
  top: 2rem;
  width: min(28vw, 320px);
  height: min(22vw, 240px);
  background: url('../img/theme/scrapbook-honeycomb.svg') center / contain no-repeat;
  opacity: .25;
}
.theme-category-section .eyebrow { color: var(--theme-accent-soft); }
.theme-category-section h2 { color: var(--theme-paper); }
.theme-category-section .text-arrow { color: var(--theme-accent-soft); }
.theme-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}
.theme-category-card {
  min-height: 340px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 190px 1fr;
  color: var(--theme-ink);
  background: var(--theme-paper);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 18px 38px rgba(0,0,0,.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.theme-category-card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 22px 44px rgba(0,0,0,.16); }
.theme-category-card > img { width: 100%; height: 100%; object-fit: cover; }
.theme-category-card > div { display: grid; align-content: start; padding: 1.25rem; }
.theme-category-card h3 { margin-bottom: .35rem; color: var(--theme-dark); font-size: 1.55rem; }
.theme-category-card p { margin: 0; color: var(--theme-muted); font-size: .9rem; }
.theme-category-card small { margin-top: .8rem; color: var(--theme-accent); font-weight: 800; }

.theme-story-section {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, .95fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.2rem, 6vw, 6.4rem);
  background:
    linear-gradient(90deg, rgba(229, 216, 194, .85), rgba(255,255,255,0) 34%),
    var(--theme-paper);
}
.theme-story-photos { position: relative; min-height: 600px; }
.theme-story-photos figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 12px solid #fffdf8;
  box-shadow: var(--theme-shadow);
}
.theme-story-photos img { width: 100%; height: 100%; display: block; object-fit: cover; }
.theme-story-primary { inset: 0 12% 5% 0; transform: rotate(-1.2deg); }
.theme-story-secondary { width: 42%; height: 44%; right: 0; bottom: 0; transform: rotate(3deg); }
.theme-story-copy h2 {
  max-width: 690px;
  color: var(--theme-dark);
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.theme-story-copy p { color: var(--theme-muted); }

.theme-recipe-section { background: var(--theme-bg); }
.theme-recipe-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.theme-recipe-card {
  border-color: var(--theme-border);
  background: var(--theme-paper);
  box-shadow: none;
}
.theme-recipe-card .recipe-card-image { min-height: 250px; }
.theme-recipe-card h3 a { color: var(--theme-dark); }

.theme-closing-banner {
  display: grid;
  justify-items: center;
  padding: clamp(4rem, 8vw, 7rem) 1.35rem;
  text-align: center;
  color: var(--theme-paper);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)),
    linear-gradient(135deg, color-mix(in srgb, var(--theme-dark) 95%, #000), var(--theme-dark-soft));
}
.theme-closing-banner .eyebrow { color: var(--theme-accent-soft); }
.theme-closing-banner h2 {
  max-width: 1050px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5.6vw, 5.3rem);
  line-height: 1;
  letter-spacing: -.05em;
}

/* About page */
.theme-about-hero {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(500px,1.2fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 6vw, 6.4rem);
  background: var(--theme-paper);
}
.theme-about-hero h1 {
  color: var(--theme-dark);
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.theme-about-hero p { color: var(--theme-muted); font-size: 1.06rem; }
.theme-about-hero figure {
  overflow: hidden;
  margin: 0;
  min-height: 610px;
  border: 12px solid #fffdf8;
  box-shadow: var(--theme-shadow);
  transform: rotate(1.5deg);
}
.theme-about-hero img,
.theme-about-story img { width: 100%; height: 100%; display: block; object-fit: cover; }

.theme-about-story {
  display: grid;
  grid-template-columns: minmax(420px,.82fr) minmax(0,1.18fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.2rem, 6vw, 6.4rem);
  color: var(--theme-paper);
  background: var(--theme-dark);
}
.theme-about-story figure { overflow: hidden; margin: 0; min-height: 560px; box-shadow: var(--theme-shadow); }
.theme-about-story h2 { color: var(--theme-paper); font-size: clamp(2.8rem,4.7vw,4.7rem); line-height: 1; }
.theme-about-story p { color: rgba(255,250,242,.78); }

.theme-values {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
  padding: clamp(4rem,8vw,6.5rem) clamp(1.2rem,6vw,6.4rem);
  background: var(--theme-bg);
}
.theme-values article { padding: 2rem; background: var(--theme-paper); border: 1px solid var(--theme-border); box-shadow: 0 10px 18px rgba(60,43,24,.06); }
.theme-values span { color: var(--theme-accent); font: 500 2rem Georgia,serif; }
.theme-values h3 { margin-top: 1rem; color: var(--theme-dark); font-size: 2rem; }
.theme-values p { color: var(--theme-muted); }

.theme-footer {
  color: rgba(255,250,242,.82);
  background: color-mix(in srgb, var(--theme-dark) 94%, #000);
}
.theme-footer small { color: rgba(255,250,242,.58); }

/* Theme administrator */
.theme-admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.theme-admin-heading p { max-width: 720px; color: var(--muted); }
.theme-settings-form .form-panel { max-width: none; }
.theme-palette-notes { display: grid; gap: .45rem; align-content: start; }
.theme-palette-notes div {
  display: grid;
  gap: .15rem;
  padding: .7rem .8rem;
  background: #faf6ef;
  border: 1px solid var(--line);
}
.theme-palette-notes strong { color: var(--olive); font-size: .8rem; }
.theme-palette-notes span { color: var(--muted); font-size: .75rem; }
.theme-photo-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.theme-photo-control {
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px auto;
  background: #faf7f1;
  border: 1px solid var(--line);
}
.theme-photo-control > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.theme-photo-control label { padding: .85rem; }
.theme-toggle-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.theme-toggle-grid .check-label {
  align-content: center;
  min-height: 70px;
  padding: 1rem;
  background: #faf7f1;
  border: 1px solid var(--line);
}
.theme-actions { margin-top: 1rem; }
.theme-reset-form { display: flex; justify-content: flex-end; margin: .8rem 0 2rem; }
.theme-share-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: 1.5rem;
  align-items: start;
}
.theme-share-grid > .full { grid-column: 1 / -1; }
.theme-favicon-preview {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}
.theme-favicon-preview > img {
  width: 108px;
  height: 108px;
  border-radius: 22px;
  border: 1px solid #ded1bd;
  background: #fffaf2;
}
.theme-favicon-preview p {
  display: grid;
  gap: .15rem;
  margin: 0 0 .75rem;
}
.theme-favicon-preview span { color: #756e62; font-size: .86rem; }
.theme-social-preview-control > img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  display: block;
  margin-bottom: .9rem;
  border: 1px solid #ded1bd;
  background: #f5efe4;
}

@media (max-width: 1100px) {
  .theme-hero,
  .theme-about-hero { grid-template-columns: 1fr; }
  .theme-hero::after { width: 120px; }
  .theme-photo-collage { min-height: 660px; }
  .theme-story-section,
  .theme-about-story { grid-template-columns: 1fr; }
  .theme-story-photos { min-height: 650px; }
  .theme-category-grid,
  .theme-recipe-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .theme-share-grid { grid-template-columns: 1fr; }
  .theme-share-grid > .full { grid-column: auto; }
}
@media (max-width: 780px) {
  .theme-site-header { align-items: flex-start; }
  .theme-hero { min-height: auto; padding-top: 3rem; }
  .theme-hero-copy { margin-left: 0; }
  .theme-hero-copy h1 { font-size: clamp(3rem,15vw,5rem); }
  .theme-photo-collage { min-height: 520px; }
  .theme-photo-main { inset: 0 12% 8% 0; }
  .theme-photo-small { width: 40%; height: 36%; }
  .theme-category-grid,
  .theme-recipe-grid,
  .theme-values,
  .theme-photo-grid,
  .theme-toggle-grid { grid-template-columns: 1fr; }
  .theme-section-heading,
  .theme-admin-heading { align-items: flex-start; flex-direction: column; }
  .theme-story-photos { min-height: 520px; }
  .theme-story-primary { inset: 0 8% 9% 0; }
  .theme-about-hero figure,
  .theme-about-story figure { min-height: 420px; }
}
@media (max-width: 520px) {
  .theme-photo-collage { min-height: 420px; }
  .theme-photo-collage figure,
  .theme-story-photos figure { border-width: 7px; }
  .theme-photo-small { width: 42%; height: 34%; }
  .theme-photo-caption { right: 4%; }
  .theme-story-photos { min-height: 420px; }
  .theme-hero .hero-actions { align-items: stretch; flex-direction: column; }
  .theme-hero .hero-actions .button { width: 100%; }
}

/* Package 6 v1.3.0: structural scrapbook theme */
.theme-site-header .brand {
  position: relative;
  padding-right: 4.8rem;
}
.theme-site-header .brand::before {
  content: "";
  position: absolute;
  right: 1.7rem;
  top: .15rem;
  width: 42px;
  height: 42px;
  background: url('../img/theme/bee-emblem.svg') center / contain no-repeat;
}
.theme-site-header .brand::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: .25rem;
  width: 76px;
  height: 24px;
  border-bottom: 2px solid var(--theme-accent);
  border-radius: 0 0 80% 0;
  transform: rotate(-6deg);
  opacity: .72;
}

.scrapbook-cover {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(500px, .95fr) minmax(620px, 1.05fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 26% 6%, rgba(255,255,255,.9), transparent 22%),
    radial-gradient(circle at 72% 12%, rgba(255,255,255,.42), transparent 28%),
    repeating-linear-gradient(0deg, rgba(92,70,44,.025) 0 1px, transparent 1px 5px),
    #f4ecde;
}
.scrapbook-cover-scene {
  position: absolute;
  inset: 0 0 0 34%;
  background: url('../img/theme/scrapbook-scene.svg') center / cover no-repeat;
  opacity: .98;
}
.scrapbook-cover-scene::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 88px;
  background: linear-gradient(90deg, #f4ecde 0%, rgba(244,236,222,.85) 35%, transparent 100%);
}
.scrapbook-title-paper {
  position: relative;
  z-index: 4;
  max-width: 650px;
  padding: clamp(2.25rem, 4vw, 3.8rem);
  background:
    radial-gradient(circle at 10% 18%, rgba(202,177,130,.12), transparent 14%),
    repeating-linear-gradient(0deg, rgba(98,76,51,.025) 0 1px, transparent 1px 5px),
    #faf5ea;
  border: 1px solid rgba(213,190,154,.9);
  box-shadow: 0 24px 50px rgba(80,56,31,.16);
  clip-path: polygon(1% 0, 6% 1%, 11% .3%, 16% 1.2%, 22% .2%, 27% 1%, 32% .4%, 38% 1.1%, 43% .3%, 49% 1%, 55% .2%, 61% .9%, 68% .3%, 74% 1.1%, 81% .2%, 88% .9%, 94% .3%, 100% 1%, 99% 7%, 100% 14%, 99.2% 21%, 100% 29%, 99.3% 36%, 100% 44%, 99.2% 52%, 100% 60%, 99.3% 68%, 100% 77%, 99.1% 86%, 100% 94%, 99% 100%, 92% 99%, 85% 100%, 78% 99%, 70% 100%, 62% 99%, 54% 100%, 46% 99%, 38% 100%, 30% 99%, 22% 100%, 14% 99%, 7% 100%, 0 99%, 1% 91%, 0 83%, 1% 75%, 0 66%, 1% 58%, 0 49%, 1% 40%, 0 31%, 1% 22%, 0 13%);
}
.scrapbook-title-paper h1 {
  max-width: 560px;
  margin: .65rem 0 1rem;
  color: var(--theme-dark);
  font-size: clamp(4rem, 6vw, 6.7rem);
  line-height: .88;
  letter-spacing: -.065em;
}
.scrapbook-cover-subtitle {
  max-width: 520px;
  margin: 0 0 1.2rem;
  color: var(--theme-clay);
  font: italic clamp(1.45rem, 2.4vw, 2.2rem) Georgia, serif;
  line-height: 1.18;
}
.scrapbook-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, 410px);
  height: 30px;
}
.scrapbook-rule::before,
.scrapbook-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--theme-accent);
  opacity: .65;
}
.scrapbook-rule i {
  width: 34px;
  height: 34px;
  background: url('../img/theme/bee-emblem.svg') center / contain no-repeat;
}
.scrapbook-cover-intro {
  max-width: 530px;
  color: var(--theme-muted);
  font-size: 1.06rem;
}
.scrapbook-title-paper .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.55rem;
}

.scrapbook-collage {
  position: relative;
  z-index: 3;
  min-height: 610px;
}
.scrapbook-polaroid {
  position: absolute;
  left: 15%;
  top: 7%;
  width: min(48vw, 420px);
  margin: 0;
  padding: 14px 14px 52px;
  background: #fffdf7;
  box-shadow: 0 22px 54px rgba(62,45,27,.24);
  transform: rotate(4deg);
}
.scrapbook-polaroid img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  display: block;
}
.scrapbook-polaroid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  color: #5c4731;
  text-align: center;
  font: italic 1.55rem Georgia, serif;
}
.paper-tape {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: -13px;
  width: 118px;
  height: 30px;
  background: rgba(210,187,145,.72);
  transform: translateX(-50%) rotate(-1deg);
  box-shadow: inset 0 0 0 1px rgba(151,120,75,.08);
}
.scrapbook-stork {
  position: absolute;
  width: 150px;
  right: 7%;
  top: 45%;
  filter: drop-shadow(0 14px 16px rgba(55,40,24,.2));
  transform: rotate(8deg);
}
.scrapbook-postmark {
  position: absolute;
  width: 170px;
  left: 5%;
  bottom: 1%;
  opacity: .7;
  transform: rotate(-8deg);
}
.scrapbook-bee {
  position: absolute;
  width: 105px;
  right: 0;
  bottom: 2%;
  transform: rotate(-12deg);
  filter: drop-shadow(0 8px 8px rgba(55,40,24,.14));
}
.scrapbook-honeycomb {
  position: absolute;
  right: -3%;
  bottom: 0;
  width: 250px;
  height: 190px;
  background: url('../img/theme/scrapbook-honeycomb.svg') center / contain no-repeat;
  opacity: .62;
}

.scrapbook-category-section {
  position: relative;
  padding: 2.2rem clamp(1.25rem, 4vw, 4.5rem) 4rem;
  background:
    repeating-linear-gradient(0deg, rgba(91,70,44,.026) 0 1px, transparent 1px 5px),
    #f7f0e4;
  border-top: 1px solid rgba(197,169,127,.55);
  border-bottom: 1px solid rgba(197,169,127,.55);
}
.scrapbook-section-heading {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}
.scrapbook-section-heading > span {
  flex: 1;
  height: 1px;
  background: var(--theme-border);
}
.scrapbook-section-heading > a {
  color: var(--theme-accent);
  font-weight: 800;
}
.scrapbook-section-heading-dark {
  align-items: end;
  justify-content: space-between;
}
.scrapbook-section-heading-dark > div { max-width: 760px; }
.scrapbook-section-heading-dark h2 {
  margin: 0;
  color: var(--theme-dark);
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -.05em;
}
.scrapbook-category-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 1rem;
}
.scrapbook-category-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 310px;
  padding: .6rem .6rem 1rem;
  color: var(--theme-dark);
  background: #fbf6ed;
  border: 1px solid #dfcdb1;
  box-shadow: 0 12px 24px rgba(65,45,25,.09);
  text-decoration: none;
  transform: rotate(var(--category-tilt, -1deg));
  transition: transform .18s ease, box-shadow .18s ease;
}
.scrapbook-category-card:nth-child(even) { --category-tilt: 1deg; }
.scrapbook-category-card:nth-child(3n) { --category-tilt: -.4deg; }
.scrapbook-category-card:hover {
  transform: translateY(-5px) rotate(0deg);
  box-shadow: 0 18px 30px rgba(65,45,25,.14);
}
.scrapbook-category-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}
.scrapbook-category-card div { text-align: center; padding-top: .75rem; }
.scrapbook-category-card h2 {
  margin: 0;
  font: italic 1.55rem Georgia, serif;
}
.scrapbook-category-card p {
  margin: .2rem 0 0;
  color: var(--theme-muted);
  font-size: .78rem;
}

.scrapbook-memory-ribbon {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.3fr) minmax(240px, .85fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 6vw, 6rem);
  background: var(--theme-dark);
  color: var(--theme-paper);
}
.scrapbook-memory-ribbon figure {
  margin: 0;
  padding: .65rem .65rem 2.7rem;
  background: #fffaf0;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.scrapbook-memory-ribbon figure:first-child { transform: rotate(-2deg); }
.scrapbook-memory-ribbon figure:last-child { transform: rotate(2deg); }
.scrapbook-memory-ribbon figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.scrapbook-memory-ribbon figcaption {
  margin-top: .65rem;
  color: #5f4c37;
  text-align: center;
  font: italic 1rem Georgia, serif;
}
.scrapbook-memory-ribbon > div { text-align: center; }
.scrapbook-memory-ribbon > div > img { width: 72px; }
.scrapbook-memory-ribbon h2 {
  max-width: 720px;
  margin: .5rem auto 0;
  color: var(--theme-paper);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
}

.scrapbook-story-section {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 8% 22%, rgba(220,196,155,.28), transparent 22%),
    #f5eee3;
}
.scrapbook-story-photos {
  position: relative;
  min-height: 570px;
}
.scrapbook-story-photos figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: #fffaf0;
  border: 10px solid #fffaf0;
  box-shadow: 0 22px 45px rgba(68,47,25,.16);
}
.scrapbook-story-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scrapbook-story-primary { inset: 0 15% 9% 0; transform: rotate(-2deg); }
.scrapbook-story-secondary { width: 42%; height: 45%; right: 0; bottom: 0; transform: rotate(4deg); }
.scrapbook-story-paper {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: #fbf6ec;
  border: 1px solid var(--theme-border);
  box-shadow: 0 16px 34px rgba(68,47,25,.1);
}
.scrapbook-story-paper::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -25px;
  width: 120px;
  height: 90px;
  background: url('../img/theme/bee-emblem.svg') center / contain no-repeat;
  opacity: .8;
}
.scrapbook-story-paper h2 {
  color: var(--theme-dark);
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: .96;
  letter-spacing: -.05em;
}
.scrapbook-story-paper p { color: var(--theme-muted); }

.scrapbook-recipes-section {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6rem);
  background: #fbf7ef;
}
.scrapbook-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.scrapbook-recipe-card {
  background: var(--theme-paper);
  border: 1px solid var(--theme-border);
  box-shadow: 0 12px 24px rgba(65,45,25,.06);
}
.scrapbook-recipe-card .recipe-card-image {
  display: block;
  min-height: 250px;
}
.scrapbook-recipe-card .recipe-card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.scrapbook-recipe-card > div { padding: 1.35rem; }
.scrapbook-recipe-card h3 { margin: .25rem 0 .5rem; font-size: 1.75rem; }
.scrapbook-recipe-card h3 a { color: var(--theme-dark); }
.scrapbook-recipe-card > div > p:not(.card-kicker):not(.recipe-card-french) { color: var(--theme-muted); }

.scrapbook-closing-banner {
  position: relative;
  display: grid;
  justify-items: center;
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  overflow: hidden;
  color: var(--theme-paper);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent),
    var(--theme-dark);
}
.scrapbook-closing-banner::before,
.scrapbook-closing-banner::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 210px;
  background: url('../img/theme/scrapbook-honeycomb.svg') center / contain no-repeat;
  opacity: .16;
}
.scrapbook-closing-banner::before { left: -70px; top: -50px; }
.scrapbook-closing-banner::after { right: -70px; bottom: -50px; }
.scrapbook-closing-banner > img { width: 74px; }
.scrapbook-closing-banner .eyebrow { color: var(--theme-accent-soft); }
.scrapbook-closing-banner h2 {
  max-width: 1050px;
  margin: .4rem 0 1.6rem;
  color: var(--theme-paper);
  font-size: clamp(2.8rem, 5.8vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.05em;
}

/* Public recipe listing and detail pages inherit the same scrapbook visual language. */
.catalog-hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250,245,234,.96), rgba(250,245,234,.78) 55%, rgba(250,245,234,.18)),
    url('../img/theme/scrapbook-scene.svg') right center / 62% auto no-repeat,
    #f4ecde;
}
.catalog-hero::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 120px;
  height: 100px;
  background: url('../img/theme/bee-emblem.svg') center / contain no-repeat;
  opacity: .75;
}
.catalog-hero h1 {
  color: var(--theme-dark);
  font-size: clamp(4rem, 8vw, 7rem);
  letter-spacing: -.06em;
}
.catalog-hero p { max-width: 620px; color: var(--theme-muted); }
.catalog-layout { background: #f7f0e4; }
.catalog-filter {
  background: #fbf6ec;
  border: 1px solid var(--theme-border);
  box-shadow: 0 12px 24px rgba(65,45,25,.06);
}
.public-recipe-card {
  background: var(--theme-paper);
  border-color: var(--theme-border);
  box-shadow: 0 10px 20px rgba(65,45,25,.05);
}
.public-recipe-card h3 a { color: var(--theme-dark); }

.recipe-detail {
  background:
    repeating-linear-gradient(0deg, rgba(91,70,44,.02) 0 1px, transparent 1px 5px),
    #f7f0e4;
}
.recipe-detail-intro {
  position: relative;
  background: #fbf6ec;
  border: 1px solid var(--theme-border);
  box-shadow: 0 18px 38px rgba(65,45,25,.08);
}
.recipe-detail-intro::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: -36px;
  width: 100px;
  height: 80px;
  background: url('../img/theme/bee-emblem.svg') center / contain no-repeat;
  opacity: .72;
}
.recipe-detail-intro > img {
  border: 12px solid #fffaf0;
  box-shadow: 0 18px 35px rgba(65,45,25,.16);
  transform: rotate(1deg);
}
.recipe-detail h1,
.recipe-section h2 { color: var(--theme-dark); }
.recipe-anchor-nav,
.recipe-section,
.note-card,
.side-card {
  background: #fbf6ec;
  border-color: var(--theme-border);
}
.note-card { border-top: 4px solid var(--theme-accent); }

@media (max-width: 1240px) {
  .scrapbook-cover { grid-template-columns: minmax(440px, .9fr) minmax(520px, 1.1fr); }
  .scrapbook-category-strip { grid-template-columns: repeat(3, minmax(190px, 1fr)); }
}
@media (max-width: 980px) {
  .scrapbook-cover {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
  }
  .scrapbook-cover-scene { inset: 34% 0 0; }
  .scrapbook-title-paper { max-width: 700px; }
  .scrapbook-collage { min-height: 620px; }
  .scrapbook-memory-ribbon,
  .scrapbook-story-section { grid-template-columns: 1fr; }
  .scrapbook-memory-ribbon figure { max-width: 520px; margin-inline: auto; }
  .scrapbook-recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .theme-site-header .brand { padding-right: 0; }
  .theme-site-header .brand::before,
  .theme-site-header .brand::after { display: none; }
  .scrapbook-title-paper h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .scrapbook-cover-subtitle { font-size: 1.35rem; }
  .scrapbook-collage { min-height: 480px; }
  .scrapbook-polaroid { left: 1%; width: 70vw; }
  .scrapbook-stork { width: 105px; right: 2%; top: 50%; }
  .scrapbook-postmark { width: 110px; }
  .scrapbook-bee { width: 75px; }
  .scrapbook-category-strip,
  .scrapbook-recipe-grid { grid-template-columns: 1fr; }
  .scrapbook-category-card { min-height: auto; }
  .scrapbook-category-card img { height: auto; aspect-ratio: 4 / 3; }
  .scrapbook-story-photos { min-height: 440px; }
  .scrapbook-section-heading { align-items: flex-start; flex-direction: column; }
  .scrapbook-section-heading > span { width: 100%; flex: none; }
}

/* About Us scrapbook layout */
.scrapbook-about-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, .88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: 700px;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 6vw, 6rem);
  background:
    linear-gradient(90deg, rgba(247,240,228,.96), rgba(247,240,228,.75) 46%, rgba(247,240,228,.08)),
    url('../img/theme/scrapbook-scene.svg') right center / cover no-repeat,
    #f4ecde;
}
.scrapbook-about-paper {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: rgba(251,246,236,.94);
  border: 1px solid var(--theme-border);
  box-shadow: 0 22px 48px rgba(66,46,25,.14);
}
.scrapbook-about-paper h1 {
  margin: .55rem 0 1rem;
  color: var(--theme-dark);
  font-size: clamp(3.8rem, 6vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.06em;
}
.scrapbook-about-paper p { color: var(--theme-muted); }
.scrapbook-about-place {
  color: var(--theme-clay) !important;
  font: italic 1.2rem Georgia, serif;
}
.scrapbook-about-collage { position: relative; min-height: 590px; }
.scrapbook-about-collage figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: #fffaf0;
  border: 12px solid #fffaf0;
  box-shadow: 0 22px 48px rgba(66,46,25,.2);
}
.scrapbook-about-collage figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scrapbook-about-photo-primary { inset: 2% 16% 12% 2%; transform: rotate(-2deg); }
.scrapbook-about-photo-primary figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; color: #5f4c37; font: italic 1.15rem Georgia, serif; }
.scrapbook-about-photo-secondary { width: 43%; height: 42%; right: 0; bottom: 0; transform: rotate(4deg); }
.scrapbook-about-bee { position: absolute; right: 3%; top: 2%; width: 100px; transform: rotate(12deg); }

.scrapbook-about-story {
  display: grid;
  grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  color: var(--theme-paper);
  background: var(--theme-dark);
}
.scrapbook-about-story-art { position: relative; min-height: 470px; }
.scrapbook-about-story-art img:first-child { position: absolute; left: 6%; top: 3%; width: min(78%, 280px); transform: rotate(-4deg); filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); }
.scrapbook-about-story-art img:last-child { position: absolute; right: 0; bottom: 0; width: min(68%, 230px); opacity: .72; transform: rotate(8deg); }
.scrapbook-about-story h2 { max-width: 720px; color: var(--theme-paper); font-size: clamp(3rem, 5vw, 5rem); line-height: .98; }
.scrapbook-about-story p { color: rgba(255,250,242,.8); }
.scrapbook-values { background: #f5eee3; }

/* Recipes directory */
.scrapbook-category-directory {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem);
  background: #f8f1e6;
  border-bottom: 1px solid var(--theme-border);
}
.scrapbook-directory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: .9rem;
}
.scrapbook-directory-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 120px auto;
  color: var(--theme-dark);
  background: #fffaf1;
  border: 1px solid var(--theme-border);
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(65,45,25,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.scrapbook-directory-card:hover,
.scrapbook-directory-card.is-active { transform: translateY(-4px); box-shadow: 0 14px 24px rgba(65,45,25,.12); }
.scrapbook-directory-card.is-active { outline: 3px solid color-mix(in srgb, var(--theme-accent) 55%, transparent); }
.scrapbook-directory-card img { width: 100%; height: 120px; object-fit: cover; display: block; }
.scrapbook-directory-card div { display: grid; gap: .15rem; padding: .75rem; }
.scrapbook-directory-card strong { font: italic 1.05rem Georgia, serif; }
.scrapbook-directory-card small { color: var(--theme-muted); }
.scrapbook-catalog-layout { background: #f6efe4; }
.scrapbook-filter-paper { position: relative; }
.scrapbook-filter-paper::before { content: ""; position: absolute; left: 50%; top: -12px; width: 90px; height: 24px; background: rgba(210,187,145,.65); transform: translateX(-50%) rotate(-1deg); }
.scrapbook-public-recipe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scrapbook-public-recipe-card { border-color: var(--theme-border); }

@media (max-width: 1120px) {
  .scrapbook-about-cover { grid-template-columns: 1fr; }
  .scrapbook-about-collage { min-height: 600px; }
  .scrapbook-directory-grid { grid-template-columns: repeat(4, minmax(140px, 1fr)); }
  .scrapbook-public-recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .scrapbook-about-story { grid-template-columns: 1fr; }
  .scrapbook-about-story-art { min-height: 400px; }
  .scrapbook-directory-grid { grid-template-columns: repeat(2, minmax(130px, 1fr)); }
  .scrapbook-public-recipe-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .scrapbook-about-collage { min-height: 430px; }
  .scrapbook-about-photo-primary { inset: 0 10% 8% 0; }
  .scrapbook-about-photo-secondary { width: 42%; height: 38%; }
}

/* Package 6 v1.4.0: faithful approved scrapbook mockup treatment */
.scrapbook-cover {
  min-height: 660px;
  grid-template-columns: minmax(470px, .78fr) minmax(680px, 1.22fr);
  gap: 0;
  padding: 3.2rem clamp(1.25rem, 4vw, 4.5rem);
  background:
    linear-gradient(90deg, #f5eddf 0 34%, rgba(245,237,223,.65) 41%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(92,70,44,.022) 0 1px, transparent 1px 5px),
    #f4ecde;
}
.scrapbook-cover::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(105px, 11vw, 190px);
  background: url('../img/theme/art-nouveau-botanical.png') left center / cover no-repeat;
  opacity: .88;
  pointer-events: none;
}
.scrapbook-cover-scene {
  inset: 0 0 0 34%;
  background: url('../img/theme/scrapbook-scene-detailed.jpg') center center / cover no-repeat;
  opacity: 1;
}
.scrapbook-cover-scene::before {
  width: 180px;
  background: linear-gradient(90deg, #f4ecde 0%, rgba(244,236,222,.82) 40%, rgba(244,236,222,.12) 83%, transparent 100%);
}
.scrapbook-title-paper {
  z-index: 5;
  width: min(100%, 590px);
  max-width: 590px;
  margin-left: clamp(2.2rem, 5vw, 5.4rem);
  padding: clamp(2.1rem, 3.4vw, 3.2rem);
  background:
    radial-gradient(circle at 10% 18%, rgba(202,177,130,.11), transparent 14%),
    repeating-linear-gradient(0deg, rgba(98,76,51,.022) 0 1px, transparent 1px 5px),
    rgba(250,245,234,.96);
  border-color: rgba(213,190,154,.72);
  box-shadow: 0 20px 44px rgba(80,56,31,.15);
}
.scrapbook-title-paper h1 {
  max-width: 500px;
  margin: .55rem 0 .9rem;
  font-size: clamp(3.8rem, 5.5vw, 5.8rem);
  line-height: .9;
}
.scrapbook-cover-subtitle {
  max-width: 475px;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
}
.scrapbook-cover-intro { max-width: 470px; }
.scrapbook-collage { display: none; }

.scrapbook-category-section {
  padding-top: 1.8rem;
  padding-bottom: 3.5rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), transparent 35%),
    repeating-linear-gradient(0deg, rgba(91,70,44,.022) 0 1px, transparent 1px 5px),
    #f7f0e4;
}
.scrapbook-category-strip { gap: .85rem; }
.scrapbook-category-card {
  min-height: 295px;
  padding: .55rem .55rem .9rem;
  background: #fbf6ed;
  border-color: #decbae;
  box-shadow: 0 10px 20px rgba(65,45,25,.08);
}
.scrapbook-category-card img {
  height: 205px;
  object-fit: cover;
  background: #f8efe1;
}
.scrapbook-category-card h2 { font-size: 1.45rem; }

@media (max-width: 1180px) {
  .scrapbook-cover {
    grid-template-columns: minmax(420px, .85fr) minmax(520px, 1.15fr);
  }
  .scrapbook-title-paper { margin-left: 2rem; }
}
@media (max-width: 980px) {
  .scrapbook-cover {
    min-height: 930px;
    display: block;
    padding-top: 4rem;
  }
  .scrapbook-cover-scene {
    inset: 39% 0 0 0;
    background-position: center center;
  }
  .scrapbook-cover-scene::before {
    left: 0;
    right: 0;
    top: -80px;
    bottom: auto;
    width: auto;
    height: 140px;
    background: linear-gradient(180deg, #f4ecde 0%, rgba(244,236,222,.82) 45%, transparent 100%);
  }
  .scrapbook-title-paper {
    width: min(92%, 590px);
    margin: 0 auto;
  }
}
@media (max-width: 620px) {
  .scrapbook-cover {
    min-height: 850px;
    padding-inline: .75rem;
  }
  .scrapbook-cover::before { display: none; }
  .scrapbook-title-paper { width: 100%; margin: 0; }
  .scrapbook-title-paper h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .scrapbook-cover-scene { top: 46%; }
}
