/* Base */
:root {
  --ink: #2d2720;
  --ink-soft: rgba(45, 39, 32, 0.62);
  --line: rgba(45, 39, 32, 0.18);
  --paper: #f5eee2;
  --apricot: #e7c8a2;
  --ochre: #d9b18a;
  --teal: #102b2d;
  --teal-ink: #f0e5d3;
  --serif:
    "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Avenir Next", "Segoe UI", Helvetica, sans-serif;
  --measure: 760px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--teal);
}
body {
  width: 100%;
  min-width: 0;
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: var(--grain);
  mix-blend-mode: multiply;
}
h1,
h2,
p,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.visual-asset {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.sheets {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
}
.sheet {
  position: relative;
  width: 100%;
  min-width: 0;
}
.column {
  width: min(calc(100% - 40px), var(--measure));
  margin-inline: auto;
}
.sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: var(--grain);
  mix-blend-mode: multiply;
}
.sheet--identity {
  padding: clamp(52px, 9vw, 104px) 0 clamp(48px, 7vw, 76px);
  background: var(--paper);
}
.identity {
  display: grid;
  grid-template-columns: 92px 1fr;
  column-gap: 25px;
  align-items: center;
}
.portrait {
  width: 92px;
  height: 112px;
  grid-row: span 3;
  overflow: hidden;
  border-radius: 48% 48% 8px 8px;
  background: var(--apricot);
  box-shadow:
    0 0 0 1px rgba(45, 39, 32, 0.25),
    7px 8px 0 rgba(45, 39, 32, 0.08);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.identity__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.identity__handle {
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.identity__bio {
  max-width: 30ch;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.sheet--links {
  padding: clamp(42px, 7vw, 72px) 0 clamp(52px, 8vw, 88px);
}
.sheet--other {
  background: var(--ochre);
  box-shadow: inset 0 -1px rgba(45, 39, 32, 0.12);
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.group-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
}
.section-index {
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.links {
  border-top: 1px solid var(--line);
}
.links li {
  border-bottom: 1px solid var(--line);
}
.link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 76px;
  column-gap: 14px;
  padding: 11px 4px;
  transition:
    background-color 0.2s ease,
    padding 0.2s ease;
}
.link:hover,
.link:focus-visible {
  background: rgba(255, 249, 237, 0.28);
  padding-inline: 10px;
}
.link__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.link__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.link__name {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.1;
}
.link__note {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.2;
}
.link__username + .link__username::before {
  content: "·";
  margin-right: 16px;
  color: var(--ink-soft);
}
.link__arrow {
  display: inline-flex;
  justify-content: flex-end;
  color: var(--ink-soft);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}
.link__arrow svg {
  width: 17px;
  height: 17px;
}
.link:hover .link__arrow,
.link:focus-visible .link__arrow {
  color: var(--ink);
  transform: translate(2px, -2px);
}
.sheet--footer {
  padding: 48px 0 calc(42px + env(safe-area-inset-bottom));
  color: var(--teal-ink);
  background: var(--teal);
}
.sheet--footer::after {
  opacity: 0.1;
  mix-blend-mode: screen;
}
.footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.footer__closing,
.footer__legal {
  color: rgba(240, 229, 211, 0.62);
  font-size: 0.82rem;
}
.footer__links {
  display: flex;
  gap: 20px;
}
.footer__link {
  color: var(--teal-ink);
  font-size: 0.84rem;
  text-decoration: underline;
  text-decoration-color: rgba(240, 229, 211, 0.34);
  text-underline-offset: 4px;
}
.footer__legal {
  margin-top: 24px;
}
@media (max-width: 560px) {
  .column {
    width: min(calc(100% - 32px), var(--measure));
  }
  .identity {
    grid-template-columns: 76px 1fr;
    column-gap: 18px;
  }
  .portrait {
    width: 76px;
    height: 96px;
  }
  .identity__name {
    font-size: clamp(2.65rem, 14vw, 3.7rem);
  }
  .section-heading {
    align-items: flex-end;
  }
  .section-index {
    max-width: 10ch;
    text-align: right;
    line-height: 1.3;
  }
  .footer {
    display: block;
  }
  .footer__closing {
    margin-top: 9px;
  }
  .footer__links {
    margin-top: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Layout and section surfaces */
.sheets {
  flex: 1 0 auto;
  width: 100%;
}
.column {
  width: min(calc(100% - 48px), 820px);
}
.sheet--identity {
  padding: clamp(52px, 9vw, 104px) 0 clamp(54px, 8vw, 92px);
}
.identity {
  grid-template-columns: clamp(104px, 15vw, 132px) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(24px, 4vw, 42px);
}
.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  border: 1px solid rgba(45, 39, 32, 0.26);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(45, 39, 32, 0.1);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  border: 1px solid rgba(255, 250, 239, 0.6);
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.24),
    transparent 22%,
    transparent 72%,
    rgba(255, 255, 255, 0.12)
  );
}
.identity__name {
  font-size: 0;
  line-height: 1;
  font-weight: 400;
}
.identity__signature {
  width: min(100%, 330px);
  height: auto;
  filter: brightness(0) saturate(100%);
}
.identity__bio {
  max-width: 34ch;
  margin-top: 10px;
}
.sheet--other {
  background: #dfbd95;
  box-shadow: none;
}
.sheet--links {
  padding: clamp(42px, 7vw, 70px) 0 clamp(54px, 8vw, 88px);
}
.link__icon {
  filter: brightness(0) saturate(100%);
}
.sheet--footer {
  padding: 56px 0 calc(42px + env(safe-area-inset-bottom));
}
.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
}
.footer__art {
  width: min(100%, 170px);
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
.footer__closing {
  margin-top: 10px;
}
.footer__legal {
  grid-column: 1/-1;
  margin-top: 2px;
}
@media (max-width: 560px) {
  .column {
    width: min(calc(100% - 32px), 820px);
  }
  .identity {
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 20px;
  }
  .identity__signature {
    width: min(100%, 260px);
  }
  .footer {
    display: block;
  }
  .footer__art {
    width: 150px;
    height: 58px;
  }
  .footer__links {
    margin-top: 24px;
  }
  .footer__legal {
    margin-top: 24px;
  }
}

/* Profile and footer details */
.identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.portrait {
  width: clamp(150px, 24vw, 190px);
  height: auto;
  aspect-ratio: 3/4;
  flex: none;
}
.identity__name {
  margin-top: 22px;
}
.identity__signature {
  width: min(100%, 200px);
}
.identity__handle {
  margin-top: 13px;
}
.identity__bio {
  margin-top: 9px;
}
.footer__art {
  width: min(100%, 340px);
  height: auto;
  object-fit: initial;
}
@media (max-width: 560px) {
  .identity {
    display: flex;
  }
  .portrait {
    width: clamp(150px, 48vw, 190px);
  }
  .identity__signature {
    width: 200px;
  }
  .footer__art {
    width: min(100%, 280px);
    height: auto;
  }
}

/* Responsive layout */
:root {
  --page-bg: #edf1f4;
  --paper: #f6f1e8;
  --secondary: #ded8cc;
  --apricot: #e9e2d7;
  --ochre: #ded8cc;
  --teal: #173437;
  --teal-ink: #f1eadf;
}

.column {
  width: min(calc(100% - 32px), 960px);
}
.sheet--identity {
  padding: clamp(48px, 8vw, 112px) 0 clamp(52px, 7vw, 88px);
}
.identity {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: start;
  row-gap: 0;
  width: min(100%, 760px);
}
.portrait {
  grid-row: auto;
  width: clamp(156px, 22vw, 208px);
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 16px;
  box-shadow:
    0 7px 18px rgba(37, 35, 30, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.portrait img {
  object-fit: contain;
}
.portrait::after {
  inset: 5px;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(45, 39, 32, 0.08);
}
.identity__name {
  width: 100%;
  margin-top: 24px;
  text-align: center;
}
.identity__signature {
  width: min(100%, 200px);
  margin-inline: auto;
}
.identity__handle {
  margin-top: 13px;
  text-align: center;
}
.identity__bio {
  width: 100%;
  max-width: 620px;
  margin: 28px auto 0;
  text-align: center;
}

.sheet--other {
  background: var(--secondary);
  box-shadow: none;
}
.sheet--links {
  padding: clamp(48px, 7vw, 86px) 0 clamp(58px, 8vw, 96px);
}
.section-heading {
  margin-bottom: 26px;
}
.group-title {
  font-size: clamp(1.9rem, 3.3vw, 2.6rem);
}
.section-index {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}
.link {
  min-height: 78px;
  padding: 13px 4px;
}
.link__name {
  font-size: 1.08rem;
  letter-spacing: 0.005em;
}
.link__note {
  font-size: 0.82rem;
}

.sheet--footer {
  padding: clamp(48px, 6vw, 72px) 0 calc(48px + env(safe-area-inset-bottom));
}
.footer {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
}
.footer__art {
  width: 255px;
  height: auto;
  max-width: 100%;
  object-fit: initial;
}

@media (min-width: 600px) {
  .column {
    width: min(calc(100% - 64px), 960px);
  }
  .identity__bio {
    margin-top: 32px;
  }
  .sheet--links {
    padding-block: clamp(58px, 7vw, 96px);
  }
  .link {
    min-height: 84px;
    padding-block: 15px;
  }
}

@media (min-width: 1024px) {
  .column {
    width: min(calc(100% - 112px), 960px);
  }
  .sheet--identity {
    padding-top: 112px;
    padding-bottom: 96px;
  }
  .identity {
    width: min(100%, 800px);
  }
  .portrait {
    width: 220px;
  }
  .identity__signature {
    width: 200px;
  }
  .identity__bio {
    max-width: 680px;
    margin-top: 34px;
    font-size: 1.04rem;
  }
  .sheet--links {
    padding-block: 88px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .link {
    min-height: 88px;
  }
  .link__name {
    font-size: 1.14rem;
  }
  .link__note {
    font-size: 0.86rem;
  }
  .footer__art {
    width: 255px;
  }
}

@media (max-width: 599px) {
  .identity__bio {
    margin-top: 26px;
  }
  .footer {
    display: block;
  }
  .footer__art {
    width: 210px;
  }
  .footer__links {
    margin-top: 26px;
  }
}

/* Platform directory and account selector */
.sheet--links {
  background: var(--paper);
}
.sheet--links > .column {
  width: min(calc(100% - 32px), 960px);
  padding: 30px 28px 0;
  background: rgba(232, 226, 215, 0.56);
  border: 1px solid rgba(45, 39, 32, 0.17);
  border-radius: 12px;
  overflow: hidden;
}
.sheet--other > .column {
  background: rgba(222, 216, 204, 0.62);
}
.sheet--links .section-heading {
  margin-bottom: 24px;
}
.sheet--links .links {
  margin-inline: -28px;
}
.sheet--links .link {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.sheet--links .link:hover,
.sheet--links .link:focus-visible {
  background: rgba(255, 252, 246, 0.28);
}
.link[aria-haspopup="dialog"] {
  cursor: pointer;
}
.link[aria-haspopup="dialog"],
.link[aria-haspopup="dialog"]:focus {
  width: 100%;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
}

.account-dialog {
  width: min(calc(100% - 32px), 360px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.account-dialog::backdrop {
  background: rgba(23, 52, 55, 0.28);
  backdrop-filter: blur(2px);
}
.account-dialog__panel {
  position: relative;
  padding: 30px;
  background: var(--paper);
  border: 1px solid rgba(45, 39, 32, 0.2);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(23, 52, 55, 0.2);
}
.account-dialog__title {
  font: 400 2rem/1 var(--serif);
}
.account-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.account-dialog__options {
  display: grid;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.account-dialog__option {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
}
.account-dialog__option:hover,
.account-dialog__option:focus-visible {
  color: var(--teal);
  padding-left: 6px;
}

@media (max-width: 599px) {
  .sheet--links > .column {
    padding: 24px 18px 0;
  }
  .sheet--links .links {
    margin-inline: -18px;
  }
  .account-dialog__panel {
    padding: 26px 22px;
  }
}

/* Profile styling */
:root {
  --ink: #171a1d;
  --ink-soft: rgba(23, 26, 29, 0.62);
  --line: rgba(23, 26, 29, 0.12);
  --paper: var(--page-bg);
  --secondary: #e4e9ed;
  --teal: #17272b;
  --teal-ink: #f2f5f4;
}

body {
  background: var(--page-bg);
  color: var(--ink);
}
.sheet--identity {
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: 18px 0 clamp(58px, 9vw, 108px);
  background: rgba(237, 241, 244, 0.94);
}
.sheet--identity::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -10% -8% 22%;
  background-image: var(--hero-photo);
  background-position: center 18%;
  background-size: cover;
  filter: blur(38px) saturate(0.7);
  opacity: 0.22;
  transform: scale(1.12);
}
.sheet--identity::after {
  z-index: -1;
  opacity: 0.08;
  background-image: var(--grain);
  mix-blend-mode: multiply;
}
.hero__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), 900px);
  margin: 0 auto clamp(42px, 8vw, 76px);
}
.identity {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 700px);
  display: flex;
  align-items: center;
  gap: 0;
}
.portrait {
  position: relative;
  width: clamp(190px, 55vw, 290px);
  aspect-ratio: 1/1;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 24px 44px rgba(41, 57, 67, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.portrait::after {
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.portrait img {
  object-fit: contain;
}
.identity__name {
  width: auto;
  margin-top: 28px;
}
.identity__signature {
  width: min(100%, 165px);
  filter: brightness(0) saturate(100%);
  opacity: 0.9;
}
.identity__handle {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.identity__bio {
  width: min(100%, 560px);
  margin-top: 25px;
  color: var(--ink-soft);
  font-size: 1rem;
  text-align: center;
}
.primary-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 27px;
}
.primary-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.37);
  box-shadow:
    0 9px 22px rgba(35, 49, 58, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.primary-social__link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}
.primary-social__link:hover,
.primary-social__link:focus-visible {
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 12px 28px rgba(35, 49, 58, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}
.primary-social__link:active {
  transform: scale(0.96);
}

.sheet--links {
  padding: clamp(28px, 5vw, 56px) 0;
  background: var(--paper);
}
.sheet--links > .column {
  width: min(calc(100% - 32px), 720px);
  padding: 0;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow:
    0 12px 34px rgba(48, 63, 72, 0.06),
    inset 0 1px rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  overflow: hidden;
}
.sheet--other > .column {
  background: rgba(255, 255, 255, 0.48);
}
.sheet--links .section-heading {
  display: flex;
  align-items: center;
  padding: 26px 24px 18px;
  margin: 0;
}
.sheet--links .group-title {
  font: 500 1.28rem/1.1 var(--sans);
  letter-spacing: -0.02em;
}
.sheet--links .section-index {
  color: var(--ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}
.sheet--links .links {
  margin: 0;
  border-top: 1px solid var(--line);
}
.sheet--links .links li {
  border-bottom: 1px solid var(--line);
}
.sheet--links .links li:last-child {
  border-bottom: 0;
}
.sheet--links .link {
  min-height: 76px;
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.sheet--links .link:hover,
.sheet--links .link:focus-visible {
  padding-inline: 28px;
  background: rgba(255, 255, 255, 0.42);
}
.sheet--links .link__icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%);
}
.sheet--links .link__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.sheet--links .link__note {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.sheet--links .link__arrow {
  color: rgba(23, 26, 29, 0.45);
}

.sheet--footer {
  padding: 52px 0 calc(52px + env(safe-area-inset-bottom));
  background: var(--teal);
}
.footer__art {
  width: 192px;
  height: auto;
  max-width: 100%;
  object-fit: initial;
}

.account-dialog {
  position: fixed;
  inset: auto 16px 18px;
  width: min(calc(100% - 32px), 390px);
  max-width: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 24px;
  background: rgba(241, 245, 247, 0.82);
  box-shadow:
    0 22px 60px rgba(20, 37, 44, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  color: var(--ink);
  transform: translateY(16px);
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}
.account-dialog[open] {
  transform: translateY(0);
  opacity: 1;
}
.account-dialog::backdrop {
  background: rgba(21, 36, 42, 0.3);
  backdrop-filter: blur(10px);
}
.account-dialog__panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: transparent;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}
.account-dialog__panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 76px;
  background: linear-gradient(
    135deg,
    rgba(199, 207, 212, 0.94) 0%,
    rgba(180, 190, 196, 0.9) 52%,
    rgba(210, 217, 221, 0.84) 100%
  );
  pointer-events: none;
}
.account-dialog__title {
  position: relative;
  z-index: 1;
  font: 600 1.25rem/1.15 var(--sans);
  letter-spacing: -0.02em;
}
.account-dialog__close {
  top: 18px;
  right: 20px;
  z-index: 1;
  color: var(--ink-soft);
  font-size: 0.68rem;
  cursor: pointer;
}
.account-dialog__options {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.account-dialog__option {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
}
.account-dialog__option:hover,
.account-dialog__option:focus-visible {
  padding-left: 5px;
  color: var(--teal);
}
.toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 26px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(23, 39, 43, 0.88);
  box-shadow: 0 8px 24px rgba(20, 37, 44, 0.2);
  color: #fff;
  font-size: 0.8rem;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 700px) {
  .sheet--identity {
    padding-top: 26px;
  }
  .hero__toolbar {
    margin-bottom: 68px;
  }
  .portrait {
    width: 300px;
  }
  .identity__signature {
    width: 170px;
  }
  .primary-social {
    gap: 16px;
    margin-top: 30px;
  }
  .primary-social__link {
    width: 56px;
    height: 56px;
  }
  .sheet--links > .column {
    width: min(calc(100% - 64px), 760px);
  }
}
@media (min-width: 1024px) {
  .sheet--identity::before {
    inset: -20% -12% 10%;
    filter: blur(52px) saturate(0.72);
    opacity: 0.2;
  }
  .hero__toolbar {
    width: min(calc(100% - 96px), 1040px);
    margin-bottom: 76px;
  }
  .portrait {
    width: 320px;
  }
  .identity__signature {
    width: 180px;
  }
  .identity__bio {
    font-size: 1.04rem;
  }
  .sheet--links {
    padding-block: 64px;
  }
  .sheet--links > .column {
    width: min(calc(100% - 112px), 800px);
  }
  .sheet--links .link {
    min-height: 82px;
    padding-block: 15px;
  }
  .sheet--links .link:hover,
  .sheet--links .link:focus-visible {
    padding-inline: 28px;
  }
}
@media (max-width: 599px) {
  .hero__toolbar {
    margin-bottom: 44px;
  }
  .identity__signature {
    width: 150px;
  }
  .primary-social {
    gap: 11px;
  }
  .primary-social__link {
    width: 48px;
    height: 48px;
  }
  .sheet--footer {
    padding-bottom: 64px;
  }
  .footer__art {
    width: 158px;
  }
  .account-dialog {
    inset: auto 0 0;
    width: 100%;
    border-radius: 26px 26px 0 0;
  }
  .account-dialog__panel {
    padding: 28px 22px calc(28px + env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .account-dialog,
  .toast,
  .primary-social__link,
  .hero__web,
  .hero__share {
    transition: none;
  }
}

/* Hero composition */
.sheet--identity {
  position: relative;
  overflow: hidden;
  padding: 18px 0 76px;
  background: var(--paper);
}
.sheet--identity::before {
  inset: -12% -10% 20%;
  background-image: var(--hero-photo);
  background-position: center 22%;
  background-size: cover;
  filter: blur(48px) saturate(0.76);
  opacity: 0.25;
  transform: scale(1.14);
}
.hero__toolbar {
  position: relative;
  z-index: 4;
}
.identity {
  width: 100%;
  max-width: none;
  align-items: center;
}
.portrait {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(500px, 128vw, 620px);
  aspect-ratio: auto;
  margin-left: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(
    to bottom,
    transparent 54%,
    rgba(237, 241, 244, 0.08) 66%,
    var(--paper) 100%
  );
  box-shadow: none;
  pointer-events: none;
}
.identity__name {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: -126px;
  text-align: center;
}
.identity__signature {
  width: min(100%, 178px);
  filter: brightness(0) saturate(100%)
    drop-shadow(0 2px 9px rgba(255, 255, 255, 0.55));
  opacity: 0.96;
}
.identity__handle {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.45);
}
.identity__bio {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), 560px);
  margin-top: 32px;
  color: var(--ink-soft);
  text-align: center;
}
.primary-social {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}
.sheet--links {
  position: relative;
  z-index: 1;
}

@media (min-width: 700px) {
  .sheet--identity {
    padding-bottom: 96px;
  }
  .portrait {
    height: clamp(560px, 62vw, 760px);
  }
  .portrait img {
    object-position: center 28%;
  }
  .identity__name {
    margin-top: -150px;
  }
  .identity__signature {
    width: 190px;
  }
}
@media (min-width: 1024px) {
  .sheet--identity::before {
    inset: -18% -14% 8%;
    filter: blur(64px) saturate(0.72);
    opacity: 0.22;
  }
  .portrait {
    height: clamp(620px, 58vw, 860px);
  }
  .identity__name {
    margin-top: -170px;
  }
  .identity__signature {
    width: 200px;
  }
}
@media (max-width: 599px) {
  .sheet--identity {
    padding-top: 14px;
    padding-bottom: 68px;
  }
  .hero__toolbar {
    margin-bottom: 28px;
  }
  .portrait {
    height: min(133vw, 540px);
  }
  .portrait img {
    object-position: center 29%;
  }
  .identity__name {
    margin-top: -112px;
  }
  .identity__signature {
    width: 155px;
  }
  .identity__bio {
    margin-top: 28px;
  }
}

/* Hero controls and image layers */
.sheet--identity {
  padding-top: 0;
}
.sheet--identity::before {
  inset: -12% -10% 8%;
  background-position: center 25%;
  filter: blur(58px) saturate(0.72);
  opacity: 0.28;
  transform: scale(1.16);
}
.hero__toolbar {
  position: absolute;
  z-index: 10;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), 1040px);
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.identity {
  position: relative;
  z-index: 1;
}
.portrait {
  background-image: var(--hero-photo);
  background-position: center 28%;
  background-size: cover;
}
.portrait img {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 50%,
    rgba(0, 0, 0, 0.82) 72%,
    rgba(0, 0, 0, 0.28) 91%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 50%,
    rgba(0, 0, 0, 0.82) 72%,
    rgba(0, 0, 0, 0.28) 91%,
    transparent 100%
  );
}
.portrait::after {
  background: linear-gradient(
    to bottom,
    transparent 46%,
    rgba(237, 241, 244, 0.04) 64%,
    rgba(237, 241, 244, 0.44) 84%,
    var(--paper) 100%
  );
}
.identity__name {
  margin-top: -158px;
}
.identity__handle {
  margin-top: 10px;
}
.primary-social {
  margin-top: 24px;
}
.identity__bio {
  margin-top: 24px;
}

@media (min-width: 700px) {
  .hero__toolbar {
    top: 22px;
  }
  .identity__name {
    margin-top: -190px;
  }
  .primary-social {
    margin-top: 26px;
  }
}
@media (min-width: 1024px) {
  .sheet--identity::before {
    inset: -16% -14% 4%;
    filter: blur(72px) saturate(0.7);
    opacity: 0.25;
  }
  .hero__toolbar {
    top: 28px;
  }
  .identity__name {
    margin-top: -220px;
  }
}
@media (max-width: 599px) {
  .hero__toolbar {
    top: 14px;
  }
  .identity__name {
    margin-top: -148px;
  }
  .primary-social {
    margin-top: 22px;
  }
  .identity__bio {
    margin-top: 23px;
  }
}

/* Photographic transitions */
.portrait {
  overflow: visible;
  background: transparent;
}
.portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 34%;
  height: 145%;
  background-image: var(--hero-photo);
  background-position: center 28%;
  background-size: cover;
  filter: blur(34px) saturate(0.7);
  opacity: 0.34;
  transform: scale(1.08);
  border-radius: 0 0 48% 52% / 0 0 17% 20%;
  -webkit-mask-image: radial-gradient(
    ellipse 82% 72% at 50% 31%,
    #000 35%,
    rgba(0, 0, 0, 0.72) 67%,
    transparent 94%
  );
  mask-image: radial-gradient(
    ellipse 82% 72% at 50% 31%,
    #000 35%,
    rgba(0, 0, 0, 0.72) 67%,
    transparent 94%
  );
  pointer-events: none;
}
.portrait img {
  position: relative;
  z-index: 1;
}
.portrait::after {
  z-index: 2;
  background: linear-gradient(
    to bottom,
    transparent 44%,
    rgba(237, 241, 244, 0.025) 61%,
    rgba(237, 241, 244, 0.28) 82%,
    rgba(237, 241, 244, 0.7) 96%,
    var(--paper) 100%
  );
}
.identity__name {
  margin-top: -138px;
}
.identity__signature {
  filter: url(#signature-pigment) brightness(0) saturate(100%) invert(28%)
    sepia(13%) saturate(1012%) hue-rotate(145deg) brightness(86%) contrast(89%)
    drop-shadow(0 0 0.55px rgba(190, 211, 214, 0.42))
    drop-shadow(0 0 1.6px rgba(112, 151, 157, 0.16));
}
.identity__handle {
  margin-top: 6px;
  font-weight: 700;
  color: #2a5960;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.58);
}

@media (min-width: 700px) {
  .identity__name {
    margin-top: -168px;
  }
}
@media (min-width: 1024px) {
  .identity__name {
    margin-top: -198px;
  }
}
@media (max-width: 599px) {
  .identity__name {
    margin-top: -128px;
  }
  .identity__handle {
    margin-top: 6px;
  }
}

/* Page colors and floating controls */
.sheet--identity {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  background: var(--page-bg);
  padding-bottom: clamp(68px, 10vw, 112px);
}
.sheet--links {
  background: var(--page-bg);
}
.portrait::before {
  top: 28%;
  height: 178%;
  filter: blur(42px) saturate(0.66);
  opacity: 0.4;
  transform: scale(1.12);
  -webkit-mask-image: radial-gradient(
    ellipse 88% 70% at 50% 30%,
    #000 28%,
    rgba(0, 0, 0, 0.7) 62%,
    transparent 95%
  );
  mask-image: radial-gradient(
    ellipse 88% 70% at 50% 30%,
    #000 28%,
    rgba(0, 0, 0, 0.7) 62%,
    transparent 95%
  );
}
.portrait img {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 46%,
    rgba(0, 0, 0, 0.88) 67%,
    rgba(0, 0, 0, 0.52) 84%,
    rgba(0, 0, 0, 0.12) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 46%,
    rgba(0, 0, 0, 0.88) 67%,
    rgba(0, 0, 0, 0.52) 84%,
    rgba(0, 0, 0, 0.12) 96%,
    transparent 100%
  );
}
.portrait::after {
  background: linear-gradient(
    to bottom,
    transparent 42%,
    rgba(237, 241, 244, 0.015) 61%,
    rgba(237, 241, 244, 0.16) 79%,
    rgba(237, 241, 244, 0.42) 91%,
    var(--page-bg) 100%
  );
}
.hero__toolbar {
  position: fixed;
  z-index: 30;
  top: calc(env(safe-area-inset-top) + 14px);
  left: 16px;
  right: 16px;
  width: auto;
  max-width: 1040px;
  margin: 0 auto;
  opacity: var(--control-opacity, 1);
  filter: blur(var(--control-blur, 0px));
  transform: translateY(var(--control-lift, 0px));
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    filter 0.18s ease;
}
.hero__toolbar--hidden {
  pointer-events: none;
}

@media (min-width: 700px) {
  .sheet--identity {
    min-height: 100svh;
  }
  .portrait::before {
    filter: blur(50px) saturate(0.64);
    opacity: 0.36;
  }
  .portrait::after {
    background: linear-gradient(
      to bottom,
      transparent 42%,
      rgba(237, 241, 244, 0.015) 62%,
      rgba(237, 241, 244, 0.18) 80%,
      rgba(237, 241, 244, 0.44) 92%,
      var(--page-bg) 100%
    );
  }
}
@media (min-width: 1024px) {
  .portrait::before {
    filter: blur(62px) saturate(0.62);
    opacity: 0.32;
  }
  .hero__toolbar {
    top: calc(env(safe-area-inset-top) + 20px);
    left: 48px;
    right: 48px;
  }
}
@media (max-width: 599px) {
  .hero__toolbar {
    top: calc(env(safe-area-inset-top) + 12px);
  }
}

/* Scroll effects and identity lockup */
.identity-lockup {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: -138px;
}
.identity-lockup::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 54%;
  left: 50%;
  width: clamp(190px, 28vw, 232px);
  height: 112px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      ellipse 70% 52% at 38% 42%,
      rgba(32, 63, 68, 0.34) 0%,
      rgba(32, 63, 68, 0.16) 46%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 54% 42% at 66% 64%,
      rgba(32, 63, 68, 0.24) 0%,
      rgba(32, 63, 68, 0.1) 48%,
      transparent 82%
    );
  filter: blur(34px);
  opacity: 0.78;
  pointer-events: none;
}
.identity__name {
  margin-top: 0;
}
.identity__handle {
  margin-top: 6px;
}
.portrait::before {
  transform: translateY(var(--hero-blur-shift, 0px)) scale(1.12);
  opacity: 0.38;
  filter: blur(44px) saturate(0.64);
}

@media (min-width: 700px) {
  .identity-lockup {
    margin-top: -168px;
  }
  .portrait::before {
    filter: blur(52px) saturate(0.62);
  }
}
@media (min-width: 1024px) {
  .identity-lockup {
    margin-top: -198px;
  }
  .portrait::before {
    filter: blur(64px) saturate(0.6);
  }
}
@media (max-width: 599px) {
  .identity-lockup {
    margin-top: -128px;
  }
  .portrait::before {
    filter: blur(40px) saturate(0.66);
  }
}

/* Hero atmosphere */
.hero-blur-layer {
  top: clamp(180px, 35vw, 360px);
  height: clamp(760px, 78vw, 1040px);
  filter: blur(58px) saturate(0.66) contrast(0.8);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.34) 8%,
    rgba(0, 0, 0, 0.78) 23%,
    #000 40%,
    rgba(0, 0, 0, 0.78) 69%,
    rgba(0, 0, 0, 0.28) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.34) 8%,
    rgba(0, 0, 0, 0.78) 23%,
    #000 40%,
    rgba(0, 0, 0, 0.78) 69%,
    rgba(0, 0, 0, 0.28) 88%,
    transparent 100%
  );
}
.footer__edited {
  margin-top: 4px;
  color: rgba(242, 245, 244, 0.46);
  font-size: 0.7rem;
  letter-spacing: 0.01em;
}

