@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap
}

@font-face {
  font-family: Caveat;
  src: url('assets/fonts/caveat.woff2') format('woff2');
  font-weight: 500;
  font-display: swap
}

:root {
  --cream: #faf7f0;
  --paper: #fffdf7;
  --ink: #362f28;
  --muted: #655f55;
  --terra: #a04b34;
  --forest: #414d36;
  --sage: #e5e8d8;
  --line: #d9d3c6;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --script: Caveat, 'Bradley Hand', cursive;
  color-scheme: light
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased
}

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

button,
input,
select,
textarea {
  font: inherit
}

button {
  color: inherit
}

button,
a,
summary {
  touch-action: manipulation
}

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

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.032em
}

em {
  font-weight: 400
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 5px
}

.wrap {
  width: min(1290px, 88.4%);
  margin-inline: auto
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 8px;
  z-index: 100;
  background: white;
  padding: 12px
}

.skip-link:focus {
  top: 8px
}

.brand img {
  width: 147px;
  height: auto
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  min-height: 49px;
  border: 1px solid var(--forest);
  border-radius: 40px;
  padding: 12px 24px;
  color: #fffdf5;
  background: var(--forest);
  font: 600 14px/1.3 var(--sans);
  text-decoration: none;
  transition: background .18s, transform .18s
}

.button:hover {
  background: #2f3928;
  transform: translateY(-2px)
}

.button span[aria-hidden] {
  font-size: 20px;
  line-height: 1
}

.button.secondary {
  color: var(--forest);
  background: transparent
}

.button.secondary:hover {
  background: var(--sage)
}

.eyebrow {
  color: var(--terra);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5
}

.eyebrow .rule {
  width: 30px;
  height: 1px;
  background: currentColor
}

.dot {
  font-size: 14px
}

.hero {
  background: radial-gradient(ellipse at 82% 50%, #f1eadc 0, transparent 49%), var(--cream);
  overflow: hidden
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 3%;
  padding-block: clamp(37px, 4vw, 74px) clamp(45px, 4.1vw, 76px)
}

.hero-copy {
  padding-block: 14px
}

.hero h1 {
  font-size: clamp(82px, 8.3vw, 136px);
  line-height: .96;
  letter-spacing: -.045em;
  margin: 23px 0 24px
}

.hero h1 em {
  color: var(--terra)
}

.hero .lede {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.67;
  color: var(--muted);
  max-width: 425px
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #9c9b8b;
  padding-block: 4px
}

.text-link:hover {
  color: var(--terra);
  border-color: var(--terra)
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(84%, 470px);
  margin: 1.5% 0 2%
}

.cover-photo {
  position: relative;
  padding: 11px 11px 0;
  background: #fffcf4;
  transform: rotate(3deg);
  box-shadow: 0 12px 22px -10px #513a2640, 0 0 0 1px #503a2312;
  isolation: isolate
}

.cover-photo:before {
  content: '';
  position: absolute;
  inset: 9px -7px -7px 8px;
  z-index: -1;
  background: #eee5d4;
  transform: rotate(-5deg);
  box-shadow: 0 2px 3px #43362725
}

.cover-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.05;
  object-fit: cover;
  object-position: center 12%
}

.cover-photo figcaption {
  height: 49px;
  background: #fffcf4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font: 500 28px/1 var(--script);
  color: #514b3d;
  padding-inline: 7px
}

.fig-rule {
  height: 1px;
  flex: 1;
  background: #d6d0c1
}

.seal {
  position: absolute;
  width: clamp(75px, 7.5vw, 111px);
  left: -11%;
  bottom: 2%;
  transform: rotate(-13deg);
  filter: drop-shadow(0 3px 1px #59483422)
}

.paw-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url('assets/paw.svg') center/contain no-repeat
}

.credentials {
  background: var(--sage);
  border-block: 1px solid #cdd1bd
}

.credential-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 69px;
  align-items: center;
  color: var(--forest)
}

.credential-row>span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 500
}

.credential-row>span+span {
  border-left: 1px solid #b9bda8
}

.icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}

.section {
  padding-block: clamp(55px, 6vw, 94px)
}

