:root {
  --paper: #f6eee9;
  --paper-light: #fffaf6;
  --ink: #25161d;
  --ink-soft: #684f5b;
  --pink: #ed6fa7;
  --pink-bright: #f45c9f;
  --pink-pale: #f8c9dc;
  --rose-dark: #8f2454;
  --butter: #f6df75;
  --white: #fffdfb;
  --line: rgba(37, 22, 29, 0.18);
  --shadow: 18px 20px 0 var(--ink);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 14%, rgba(246, 223, 117, 0.34), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(237, 111, 167, 0.22), transparent 30rem),
    linear-gradient(135deg, var(--paper-light), var(--paper));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--white);
  background: var(--rose-dark);
}

a {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--rose-dark);
  outline-offset: 5px;
}

.grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.backdrop-orb {
  position: fixed;
  z-index: 0;
  border: 1px solid rgba(37, 22, 29, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.backdrop-orb-one {
  width: clamp(18rem, 35vw, 36rem);
  aspect-ratio: 1;
  top: -17rem;
  left: -10rem;
}

.backdrop-orb-two {
  width: clamp(20rem, 39vw, 42rem);
  aspect-ratio: 1;
  right: -18rem;
  bottom: -21rem;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
}

.site-header {
  display: flex;
  width: min(100%, 96rem);
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding:
    max(1.5rem, env(safe-area-inset-top))
    max(2rem, env(safe-area-inset-right))
    1.25rem
    max(2rem, env(safe-area-inset-left));
}

.wordmark {
  position: relative;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  color: var(--rose-dark);
  font-style: italic;
  font-weight: 500;
}

.wordmark i {
  color: var(--pink-bright);
  font-style: normal;
}

.wordmark::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--pink-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.wordmark:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 246, 0.62);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-link svg {
  width: 1.4rem;
  height: 1.4rem;
  padding: 0.2rem;
  border-radius: 50%;
  background: var(--pink-pale);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-link:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.header-link:hover svg {
  color: var(--ink);
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

main:focus {
  outline: none;
}

.hero {
  display: grid;
  width: min(100%, 96rem);
  min-height: calc(100svh - 13rem);
  grid-template-columns: minmax(0, 1.04fr) minmax(25rem, 0.96fr);
  gap: clamp(2.5rem, 5vw, 6.5rem);
  align-items: center;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem) clamp(4rem, 7vw, 6.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 47rem;
  animation: reveal-copy 700ms 80ms both cubic-bezier(0.2, 0.75, 0.25, 1);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 2.25rem;
  height: 2px;
  background: var(--ink);
}

.eyebrow-star {
  color: var(--rose-dark);
  font-size: 1rem;
  animation: twinkle 2.8s ease-in-out infinite;
}

h1 {
  margin: 0;
  line-height: 0.76;
}

.title-intro,
.title-name,
.title-surname {
  display: block;
}

.title-intro {
  margin: 0 0 0.8rem 0.3rem;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.7vw, 1.25rem);
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.title-name {
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(6.5rem, 11.5vw, 10.8rem);
  font-weight: 500;
  letter-spacing: -0.09em;
}

.title-surname {
  width: max-content;
  margin-top: 0.22em;
  margin-left: clamp(2rem, 7vw, 6rem);
  color: var(--rose-dark);
  font-size: clamp(4.6rem, 9vw, 8.3rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.72;
  text-transform: uppercase;
  -webkit-text-stroke: clamp(1.5px, 0.16vw, 2.5px) var(--rose-dark);
}

@supports (-webkit-text-stroke: 1px #000) {
  .title-surname {
    color: transparent;
  }
}

.title-surname > span {
  color: var(--pink-bright);
  -webkit-text-stroke: 0;
}

.intro {
  max-width: 34rem;
  margin: clamp(2.25rem, 4vw, 3.75rem) 0 0;
  color: var(--ink-soft);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.65;
}

.intro strong {
  color: var(--ink);
  font-style: italic;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: stretch;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.primary-link {
  display: grid;
  min-width: min(100%, 18.5rem);
  min-height: 4.65rem;
  grid-template-columns: 2.8rem 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem 0.95rem;
  border: 2px solid var(--ink);
  border-radius: 1.15rem;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 0 0 rgba(37, 22, 29, 0);
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.primary-link:hover {
  box-shadow: 7px 7px 0 var(--pink);
  transform: translate(-3px, -3px);
}

.primary-link:active {
  box-shadow: 2px 2px 0 var(--pink);
  transform: translate(0, 0);
}

.instagram-icon {
  display: grid;
  width: 2.8rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 0.85rem;
  color: var(--ink);
  background: var(--pink-pale);
}

.instagram-icon svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-icon .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.primary-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.primary-copy small {
  color: #eadde3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.primary-copy strong {
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.primary-arrow {
  display: grid;
  width: 2.15rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.primary-link:hover .primary-arrow {
  transform: translate(2px, -2px);
}

.handle-badge {
  display: inline-flex;
  min-height: 4.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 1.15rem;
  background: rgba(255, 250, 246, 0.66);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.handle-badge span {
  margin-right: 0.2rem;
  color: var(--rose-dark);
}

.mood-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.3rem;
  margin: 1.85rem 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  list-style: none;
  text-transform: uppercase;
}

.mood-list li {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.mood-list li:not(:last-child)::after {
  color: var(--rose-dark);
  content: "♡";
  font-size: 0.85rem;
}

.visual-column {
  position: relative;
  display: grid;
  min-height: clamp(34rem, 46vw, 44rem);
  place-items: center;
  perspective: 75rem;
  animation: reveal-visual 850ms 160ms both cubic-bezier(0.2, 0.75, 0.25, 1);
}

.portrait-card {
  position: relative;
  width: min(78%, 30rem);
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 1.25rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(145deg, #f28ab8 0%, var(--pink) 48%, #db5592 100%);
  background-size: 2rem 2rem, 2rem 2rem, 100% 100%;
  box-shadow: var(--shadow);
  transform: rotate(-3deg) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 240ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.portrait-card::before {
  position: absolute;
  width: 13rem;
  aspect-ratio: 1;
  top: -7rem;
  right: -5rem;
  content: "";
  border: 2px solid rgba(37, 22, 29, 0.52);
  border-radius: 50%;
}

.card-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(37, 22, 29, 0.34);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.monogram-stage {
  position: absolute;
  display: grid;
  inset: 4.3rem 0 4.6rem;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(37, 22, 29, 0.34);
  border-radius: 50%;
}

.orbit-one {
  width: 75%;
  aspect-ratio: 1;
}

.orbit-two {
  width: 56%;
  aspect-ratio: 1;
  border-color: rgba(255, 253, 251, 0.68);
}

.orbit-three {
  width: 91%;
  height: 34%;
  transform: rotate(-14deg);
}

.monogram,
.monogram-shadow {
  position: absolute;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: clamp(11rem, 19vw, 16rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 1;
}

.monogram-shadow {
  color: var(--ink);
  transform: translate(0.55rem, 0.55rem);
}

.monogram {
  color: var(--white);
  text-shadow: 0 1px 0 rgba(37, 22, 29, 0.15);
}

.stage-heart,
.stage-star {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
}

.stage-heart {
  width: 3.2rem;
  aspect-ratio: 1;
  right: 13%;
  bottom: 15%;
  background: var(--butter);
  font-size: 1.55rem;
  transform: rotate(8deg);
}

.stage-star {
  width: 2.6rem;
  aspect-ratio: 1;
  top: 17%;
  left: 12%;
  color: var(--white);
  background: var(--ink);
  font-size: 1rem;
  transform: rotate(-8deg);
}

.card-caption {
  position: absolute;
  z-index: 2;
  display: flex;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 4.65rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  border-top: 2px solid var(--ink);
  background: var(--paper-light);
}

.card-caption span:first-child {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
}

.card-caption span:last-child {
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

.floating-note span {
  color: var(--rose-dark);
  font-family: sans-serif;
  font-size: 1.15rem;
  font-style: normal;
}

.note-top {
  top: 16%;
  right: -1%;
  background: var(--paper-light);
  transform: rotate(7deg);
  animation: float-note 4.8s ease-in-out infinite;
}

.note-bottom {
  bottom: 13%;
  left: -2%;
  background: var(--butter);
  transform: rotate(-6deg);
  animation: float-note-reverse 5.3s ease-in-out infinite;
}

.round-stamp {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 5.4rem;
  aspect-ratio: 1;
  right: 1%;
  bottom: 2%;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
  box-shadow: 4px 4px 0 var(--pink);
}

.round-stamp svg {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  overflow: visible;
  fill: var(--ink);
  animation: slow-spin 16s linear infinite;
}

.round-stamp path {
  fill: none;
}

.round-stamp text {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.round-stamp strong {
  color: var(--rose-dark);
  font-size: 1.4rem;
}

.mood-marquee {
  width: 100%;
  overflow: hidden;
  border-block: 2px solid var(--ink);
  color: var(--white);
  background: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 24s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  padding: 0.82rem clamp(1.5rem, 3vw, 3.5rem) 0.82rem 0;
}

.marquee-track span {
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.19em;
  white-space: nowrap;
}

.marquee-track i {
  color: var(--pink);
  font-size: 1.1rem;
  font-style: normal;
}

.site-footer {
  display: grid;
  width: min(100%, 96rem);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-inline: auto;
  padding:
    1.5rem
    max(2rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(2rem, env(safe-area-inset-left));
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 0.84rem;
  font-style: italic;
  letter-spacing: 0;
}

.footer-note span {
  color: var(--rose-dark);
}

.site-footer > a {
  justify-self: end;
  color: var(--ink);
  font-weight: 850;
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 1px;
}

.site-footer > a:hover {
  color: var(--rose-dark);
}

@keyframes reveal-copy {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-visual {
  from {
    opacity: 0;
    transform: translateY(1.75rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.65; transform: rotate(0deg) scale(1); }
  50% { opacity: 1; transform: rotate(16deg) scale(1.18); }
}

@keyframes float-note {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-0.55rem); }
}

@keyframes float-note-reverse {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(0.5rem); }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (hover: hover) and (pointer: fine) {
  .portrait-card {
    will-change: transform;
  }
}

@media (max-width: 68rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
    gap: 2.5rem;
  }

  .title-name {
    font-size: clamp(6rem, 12.5vw, 8.8rem);
  }

  .title-surname {
    font-size: clamp(4.25rem, 9.5vw, 6.9rem);
  }

  .note-top {
    right: 0;
  }

  .note-bottom {
    left: 0;
  }
}

@media (max-width: 51.25rem) {
  .site-header {
    padding-inline-start: max(1.35rem, env(safe-area-inset-left));
    padding-inline-end: max(1.35rem, env(safe-area-inset-right));
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 3.25rem;
    padding-top: 3.5rem;
    padding-right: max(1.35rem, env(safe-area-inset-right));
    padding-bottom: 5rem;
    padding-left: max(1.35rem, env(safe-area-inset-left));
  }

  .hero-copy {
    width: min(100%, 41rem);
    margin-inline: auto;
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .mood-list {
    justify-content: center;
  }

  .title-surname {
    margin-inline: auto;
  }

  .intro {
    margin-inline: auto;
  }

  .visual-column {
    width: min(100%, 39rem);
    min-height: clamp(31rem, 91vw, 41rem);
    margin-inline: auto;
  }

  .portrait-card {
    width: min(72%, 28rem);
  }

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

  .footer-note {
    display: none;
  }
}

@media (max-width: 35rem) {
  .site-header {
    padding-top: max(1.15rem, env(safe-area-inset-top));
  }

  .header-link {
    gap: 0;
    padding: 0.55rem;
  }

  .header-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .header-link svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  .hero {
    gap: 2.35rem;
    padding-top: 2.4rem;
    padding-bottom: 4rem;
  }

  .eyebrow {
    margin-bottom: 1.35rem;
    font-size: 0.68rem;
  }

  .eyebrow-line {
    width: 1.6rem;
  }

  .title-name {
    font-size: clamp(5.3rem, 31vw, 7rem);
  }

  .title-surname {
    font-size: clamp(3.7rem, 22vw, 5rem);
  }

  .intro {
    margin-top: 2.25rem;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-link,
  .handle-badge {
    width: 100%;
  }

  .mood-list {
    gap: 0.5rem 0.8rem;
    font-size: 0.66rem;
  }

  .mood-list li {
    gap: 0.8rem;
  }

  .visual-column {
    min-height: clamp(25rem, 125vw, 34rem);
  }

  .portrait-card {
    width: min(74%, 22rem);
    border-radius: 1rem;
    box-shadow: 10px 12px 0 var(--ink);
  }

  .card-topline {
    padding: 0.85rem 0.9rem;
    font-size: 0.52rem;
  }

  .monogram-stage {
    inset-block: 3.25rem 3.75rem;
  }

  .monogram,
  .monogram-shadow {
    font-size: clamp(8rem, 43vw, 11rem);
  }

  .stage-heart {
    width: 2.55rem;
    font-size: 1.2rem;
  }

  .stage-star {
    width: 2.15rem;
  }

  .card-caption {
    min-height: 3.75rem;
    padding: 0.75rem 0.85rem;
  }

  .card-caption span:first-child {
    font-size: 1.05rem;
  }

  .card-caption span:last-child {
    font-size: 0.5rem;
  }

  .floating-note {
    min-height: 2.75rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.75rem;
  }

  .note-top {
    top: 13%;
    right: -0.35rem;
  }

  .note-bottom {
    bottom: 4%;
    left: -0.2rem;
  }

  .round-stamp {
    display: none;
  }

  .site-footer {
    gap: 0.75rem;
    padding-inline-start: max(1.35rem, env(safe-area-inset-left));
    padding-inline-end: max(1.35rem, env(safe-area-inset-right));
    font-size: 0.68rem;
  }
}

@media (max-width: 21.875rem) {
  .card-caption span:last-child {
    display: none;
  }
}

@media (max-width: 51.25rem) and (max-height: 35rem) and (orientation: landscape) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.8fr);
    gap: 1.5rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

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

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

  .eyebrow {
    margin-bottom: 1.25rem;
  }

  .title-name {
    font-size: clamp(5rem, 14vw, 6.25rem);
  }

  .title-surname {
    margin-left: 1.5rem;
    font-size: clamp(3.5rem, 10vw, 4.5rem);
  }

  .intro {
    margin-top: 1.75rem;
    margin-left: 0;
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-top: 1.25rem;
  }

  .primary-link {
    min-height: 4.1rem;
  }

  .handle-badge,
  .mood-list,
  .floating-note,
  .round-stamp {
    display: none;
  }

  .visual-column {
    min-height: 22rem;
  }

  .portrait-card {
    width: min(80%, 18rem);
  }

  .card-caption span:last-child {
    display: none;
  }
}

@media (min-width: 51.3125rem) and (max-height: 45rem) {
  .hero {
    min-height: auto;
    padding-block: 2.5rem 4rem;
  }

  .visual-column {
    min-height: 31rem;
  }

  .portrait-card {
    width: min(68%, 23rem);
  }
}

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

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

@media (prefers-contrast: more) {
  :root {
    --ink-soft: #3f2c35;
    --line: rgba(37, 22, 29, 0.55);
  }

  .grain {
    display: none;
  }
}

@media (forced-colors: active) {
  .title-surname {
    color: CanvasText;
    -webkit-text-stroke: 0;
  }

  .primary-link,
  .portrait-card,
  .floating-note,
  .round-stamp {
    box-shadow: none;
  }
}