/* Bitmoji controls: size in CSS pixels; its PNG ratio is exactly 3:4. */
.sheet--footer {
  --bitmoji-size-mobile: 136px; /* Mobile rendered width, increased about 20%. */
  --bitmoji-size-desktop: clamp(
    224px,
    23.66vw,
    298px
  ); /* Desktop rendered width, increased about 30%. */
  --bitmoji-offset-mobile: calc(
    100% - 75px
  ); /* Increase this bottom value to move it up; decrease it to move it down. */
  --bitmoji-offset-desktop: calc(
    100% - 127px
  ); /* Increase this bottom value to move it up; decrease it to move it down. */
  --bitmoji-flow-height-mobile: 181px;
  --bitmoji-flow-height-desktop: clamp(298px, 31.55vw, 397px);
  --bitmoji-overlap-mobile: 40px;
  --bitmoji-overlap-desktop: 56px;
  --bitmoji-clearance-mobile: 18px;
  --bitmoji-clearance-desktop: 24px;
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: visible;
  margin-top: calc(
    var(--bitmoji-flow-height-mobile) - var(--bitmoji-overlap-mobile) +
      var(--bitmoji-clearance-mobile)
  );
}
.footer__bitmoji {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: var(--bitmoji-offset-mobile);
  width: var(--bitmoji-size-mobile);
  height: auto;
  max-width: calc(100vw - 48px);
  pointer-events: none;
}
.footer {
  position: relative;
  z-index: 2;
}