footer {
  border-top: 1px solid var(--line);
  background: #edece0;
  padding: 35px 0 22px
}

.footer-top,
.footer-links,
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.footer-links {
  flex-wrap: wrap;
  gap: 25px;
  font-size: 13px
}

.footer-base {
  border-top: 1px solid #cdcebe;
  margin-top: 26px;
  padding-top: 16px;
  font-size: 11px;
  color: var(--muted)
}

.footer-links a:hover {
  text-decoration: underline
}

.footer-links button {
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer
}

@media(max-width:880px) {
  .wrap {
    width: 90%
  }

  .brand img {
    width: 125px
  }

  .hero-layout {
    gap: 0
  }

  .hero h1 {
    font-size: clamp(70px, 9vw, 90px)
  }

  .hero-art {
    width: 87%
  }

  .credential-row>span {
    font-size: 12px;
    gap: 8px
  }

  .hero-actions {
    gap: 17px
  }
}

@media(max-width:720px) {

  .hero-layout {
    grid-template-columns: 1fr;
    padding-block: 32px 35px
  }

  .hero-copy {
    padding: 0
  }

  .hero h1 {
    font-size: clamp(69px, 13.8vw, 93px);
    margin: 15px 0
  }

  .hero .lede {
    font-size: 15px;
    max-width: 39ch
  }

  .hero-actions {
    margin-top: 20px
  }

  .hero-art {
    width: min(74%, 369px);
    margin: 32px 0 3px 5%
  }

  .seal {
    width: 78px
  }

  .cover-photo {
    padding: 7px 7px 0
  }

  .cover-photo figcaption {
    height: 36px;
    font-size: 24px
  }

  .cover-photo img {
    aspect-ratio: 1.2
  }

  .credential-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 16px
  }

  .credential-row>span {
    font-size: 13px;
    justify-content: flex-start
  }

  .credential-row>span+span {
    border: 0
  }

  .credential-row .icon {
    width: 20px;
    height: 20px
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column
  }

  .footer-links {
    gap: 17px
  }
}

@media(prefers-reduced-motion:reduce) {

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

.icon-library,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap
}

.drawn-arrow {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0
}

.header-contact .drawn-arrow,
.text-link .drawn-arrow {
  width: 15px;
  height: 15px
}

.footer-base .drawn-arrow,
.footer-links .drawn-arrow {
  width: 12px;
  height: 12px
}

.hero .lede {
  max-width: 440px
}

.hero h1 {
  font-size: clamp(70px, 7.9vw, 123px)
}

.hero-art {
  width: min(84%, 440px)
}

.cover-photo {
  isolation: auto
}

.cover-photo:before {
  z-index: -1
}

.turn-print {
  display: block;
  border: 0;
  padding: 0;
  background: white;
  width: 100%;
  cursor: pointer
}

.cover-photo img {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #f4f1f0
}

.cover-photo figcaption {
  font-size: 25px;
  padding-left: 16%;
  padding-right: 5px;
  gap: 8px
}

.album-next {
  background: transparent;
  border: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 0 6px 12px;
  min-height: 42px;
  cursor: pointer;
  color: var(--ink)
}

.album-next span {
  font: 500 10px/1 var(--sans);
  letter-spacing: .08em
}

.album-next .drawn-arrow {
  width: 22px
}

.seal {
  pointer-events: none;
  bottom: 0;
  left: -10.5%
}

.cover-photo {
  transition: transform .24s
}

.hero-art:has(.turn-print:hover) .cover-photo {
  transform: rotate(1.3deg) translateY(-3px)
}

.cover-photo.turning {
  animation: turn-print .42s cubic-bezier(.25, .58, .28, 1)
}

@keyframes turn-print {
  0% {
    opacity: .45;
    transform: translate(18px, -4px) rotate(7deg)
  }

  to {
    opacity: 1;
    transform: rotate(3deg)
  }
}

.credential-row>a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.35;
  padding: 4px 11px;
  text-align: center
}

.credential-row>a+a {
  border-inline-start: 1px solid #bcc1ae
}

.credential-row>a:hover {
  text-decoration: underline;
  text-underline-offset: 4px
}

.credential-row .icon {
  width: 25px;
  height: 25px
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 33px
}

.section-head h2,
.story-copy h2,
.family-layout h2,
.invitation h2 {
  font-size: clamp(52px, 5.3vw, 85px);
  margin: .17em 0 0
}

.section-head h2 em,
.story-copy h2 em,
.invitation h2 em {
  color: var(--terra)
}

.album-grid {
  display: grid;
  grid-template-columns: 1.04fr .94fr 1.04fr;
  gap: clamp(16px, 2.5vw, 38px);
  align-items: start
}

.album-card:nth-child(2) {
  padding-top: 35px
}

.album-card:nth-child(3) {
  padding-top: 14px
}

.album-image {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.32;
  background: #e1dfd0
}

.album-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .5s
}

.album-card:first-child img {
  object-position: 50% 40%
}

.album-card:nth-child(2) img {
  object-position: 50% 35%
}

.album-card:hover img {
  transform: scale(1.03)
}

.album-card:hover h3 {
  color: var(--terra)
}

.card-arrow {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--cream);
  border-radius: 50%
}

.card-arrow svg {
  width: 15px;
  height: 15px
}

.album-card figcaption {
  padding-block: 14px
}

.album-meta,
.show-titles>span {
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--muted)
}

.album-card h3 {
  font-size: clamp(33px, 3.1vw, 47px);
  margin-top: 4px
}

.show-bench {
  background: #3c4634;
  color: #faf7ed;
  overflow: hidden
}

.show-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6.5%;
  padding-block: clamp(60px, 6.7vw, 105px)
}

.show-copy .eyebrow {
  color: #e4d4ad
}

.show-copy .eyebrow .icon {
  width: 27px;
  height: 27px
}

.show-copy h2 {
  font-size: clamp(66px, 7.3vw, 112px);
  margin: .15em 0 .16em
}

.show-copy h2 em {
  color: #e5d5ac
}

.show-copy>p:not(.eyebrow) {
  max-width: 44ch;
  line-height: 1.72;
  color: #f1efe4
}

.show-titles {
  border-block: 1px solid #a5ad9266;
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 16px 0;
  margin: 23px 0;
  max-width: 380px
}

.show-titles>span {
  color: #dacba6
}

.show-titles strong {
  font: 400 22px/1.2 var(--serif)
}

.show-copy .text-link {
  border-color: #bcc2ac
}

.show-copy .text-link:hover {
  color: #fff
}

.show-evidence {
  position: relative;
  margin: 0 auto;
  width: min(90%, 410px);
  padding: 0 6% 9% 0
}

.show-print,
.ribbon-print,
.story-art {
  padding: 8px;
  background: #fbf8ec;
  box-shadow: 0 5px 15px #1b251e35
}

.show-print {
  transform: rotate(2deg)
}

.show-print img,
.ribbon-print img {
  width: 100%;
  height: auto;
}

.show-print figcaption,
.ribbon-print figcaption,
.handnote {
  font: 500 23px/1.2 var(--script);
  color: #494839;
  display: block;
  text-align: center;
  padding: 7px 0 2px
}

.ribbon-print {
  position: absolute;
  transform: rotate(-9deg);
  width: 52%;
  bottom: -1.5%;
  right: -8%;
  transition: transform .24s
}

.ribbon-print:hover {
  transform: rotate(-4deg) scale(1.04)
}

.ribbon-print figcaption {
  font-size: 18px
}

.ribbon-print .drawn-arrow {
  height: 11px;
  width: 11px
}

.story-section {
  display: grid;
  grid-template-columns: .8fr 1.1fr;
  align-items: center;
  gap: 10%;
  padding-block: clamp(65px, 8vw, 125px)
}

.story-art {
  position: relative;
  max-width: 440px;
  transform: rotate(-2deg);
  justify-self: center;
  padding: 10px 10px 7px
}

.story-art img {
  width: 100%;
  height: auto
}

.story-art:before {
  content: '';
  position: absolute;
  background: repeating-linear-gradient(90deg, #c9bc95b3 0 2px, #cfbf9699 2px 4px);
  height: 21px;
  width: 80px;
  top: -6px;
  left: 39%;
  transform: rotate(3deg)
}

.story-copy>p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--muted)
}