@media (min-width: 700px) {
  .sheet--footer {
    margin-top: calc(
      var(--bitmoji-flow-height-desktop) - var(--bitmoji-overlap-desktop) +
        var(--bitmoji-clearance-desktop)
    );
  }
  .footer__bitmoji {
    right: clamp(44px, 8vw, 112px);
    bottom: var(--bitmoji-offset-desktop);
    width: var(--bitmoji-size-desktop);
  }
}

@media (min-width: 601px) {
  .hero-blur-layer {
    top: clamp(280px, 35vw, 430px);
    height: clamp(800px, 70vw, 1040px);
  }
}

/* Blurred photo continuation */
.sheet--identity {
  min-height: 0;
  overflow: visible;
}
.sheet--identity::before {
  display: none;
}
.hero-blur-layer {
  position: absolute;
  z-index: 0;
  top: clamp(300px, 42vw, 520px);
  left: 0;
  width: 100%;
  max-width: none;
  height: clamp(620px, 70vw, 960px);
  object-fit: cover;
  object-position: center 30%;
  filter: blur(58px) saturate(0.68) contrast(0.82);
  opacity: 0.46;
  transform: translate3d(0, var(--hero-blur-shift, 0px), 0) scaleY(1.12);
  transform-origin: 50% 0;
  will-change: transform;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 13%,
    #000 39%,
    rgba(0, 0, 0, 0.78) 68%,
    rgba(0, 0, 0, 0.3) 87%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 13%,
    #000 39%,
    rgba(0, 0, 0, 0.78) 68%,
    rgba(0, 0, 0, 0.3) 87%,
    transparent 100%
  );
}
.portrait {
  z-index: 1;
}
.portrait::after {
  display: none;
}
.identity-lockup,
.primary-social,
.identity__bio {
  z-index: 2;
}