.registry {
  border-block: 1px solid var(--line);
  padding-block: 12px;
  margin: 20px 0 12px
}

.registry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  font-weight: 550
}

.registry summary::-webkit-details-marker {
  display: none
}

.registry[open] summary svg {
  transform: rotate(90deg)
}

.registry p {
  margin: 14px 0
}

.family-section {
  background: #e4e6d5
}

.family-layout {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: 11%;
  align-items: center;
  padding-block: clamp(52px, 6vw, 98px)
}

.family-layout h2 em {
  color: var(--forest)
}

.family-intro {
  max-width: 36ch;
  margin-top: 17px;
  color: #565d4c
}

.letter-box {
  position: relative;
  padding: clamp(24px, 3vw, 46px);
  background: #fffdf3;
  box-shadow: 4px 6px 0 #cdd2bc;
  border-top: 2px solid #b4b8a4
}

.letter-mark {
  position: absolute;
  top: 2px;
  left: 10px;
  font: 58px/1 var(--serif);
  color: #969f7f
}

.letter-box blockquote {
  font: 400 clamp(29px, 2.8vw, 44px)/1.1 var(--serif);
  letter-spacing: -.021em;
  margin: 0 0 20px
}

.family-who {
  font-size: 13px;
  font-weight: 650
}

.family-who span,
.family-detail {
  color: var(--muted)
}

.family-detail {
  font-size: 13px;
  line-height: 1.6;
  margin: 7px 0 16px;
  max-width: 48ch
}

.letter-controls,
.letter-controls>div {
  display: flex;
  align-items: center;
  gap: 7px
}

.letter-controls {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px
}

.letter-controls>span {
  font-size: 11px;
  letter-spacing: .06em
}

.round-arrow {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border: 1px solid #c2c6b4;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer
}

.round-arrow:hover {
  background: var(--sage)
}

.round-arrow.prev svg {
  transform: rotate(180deg)
}

.invitation {
  padding-block: clamp(50px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 5%
}

.invitation p:not(.eyebrow) {
  max-width: 43ch;
  margin: 16px 0 20px;
  color: var(--muted)
}

.invitation-art {
  height: clamp(180px, 21vw, 285px);
  width: 100%;
  object-fit: contain
}

.hero-art .turn-print:focus-visible {
  outline-offset: -4px
}

.header-actions .paw-switch .icon {
  fill: currentColor;
  stroke: none;
  width: 19px
}

.footer-links #trail-toggle {
  padding: 8px 0
}

.footer-base a:hover {
  text-decoration: underline
}

.hero-art .turn-print:disabled {
  cursor: wait
}

@media(min-width:721px) and (max-width:1000px) {

  .hero h1 {
    font-size: 8vw
  }

  .hero-actions {
    gap: 12px
  }

  .hero-actions .button {
    padding-inline: 17px
  }

  .hero-actions .text-link {
    font-size: 12px
  }

  .credential-row>a {
    font-size: 11px;
    gap: 5px
  }

  .hero-art {
    width: 87%
  }

  .show-evidence {
    width: 89%
  }
}

@media(max-width:720px) {
  .hero h1 {
    font-size: clamp(60px, 13vw, 96px)
  }

  .hero-art {
    width: min(76%, 350px)
  }

  .hero-layout {
    padding-bottom: 39px
  }

  .hero .lede {
    max-width: 45ch
  }

  .credential-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px 15px;
    min-height: 0;
    padding: 13px 0
  }

  .credential-row>a,
  .credential-row>a+a {
    padding: 0;
    border: 0;
    font-size: 11px;
    gap: 5px
  }

  .credential-row .icon {
    width: 17px;
    height: 17px
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 13px
  }

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

  .album-card:nth-child(2),
  .album-card:nth-child(3) {
    padding: 0
  }

  .album-card:first-child {
    grid-column: span 2
  }

  .album-card:first-child .album-image {
    aspect-ratio: 1.8
  }

  .album-card h3 {
    font-size: 32px
  }

  .card-arrow {
    width: 28px;
    height: 28px;
    bottom: 8px;
    right: 8px
  }

  .album-meta {
    font-size: 9px
  }

  .album-card figcaption {
    padding: 8px 0
  }

  .show-grid,
  .story-section,
  .family-layout {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .show-copy {
    max-width: 50ch
  }

  .show-evidence {
    width: min(75%, 330px)
  }

  .story-art {
    order: 2;
    width: min(90%, 350px)
  }

  .family-section {
    padding-block: 0
  }

  .invitation {
    grid-template-columns: 1fr
  }

  .invitation-art {
    height: 175px;
    margin-top: 15px
  }

  .ribbon-print figcaption {
    font-size: 14px
  }

  .letter-mark {
    font-size: 40px;
    top: 0
  }

  .album-next {
    padding-left: 4px;
    gap: 4px
  }

  .cover-photo figcaption {
    font-size: 22px
  }

  .hero-art .seal {
    width: clamp(62px, 16vw, 78px)
  }
}

@media(max-width:390px) {

  .hero-actions {
    gap: 16px
  }

  .hero-actions .button {
    padding-inline: 16px
  }

  .hero-actions .text-link {
    font-size: 12px
  }

  .footer-base {
    align-items: flex-start
  }

  .hero h1 {
    font-size: 13vw
  }
}

.records {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 15px;
  color: #e5e7d9;
  font-size: 12px
}

.records a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-bottom: 1px solid #bec3ad
}

.records svg,
.registry-item strong .drawn-arrow {
  width: 11px;
  height: 11px
}

.album-enlarge .drawn-arrow {
  width: 13px;
  height: 13px
}

.footer-base a {
  display: inline-flex;
  align-items: center;
  gap: 4px
}

.show-copy .text-link {
  color: #fffdf2
}

.turn-print {
  touch-action: pan-y
}

.hero-art[data-print="2"] .cover-photo img {
  background: #e6dfd0
}

.hero-art[data-print="3"] .cover-photo img {
  background: #eae7dd
}

.show-evidence img,
.turn-print img {
  -webkit-user-drag: none
}

@media (prefers-reduced-motion:no-preference) {
  .hero-copy h1 {
    animation: ink-arrive .65s both
  }

  .hero-art {
    animation: place-print .7s cubic-bezier(.25, .6, .25, 1) both
  }

  @keyframes ink-arrive {
    from {
      opacity: .75;
      transform: translateY(6px)
    }

    to {
      opacity: 1;
      transform: translateY(0)
    }
  }

  @keyframes place-print {
    from {
      opacity: .8;
      transform: translate(8px, -4px) rotate(1deg)
    }

    to {
      opacity: 1;
      transform: none
    }
  }
}

/* Lettering, cards and painted arrows share the same pen weight. */
@media(min-width:721px) {
  .cover-photo figcaption {
    padding-left: 13%
  }
}

@media(max-width:720px) {
  .cover-photo figcaption {
    padding-left: 13%
  }

  .hero-copy {
    max-width: 40rem
  }

  .hero-actions {
    row-gap: 9px;
    flex-wrap: wrap
  }
}

/* The collector's seal sits on the mount, clear of the original photo credits. */
.hero-art .seal {
  bottom: auto;
  top: -4%;
  left: auto;
  right: -9%;
  width: clamp(75px, 6.9vw, 103px)
}

.cover-photo figcaption {
  padding-left: 9px
}

.hero h1 em {
  white-space: nowrap
}

.hero-layout {
  grid-template-columns: 1.08fr .92fr
}

.hero h1 {
  font-size: clamp(70px, 7.7vw, 120px)
}

@media(max-width:720px) {
  .hero-layout {
    grid-template-columns: 1fr
  }

  .hero h1 {
    font-size: clamp(58px, 13vw, 96px)
  }

  .hero-art .seal {
    width: clamp(58px, 14vw, 73px);
    right: -8%
  }

  .cover-photo figcaption {
    padding-left: 4px
  }
}

.turn-print {
  position: relative;
  isolation: isolate
}