/* Neutral upper atmosphere */
.portrait::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: clamp(150px, 18vw, 220px);
  background-image: var(--hero-photo);
  background-position: center 29%;
  background-size: cover;
  filter: grayscale(0.72) saturate(0.18) contrast(0.76) brightness(1.06)
    blur(48px);
  opacity: 0.86;
  transform: scaleY(1.08);
  pointer-events: none;
  will-change: transform, filter;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.78) 16%,
    rgba(0, 0, 0, 0.6) 34%,
    rgba(0, 0, 0, 0.28) 58%,
    transparent 78%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.78) 16%,
    rgba(0, 0, 0, 0.6) 34%,
    rgba(0, 0, 0, 0.28) 58%,
    transparent 78%
  );
}

@media (max-width: 600px) {
  .sheet--identity {
    min-height: 100svh;
  }
}
@media (min-width: 601px) {
  .sheet--identity {
    min-height: 0;
  }
  .hero-blur-layer {
    top: clamp(420px, 42vw, 560px);
    height: clamp(680px, 62vw, 940px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blur-layer {
    transform: translate3d(0, 0, 0) scaleY(1.12);
    will-change: auto;
  }
}

/* Mobile transition tuning */
.hero-blur-layer {
  top: clamp(180px, 35vw, 360px);
  height: clamp(760px, 78vw, 1040px);
  filter: blur(58px) saturate(0.66) contrast(0.8);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.34) 8%,
    rgba(0, 0, 0, 0.78) 23%,
    #000 40%,
    rgba(0, 0, 0, 0.78) 69%,
    rgba(0, 0, 0, 0.28) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.34) 8%,
    rgba(0, 0, 0, 0.78) 23%,
    #000 40%,
    rgba(0, 0, 0, 0.78) 69%,
    rgba(0, 0, 0, 0.28) 88%,
    transparent 100%
  );
}
@media (max-width: 600px) {
  .hero-blur-layer {
    top: clamp(48px, 12vw, 88px);
    height: clamp(560px, 145vw, 760px);
    filter: blur(72px) saturate(0.35) contrast(0.72) brightness(1.08);
    opacity: 0.76;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.16) 7%,
      rgba(0, 0, 0, 0.5) 16%,
      rgba(0, 0, 0, 0.86) 29%,
      #000 46%,
      rgba(0, 0, 0, 0.88) 67%,
      rgba(0, 0, 0, 0.5) 84%,
      rgba(0, 0, 0, 0.16) 94%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.16) 7%,
      rgba(0, 0, 0, 0.5) 16%,
      rgba(0, 0, 0, 0.86) 29%,
      #000 46%,
      rgba(0, 0, 0, 0.88) 67%,
      rgba(0, 0, 0, 0.5) 84%,
      rgba(0, 0, 0, 0.16) 94%,
      transparent 100%
    );
  }
  .portrait img {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 38%,
      rgba(0, 0, 0, 0.96) 48%,
      rgba(0, 0, 0, 0.7) 61%,
      rgba(0, 0, 0, 0.28) 75%,
      transparent 89%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 38%,
      rgba(0, 0, 0, 0.96) 48%,
      rgba(0, 0, 0, 0.7) 61%,
      rgba(0, 0, 0, 0.28) 75%,
      transparent 89%
    );
  }
  .portrait::before {
    height: clamp(100px, 27vw, 145px);
    filter: grayscale(0.76) saturate(0.15) contrast(0.72) brightness(1.08)
      blur(58px);
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.84) 18%,
      rgba(0, 0, 0, 0.72) 38%,
      rgba(0, 0, 0, 0.48) 58%,
      rgba(0, 0, 0, 0.18) 78%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.84) 18%,
      rgba(0, 0, 0, 0.72) 38%,
      rgba(0, 0, 0, 0.48) 58%,
      rgba(0, 0, 0, 0.18) 78%,
      transparent 100%
    );
  }
}
@media (min-width: 601px) {
  .hero-blur-layer {
    top: clamp(280px, 35vw, 430px);
    height: clamp(800px, 70vw, 1040px);
  }
}