.turn-print .departing-print {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 100%;
  box-shadow: 0 5px 15px #43352638;
  pointer-events: none;
  transform-origin: bottom right
}

.album-next .turn-label {
  font-size: 11px
}

.album-next {
  gap: 7px
}

.album-next .drawn-arrow {
  width: 18px
}

.album-next:hover .drawn-arrow {
  transform: translateX(2px)
}

.invitation-art {
  display: block
}

@media(max-width:430px) {
  .album-next .turn-label {
    display: none
  }
}

/* The portrait mounts sit on a cloth-bound board. Both printed surfaces stay behind the original photographs. */
.hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 76% 58%, #e9e4d4 0%, #f5f0e5 34%, var(--cream) 72%);
}
.hero-layout { position: relative; }
.hero-copy { position: relative; z-index: 1; }
.hero-garden {
  position: absolute;
  width: clamp(220px, 24vw, 355px);
  height: auto;
  left: 36.6%;
  bottom: -10px;
  opacity: .46;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-art { isolation: isolate; }
.album-cloth {
  position: absolute;
  z-index: -1;
  inset: 2.5% -2.3% .5% -3%;
  transform: rotate(-4deg);
  border-radius: 2px 6px 6px 2px;
  background: linear-gradient(90deg,#203023a8 0%, transparent 3.4%, #abb09580 4%, #1f302444 5%, transparent 6.5%),
    #334132 url('assets/illustrations/coon-endpaper.webp') 76% 60% / 280px auto;
  box-shadow: 0 6px 14px #35372130, inset 0 0 0 1px #2d3a30;
}
.album-cloth::after { content:''; position:absolute; inset:7px 6px 6px 8%; border:1px solid #d2cb9d80; border-radius:1px; }
.hero-art .cover-photo::before { inset: 5px -3px -4px 7px; transform:rotate(-1.5deg); }
.show-bench { position: relative; isolation: isolate; }
.show-bench::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .83;
  background: linear-gradient(90deg, #3c4634 1%, #3c4634f7 31%, #3c46349e 62%, #36443226 100%),
    #344335 url('assets/illustrations/coon-endpaper.webp') right center / 420px auto repeat;
  pointer-events: none;
}
@media (max-width: 1060px) and (min-width: 721px) {
  .hero-garden { left: 38%; width: 25%; opacity: .33; }
}
@media (max-width: 720px) {
  .hero-garden { width: 53%; max-width: 276px; left: -9%; bottom: -1%; opacity: .52; }
  .hero-art { margin-left: 7%; }
  .show-bench::before { background: linear-gradient(180deg, #3c4634fa 5%, #3c4634f5 41%, #3c463475 70%, #3c46341a 100%),
    #344335 url('assets/illustrations/coon-endpaper.webp') right bottom / 325px auto repeat; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1, .hero-art { animation-fill-mode: none; }
}
.show-print a, .ribbon-print a { display: block; }
.show-print a:hover, .ribbon-print a:hover { cursor: zoom-in; }
.show-print figcaption { padding-left: 8px; text-align: left; }

/* Pitstop's editorial wordmark signs the final page of the album. */
.footer-base { align-items: center; }
.footer-base .maker-credit {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-items: start;
  gap: .85rem;
  padding: .55rem 0;
  color: #0f1e36;
  text-decoration: none;
}
.maker-byline { font: italic 1.04rem/1.15 var(--serif); color: #525746; }
.maker-credit img { display: block; width: 8.9rem; height: auto; }
.maker-credit .drawn-arrow { width: 1rem; height: 1rem; transition: transform .18s ease; }
.footer-base .maker-credit:hover { text-decoration: none; }
.maker-credit:hover .maker-byline { text-decoration: underline; text-underline-offset: .25em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .maker-credit:hover .drawn-arrow { transform: translate(2px, -2px); }
}
@media (max-width: 540px) {
  .footer-base { gap: 1rem; }
  .footer-base .maker-credit { grid-template-columns: auto auto; gap: .28rem .65rem; }
  .maker-byline { grid-column: 1 / -1; font-size: .88rem; }
  .maker-credit img { width: 7.6rem; }
}
.home-family-archive { margin-top: 1rem; }