/* Signature and glass controls */
.sheet--other .section-heading {
  color: #f1f3f2;
  background-color: #2a3032;
  background-image: var(--grain);
  background-blend-mode: soft-light;
  border-radius: 20px 20px 0 0;
}
.sheet--other .section-index {
  display: none;
}
.identity__signature {
  width: min(100%, 196px);
  animation: identity-signature-arrival 0.82s cubic-bezier(0.22, 0.8, 0.24, 1) 1
    both;
}
@keyframes identity-signature-arrival {
  from {
    opacity: 0;
    transform: translate3d(-12px, 12px, 0) scale(0.975);
  }
  to {
    opacity: 0.96;
    transform: none;
  }
}
.hero__web,
.hero__share {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  min-width: 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  appearance: none;
  -webkit-appearance: none;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.hero__web {
  display: grid;
  place-items: center;
}
.hero-control__optical {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: var(--hero-optical-width, 100vw);
  height: var(--hero-optical-height, 100vh);
  max-width: none;
  object-fit: cover;
  object-position: center 29%;
  opacity: 0.3;
  transform: translate3d(
      var(--hero-optical-x, 0px),
      var(--hero-optical-y, 0px),
      0
    )
    scale(1.025);
  transform-origin: center;
  filter: blur(0.28px) saturate(1.06);
  filter: url(#liquid-refraction) blur(0.28px) saturate(1.06);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    transparent 28%,
    rgba(0, 0, 0, 0.18) 52%,
    rgba(0, 0, 0, 0.72) 78%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse at center,
    transparent 28%,
    rgba(0, 0, 0, 0.18) 52%,
    rgba(0, 0, 0, 0.72) 78%,
    #000 100%
  );
  will-change: transform, filter;
  pointer-events: none;
}
.hero__web::after,
.hero__share::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top-color: rgba(255, 255, 255, 0.18);
  border-left-color: rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025);
  pointer-events: none;
}
.hero__web > img:not(.hero-control__optical),
.hero__share svg {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
}
.hero__web > img:not(.hero-control__optical) {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.24));
}
.hero__share svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.24));
}
.hero__web:hover,
.hero__share:hover,
.hero__web:focus-visible,
.hero__share:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}
.hero__web:active,
.hero__share:active,
.primary-social__link:active {
  transform: scale(0.96);
  box-shadow:
    0 3px 12px rgba(35, 49, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}
@media (min-width: 700px) {
  .hero-control__optical {
    object-position: center 28%;
  }
}
.primary-social__link {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.identity__handle {
  position: relative;
  z-index: 3;
  display: block;
  margin-top: 8px;
  color: #171715;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 13vw, 6.6rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.45);
}
.identity__handle:hover {
  color: #171715;
}
.identity__handle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.primary-social__link--dark-icon {
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 10px 24px rgba(22, 34, 30, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.3);
}
.primary-social__link--dark-icon img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}
.primary-social__link--dark-icon:has(img[src$="instagram.svg"]) img {
  width: 29px;
  height: 29px;
  filter: brightness(0) invert(1);
}
.primary-social__link--dark-icon:hover,
.primary-social__link--dark-icon:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
}
.primary-social__link--dark-icon:has(img[src$="spotify.svg"]) {
  background: #626a70;
}
.primary-social__link--dark-icon:has(img[src$="github.svg"]) {
  background: #30343b;
}
.primary-social__link--dark-icon:has(img[src$="x.svg"]) {
  background: #111111;
}
.primary-social__link--dark-icon:has(img[src$="instagram.svg"]) {
  background: linear-gradient(145deg, #252629, #929292e8);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}
.primary-social__link--dark-icon:has(img[src$="spotify.svg"]):hover,
.primary-social__link--dark-icon:has(img[src$="spotify.svg"]):focus-visible {
  background: #076e36;
}
.primary-social__link--dark-icon:has(img[src$="github.svg"]):hover,
.primary-social__link--dark-icon:has(img[src$="github.svg"]):focus-visible {
  background: #30343b;
}
.primary-social__link--dark-icon:has(img[src$="x.svg"]):hover,
.primary-social__link--dark-icon:has(img[src$="x.svg"]):focus-visible {
  background: #111111;
}
.primary-social__link--dark-icon:has(img[src$="instagram.svg"]):hover,
.primary-social__link--dark-icon:has(img[src$="instagram.svg"]):focus-visible {
  background: linear-gradient(145deg, #cb72d5, #b90072);
}
.identity__signature {
  width: clamp(240px, 58vw, 380px);
  filter: brightness(0) saturate(100%)
    drop-shadow(0 2px 1px rgba(17, 27, 29, 0.14))
    drop-shadow(0 7px 14px rgba(17, 27, 29, 0.08));
}
.identity-lockup::before {
  background:
    radial-gradient(
      ellipse 70% 52% at 38% 42%,
      rgba(38, 40, 42, 0.3) 0%,
      rgba(38, 40, 42, 0.14) 46%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 54% 42% at 66% 64%,
      rgba(38, 40, 42, 0.22) 0%,
      rgba(38, 40, 42, 0.08) 48%,
      transparent 82%
    );
}
.primary-social__link--dark-icon {
  border-radius: 11px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 7px 18px rgba(13, 17, 21, 0.2);
  transform: translateY(0);
  transition:
    transform 180ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 180ms ease,
    filter 180ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.primary-social__link--dark-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.11),
    transparent 52%,
    rgba(0, 0, 0, 0.08)
  );
  pointer-events: none;
}
.primary-social__link--dark-icon img {
  position: relative;
  z-index: 1;
  filter: brightness(0) invert(1)
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
  transition: transform 180ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.primary-social__link--dark-icon:hover {
  box-shadow: 0 10px 22px rgba(13, 17, 21, 0.24);
  transform: translateY(-2px);
}
.primary-social__link--dark-icon:hover img {
  transform: scale(1.06);
}
.primary-social__link--dark-icon:active {
  box-shadow: 0 3px 8px rgba(13, 17, 21, 0.18);
  transform: translateY(1px) scale(0.97);
  filter: brightness(0.94);
  transition-duration: 80ms;
}
.primary-social__link--dark-icon:active img {
  transform: scale(0.94);
}
.primary-social__link--dark-icon:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}
@media (min-width: 700px) {
  .identity__signature {
    width: 209px;
  }
}
@media (min-width: 1024px) {
  .identity__signature {
    width: 220px;
  }
}
@media (max-width: 599px) {
  .identity__signature {
    width: 171px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .identity__signature {
    animation: none;
    opacity: 0.96;
    transform: none;
  }
}

/* Account selector: retain the bottom sheet on mobile, widen it for desktop. */
.account-dialog__account {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.account-dialog__username {
  font-weight: 600;
}
.account-dialog__description {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
}

@media (min-width: 600px) {
  .account-dialog {
    inset: auto 50% 32px;
    width: min(760px, calc(100vw - 64px));
    max-width: 760px;
    transform: translate(-50%, 16px);
  }
  .account-dialog[open] {
    transform: translate(-50%, 0);
  }
  .account-dialog__panel {
    padding: 28px 32px;
  }
  .account-dialog__options {
    margin-top: 24px;
  }
  .account-dialog__option {
    padding: 18px 0;
  }
}

/* Keep hero scrolling compositor-friendly on phones and mid-range devices. */
.hero-blur-layer {
  filter: blur(24px) saturate(0.5) contrast(0.9);
  opacity: 0.34;
  transform: none;
  will-change: auto;
}
.portrait::before {
  display: none;
}
.hero__toolbar {
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
  will-change: transform, opacity;
}
.hero__web,
.hero__share {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-control__optical {
  display: none;
}
.primary-social {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  margin-top: 0;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(224, 235, 242, 0.72);
  border-radius: 25px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 10px 24px rgba(36, 48, 57, 0.12),
    0 2px 5px rgba(36, 48, 57, 0.07),
    inset 0 1px 0 rgba(249, 252, 254, 0.84),
    inset 0 -1px 0 rgba(64, 79, 89, 0.12);
}
.primary-social::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 1px;
  left: 12%;
  width: 76%;
  height: 42%;
  border-radius: inherit;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255, 255, 255, 0.42),
    rgba(255, 255, 255, 0.08) 62%,
    transparent 100%
  );
  filter: blur(7px);
  pointer-events: none;
}
.primary-social__link {
  z-index: 1;
}
.hero__web,
.hero__share {
  border: 1px solid rgba(220, 233, 241, 0.42);
  border-radius: 16px;
  background: linear-gradient(
    150deg,
    rgba(232, 240, 245, 0.38),
    rgba(116, 132, 143, 0.22)
  );
  box-shadow:
    0 8px 20px rgba(13, 23, 30, 0.2),
    0 2px 5px rgba(13, 23, 30, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(12, 21, 27, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}
.hero__web::after,
.hero__share::after {
  inset: 1px;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.17),
    transparent 56%,
    rgba(8, 15, 20, 0.08)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.hero__web:hover,
.hero__share:hover,
.hero__web:focus-visible,
.hero__share:focus-visible {
  border-color: rgba(232, 242, 248, 0.58);
  background: linear-gradient(
    150deg,
    rgba(245, 249, 252, 0.48),
    rgba(137, 153, 164, 0.3)
  );
  box-shadow:
    0 11px 24px rgba(13, 23, 30, 0.23),
    0 3px 7px rgba(13, 23, 30, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(12, 21, 27, 0.12);
  transform: translateY(-1px);
}
.hero__web:active,
.hero__share:active {
  box-shadow:
    0 2px 6px rgba(13, 23, 30, 0.18),
    inset 0 2px 4px rgba(12, 21, 27, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(1px) scale(0.97);
  transition-duration: 70ms;
}
.link {
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 180ms cubic-bezier(0.2, 0.75, 0.25, 1),
    background-color 220ms ease,
    padding 220ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 220ms ease;
}
.link__icon {
  transition: transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.link__arrow {
  transition:
    transform 240ms cubic-bezier(0.2, 0.75, 0.25, 1),
    color 180ms ease;
}
.link:hover .link__icon,
.link:focus-visible .link__icon {
  transform: scale(1.08);
}
.link:active {
  transform: scale(0.985);
  background-color: rgba(38, 48, 54, 0.07);
  transition-duration: 80ms;
}
.account-dialog {
  overscroll-behavior: contain;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 280ms cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1),
    display 280ms allow-discrete,
    overlay 280ms allow-discrete;
}
.account-dialog[open] {
  transform: translateY(0) scale(1);
}
.account-dialog::backdrop {
  background: rgba(21, 36, 42, 0.34);
  backdrop-filter: blur(12px);
  transition:
    background-color 280ms ease,
    backdrop-filter 280ms ease,
    display 280ms allow-discrete,
    overlay 280ms allow-discrete;
}
@starting-style {
  .account-dialog[open] {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  .account-dialog[open]::backdrop {
    background: rgba(21, 36, 42, 0);
    backdrop-filter: blur(0);
  }
}
.account-dialog__panel::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: rgba(43, 54, 60, 0.22);
  transform: translateX(-50%);
}
.account-dialog__close {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  min-width: 64px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  pointer-events: auto;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}
.account-dialog__close:hover,
.account-dialog__close:focus-visible {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}
.account-dialog__close:active {
  transform: scale(0.96);
}
.account-dialog__option {
  border-radius: 12px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.75, 0.25, 1),
    padding 180ms ease;
}
.account-dialog__option:hover,
.account-dialog__option:focus-visible {
  background: rgba(255, 255, 255, 0.38);
  transform: translateX(3px);
}
.account-dialog__option:active {
  transform: scale(0.985);
  transition-duration: 80ms;
}
.account-dialog[open] .account-dialog__option {
  animation: account-option-enter 360ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.account-dialog[open] .account-dialog__option:nth-child(2) {
  animation-delay: 45ms;
}
@keyframes account-option-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 600px) {
  .account-dialog {
    transform: translate(-50%, 24px) scale(0.97);
  }
  .account-dialog[open] {
    transform: translate(-50%, 0) scale(1);
  }
  @starting-style {
    .account-dialog[open] {
      transform: translate(-50%, 30px) scale(0.96);
    }
  }
  .account-dialog__panel::after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .link,
  .link__icon,
  .link__arrow,
  .account-dialog,
  .account-dialog::backdrop,
  .account-dialog__close,
  .account-dialog__option {
    animation: none;
    transition: none;
  }
}
@media (max-width: 600px) {
  .hero__toolbar {
    isolation: isolate;
  }
  .hero__toolbar::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: calc(0px - env(safe-area-inset-top, 0px) - 12px);
    right: -16px;
    left: -16px;
    height: calc(env(safe-area-inset-top, 0px) + 76px);
    background: linear-gradient(
      to bottom,
      rgba(218, 227, 233, 0.16),
      rgba(218, 227, 233, 0.04) 76%,
      transparent
    );
    backdrop-filter: blur(22px) saturate(1.04);
    -webkit-backdrop-filter: blur(22px) saturate(1.04);
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 84%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 84%,
      transparent 100%
    );
    pointer-events: none;
  }
}
.sheet--identity {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.identity__handle {
  width: fit-content;
  margin: auto;
  padding-block: 22px;
  font-size: clamp(3rem, 11.5vw, 5.9rem);
}
.identity__signature {
  width: clamp(230px, 54vw, 350px);
}
.identity__signature {
  transition: filter 250ms ease;
}

.identity__signature {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.identity__signature {
  --sig-hover-filter: brightness(0) saturate(100%)
    invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)
    drop-shadow(0 2px 1px rgba(17, 27, 29, 0.14))
    drop-shadow(0 7px 14px rgba(17, 27, 29, 0.08));

  filter: brightness(0) saturate(100%)
    invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)
    drop-shadow(0 2px 1px rgba(17, 27, 29, 0.14))
    drop-shadow(0 7px 14px rgba(17, 27, 29, 0.08));
  transition: filter 300ms ease;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.identity__signature:active,
.identity__signature:focus-visible {
  filter: var(--sig-hover-filter);
}

@media (hover: hover) {
  .identity__signature:hover {
    filter: var(--sig-hover-filter);
  }
}